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 ArticleI 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 ArticleSeperate touching Objects
What is the best way to quickly seperate two close objects?  For example those two rectangles are so close, their shadows overlap and get very dark....
View ArticleBasic 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 Articlewebcam 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 ArticleORB Detector / ORB Extractor retrieve bad results
I'm trying to get similar results as in ...
View Articlebuilding 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 ArticleGetting 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 ArticleAccessing 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 Articleopencv 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 ArticleObject 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 Articlegeometric distortion correction for QR code image
Can anybody suggest how to do the geometric distortion correction for QR code image?
View ArticleRectangle 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 ArticleDivide 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 ArticleML: 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 ArticleCannot 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 Articlecmake 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 ArticleCuda 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 ArticleWhat 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 ArticleOpenCV 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