System requirement for a face recognition system
Hi all, we are looking into implementing a system using face recognition from OpenCV. Now we are doing pre-study regarding and try to figure out the system requirements. Anyone could share some...
View ArticlePaste a Mat onto another Mat
Hi, I am creating an augmented reality app in android using opencv, In "onCameraFrame" before returning the Mat (which is the preview frame) i want to paste on it another smaller Mat, i am doing it...
View ArticleEvery thing works fine except for: CommandLineParser has no member named...
#include #include #include #include /// include most of core headers #include // include GUI-related headers using namespace cv; using namespace std; // OpenCV command line parser functions // Keys...
View ArticleEfficiently passing Mat object in different classes
I am currently doing a project which has around 6-7 classes and requires me to use an image across multiple classes. The project code that I am referring to write my own code , does it by saving the...
View ArticleTBB affecting HoughCircles?
I recently installed OpenCV via cmake with the option WITH_TBB=ON on a raspberry pi 3. The code I wanted to accalerate is basically a circle detection with HoughCircles. Unfortunately the CPU usage is...
View ArticleConcept of Cascade Classifier
I am trying to undrestand conceptually how does Cascade Classifier training works in OpenCV using LBP. I understand that AdaBoost is used for choosing weak classifiers and combining them to make a...
View ArticleAnother "new style getargs format but argument is not a tuple" question.
For me, I'm getting it with blank = cv2.line(blank,focus1,focus2,(255,0,0),5) I know this is something to do with a mismatch of types with the underlying library. But what should I be using exactly?...
View ArticleHow can I find out the latest OpenCV 3.1.0_x minor version number that is...
How can I find out the latest OpenCV 3.1.0_x minor version number that is currently available. I use MacPorts to install and I would like to know if there is a more recent version that 3.1.0_3.
View ArticleOpenCV Mat was overwritten unexpectedly when initializing another Mat
Test 1: BITMAP* input; //bitmap containing image data Mat _image(height, width, CV_8UC4, input); //convert Bitmap to Mat imwrite("0.jpg",_image); //write out the original input image Mat image =...
View ArticleWhat library is a function in?
Hi. I'm new to OpenCV, going through tutorials now. One thing I've not been able to find in the documentation is where to find the relation between a function/class and what library file it's in. is...
View ArticleHow to save multiple images in a "for" loop?
I need to save a lot of pictures in a "for" loop.I use python,imported opencv3.0.0 library already.
View ArticleOpenCV 3 DNN module - loading a tensorflow model?
Hi, I saw that there was a tutorial on loading Caffe models into OpenCV using the new DNN module from the contrib repo. Is there an equivilant way to load a tensorflow model? Any one working on it?...
View ArticleRead text file into mat
Hi, my text file contains 640 rows 480 columns of floating points. Id like to read them into a matrix and reshape at the end. But the code below only reads a single data per row. Help me edit the...
View ArticleHow to show OpenCV video in OpenGL window
Hello, I'm looking for the way to show in a openGL window the video signal that I'm capturing from my ip camera with openCV. The reason that I need this is, because when the openGL window is activated...
View Articleopencv :android application (unfortunately application has stopped )
I'm trying to run opencv android application from android studio to my phone (samsung s6) The build is successful in android studio , but when I run the app on my device this message is displayed (...
View Articledoubt about findContours - hiearchy
After reading the paper about the algorithm behind *findContours*, a doubt came up to me. During scans, when a new border point shows up, the parent border is decided according to a few criteria. If...
View Articleextract the parts of a blackberry (Rubus sp) leaf
Hi, I want to extract from a scan of a blackberry (Rubus sp) leaf the parts and theirs characteristic that is: - the length and the width of the leaflets - know which of the leaflets are the basals,...
View ArticleHey, so I was trying to import OpenCV into python...
Hey, so I was trying to import OpenCV into python, and when I do, it says no module named cv2 even though I installed it. Any ideas what might be going on?
View ArticleSVM load function opencv 3.1.0 python
Hi, I want to load a previously stored svm model but there is no load function in opencv 3.1.0. I saw this http://stackoverflow.com/questions/38990723/opencv-3-1-0-cannot-load-dat and...
View Articleload the existing svm with python
How can I load the existing svm in opencv3 by python?
View Article