FaceRecognizer interface - changes to 3.0.0
Downloaded the stable 3.0.0 release // Get the eigen data that is available Mat eigenvalues = face_model->getMat("eigenvalues"); Mat W = face_model->getMat("eigenvectors"); Mat mean =...
View Articleopencv3 Expectation Maximization Python getCovs
How do I use the `em.getCovs()` function in python with opencv3? def dictionary(descriptors, N): em = cv2.ml.EM_create() em.setClustersNumber(N) em.trainEM(descriptors) means = em.getMeans() covs =...
View Articlewhy the source code face detection that find from doc opencv dose'nt show any...
hi my code here (according of docs opencv) #include "opencv2/objdetect.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include #include using namespace std; using namespace cv; /*...
View ArticleHBitmap to Mat
Hello, I got a C++ code using OpenCV. Now I want to use this C++ code in a program implemented in C#. Now the proplem is to use an in c# acquired Image in c++. How can I do this? I need a function...
View ArticleHow to get luminosity from the camera Android ?
Is there a possibility to retrieve luminosity from camera at the current time?
View ArticleIssue with finding homography between two images
I have two cameras that are looking overhead at a square object, and I'd like to take the two images and combine them to get one image that is (approximately) representative of the overall area. The...
View ArticleHow do I use SimpleBlobDetection with Color?
Hi, Im trying to use the simpleBlobDetector for object tracking, but in all the information that I have looked for doesnt appear the parameters for Filtering by color. What parameters do i have to use...
View ArticleErrors with installing OpenCV 3.0.0 on Ubuntu 12.04.
Hi. I have no experience with OpenCV. I'm trying to install OpenCV on Ubuntu 12.04 but am encountering errors. To install OpenCV, I am following instructions at...
View ArticleHow to write the output image of an Opencv program in an excel sheet
Hi All, I'm working on Template matching program using OpenCV . I want to save the Result image in an excel sheet. How to call a excel sheet from a opencv program? Thanks, Manimaran
View ArticleWhat do the numbers in the descriptor matrix represent?
I am using the `xfeatures::SURF detectAndCompute()` function to pull out descriptors from an image. I see that the descriptors are stored in a Mat object. (`Mat descriptors`). On visually displaying...
View ArticleOpenCV Error: Assertion failed (s >= 0) in setSize when using...
Hi, I am trying to train my own classifier on linux with this command : opencv_traincascade -data training/ -vec petit_try.vec -bg neg.txt -numPos 4000 -numNeg 2000 -numStages 20 -precalcValBufSize...
View ArticleSpeed up mosaicing using only a part
Hi all! I'ma writing a program that make a mosaic from aerial videos. The obvious problem is that when the mosaic became larger, it takes more time to calculate feature. I've let run the program for 3...
View ArticleProblem with Harris corner detection on thinned image
A new problem in my software arises :) I got this input image, a skeletonized fingerprint  Then I am running Harris corner detection like in [this...
View ArticleHow to stabilize the camera tremor?
Hi every, I want to stabilize the camera shake on preview or after recording this video. that is if possible to treat it? Best Regards,
View ArticleGet [R|t] of two kinnect cameras
My aim is to determine the correct tranformation between the coordinate systems of two kinnect cameras, based on chessboard patterns. (the base unit would be meter) I am basicly using stereo_calib.cpp...
View ArticleWhy did OpenCV 3 change its documentation tool from sphinx to doxygen
Why did the OpenCV team decide to change its documentation tool from sphinx to doxygen? I like the sphinx generated documentation and thought OpenCV 2 had both nice online and printed documentation...
View ArticleIs it possible to create distinct Histogram bins from array
Hi i'm currently trying to match a large set of values with a template array. I was looking to just display any of the values which perfectly matched the array in a frequency histogram. I've tried this...
View ArticleIs dft() thread-safe?
Hi, I'm having some issues with dft() giving back arrays filled with NaN when called in a multi-threaded environment (tbb::parallel_for). The same code produces valid results when called in a...
View ArticleResult of cvtColor not displaying correctly for Lepoard Imaging USB 3.0 camera
Using the code below, I am getting images from a Leopard Imaging USB 3.0 camera. When I first tested the camera, the images were green. I looked on several forums and found that I needed to convert...
View ArticleMatch corresponding peaks/valleys of similar histograms
Hello, I'm currently working on a project where I have to compare similar histograms. These histograms are obtained from photos taken under different illumination conditions. I know that OpenCV offers...
View Article