Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Browsing all 19555 articles
Browse latest View live
↧

module 'cv2' has no attribute 'createBackgroundSubtractorMOG'

I am using Python 3.5.1 and opencv 3.1.0. I am trying to use cv2.createBackgroundSubtractorMOG() method in Python. I get the following error when running the code : fgbg =...

View Article


I want to add opencv 2.4.5 to visual c++ 2008 but unable to do?

I have been trying to add opencv 2.4.5 to visual c++ 2008 but unable to do so .

View Article


Seperate touching Objects

What is the best way to quickly seperate two close objects? ![image description](/upfiles/14635747219571405.png) For example those two rectangles are so close, their shadows overlap and get very dark....

View Article

Basic operations on mat variable in android

Initially i used MATLAB for testing my logic and it works smoothly in matlab. But now i want to implement the same in android with help of OpenCV. I am looking for a way to simply access the individual...

View Article

webcam image capture focusing problem

Hi guys I have written a basic code which captures an image from webcam using python 2.7 . The code is as follows import numpy import cv2 cap = cv2.VideoCapture(0) ret, frame = cap.read()...

View Article


ORB Detector / ORB Extractor retrieve bad results

I'm trying to get similar results as in ![image description](http://docs.opencv.org/2.4/_images/Featur_FlannMatcher_Result.jpg)...

View Article

building error: opencv3.1 with VS2015, 64-bit, CMake 3.5.2

when I am building opencv 3.1 with VS2015, in my own build directory, I double click OpenCV.sln, and then build the INSTALL project. but I got many errors. Severity Code Description Project File Line...

View Article

Getting nan from multiplying cv::Mat 's

Hi. I have several images and I transformed them into a `cv::Mat` matrix and I named it `trainingMat` (each row represents an image). I have also a diagonal matrix named `R`. When I multiply...

View Article


Accessing Pixel Values of RAW 8 image

Hi all, Im using XIMEA camera and I am capturing RAW 8 images using OpenCV 3.1.0. Therefore my images are in gray scale. Ive read a lot in forums about how to access pixel values. When I use the...

View Article


opencv CRF(conditional random fields)

Hello, I want to use CRF on my project. But I cant find a method in opencv library for this. Is there a method for CRF?

View Article

Object Localization Using HoG (sklearn)

I am trying to localize number plate in an image. I am using HoG to extract the features and Linear SVM for the training purposes. I am using the sklearn library for the above purpose, however I can...

View Article

geometric distortion correction for QR code image

Can anybody suggest how to do the geometric distortion correction for QR code image?

View Article

Rectangle Detection - OpenCV 2.4.12

Hello everyone. I have tried [this tutorial](https://github.com/alyssaq/opencv), and unfortunately I didn't really get it. Can anyone tell/explain me how can I filter also the other rectangles from...

View Article


Divide Object In Blob.

Somebody can help me to solve this problem. I try this for showing in frame. Core.putText(mRgba, ":" +( "((" + mBlobColorRgba.val[0] + ", " + mBlobColorRgba.val[1] + ", " + mBlobColorRgba.val[2] + ",...

View Article

ML: weight on classifier SVM

I develop a classifier fusion project, i use two SVM classifier then classify the same image and i need to develop a majority weighted voting process. How i can calculate weight from result of both...

View Article


Cannot open .mov file using cv2.VideoCapture in Python on Windows

I'm unable to open a .mov file using the stock Python OpenCV bindings from the main Windows distribution. The file opens fine in ffmpeg: ffprobe version N-52045-g694fa00 Copyright (c) 2007-2013 the...

View Article

cmake 2.8.7 fails on master

I faced on build error on Ubuntu 12.04. on cmake stage. The error says CMake Error at CMakeLists.txt:608 (find_package): find_package called with invalid argument "CONFIG" I'm on master and my cmake...

View Article


Cuda support/headers?

Hello I installed OpenCV 3.1 from source and I'm trying to run some examples that use CUDA but I seem to not have the required headers. #include #include #include I used WITH_CUDA=ON...

View Article

What image format is best use for facial recognition?

What format is best use for facial recognition e.g. png, jpg, pgm ot another? i use opnecv methods LBPHFaceRecognizer, FisherFaceRecognizer and EigenFaceRecognizer.

View Article

OpenCV integration with Qt

**Version: opencv-3.1.0 Language : C++** Hello everyone, I have been having a reoccurring problem that is really slowing me down.. I'm new to C++ and really want to learn and get into openCV . I have...

View Article
Browsing all 19555 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>