Most efficient way to clear an image with C++ interface?
I'm currently porting my old OpenCV C code to the C++ interface of OpenCV 2/3 and I'm not quite sure about some equivalents for old functions. Pretty early I ran into an issue with cvZero. The only...
View ArticleRandom Forest - Vector subscript out range during training
I am trying OpenCV (3.0) random forest implementation for the first time. The forest->train always throws the "vector subscript out of range error". My code is here, cv::ml::RTrees::Params params =...
View ArticleAdding an user defined object to Mat Object
Anyone knows or have some sample code where a user defined object ( for example of a class myClassX) can be added to a mat Object. Example Something like this -> But definitely the below program is...
View ArticleHandling unknown scale in structure from motion initialization
I am trying to establish a structure from motion pipeline, and am struggling a bit regarding the initialization/bootstrapping of such a system, more specifically how to handle ambiguous scale...
View ArticleChain code in opencv
Can someone please guide me on how to extraction chain code feature from a hand contour polygon approximation.. I have seen that other people have...
View ArticleSimple OpenCV test generates blank image from tutorial
ALL, New to Python and OpenCV - trying to follow the tutorials. Created Python 2.7.11 environments (32b & 64b) with Miniconda Included numpy 1.10.4 & matplotlib 1.5.1 Added opencv (3.1.0)...
View ArticleOpenCV Error: Gpu API call (invalid device symbol) in buildPointList_gpu
Hi guys, I followed the instructions from here: http://elinux.org/Jetson/Installing_OpenCV With the exception that I built OpenCV v3.1 and also opencv_contrib. I could run the cpp samples - edges.cpp...
View Articleopencv in Mac using qt creator
Hi I am trying to install opencv in my mac system using qt creator. I have already tried every method to make it work. The opencv in properly installed and I can include the libraries in my program....
View ArticleHow to use CMT?
I want to use [CMT](https://github.com/gnebehay/CppMT). But I don't understand the program. Are there some examples only with web camera? I try to use the [libCMT](https://github.com/delmottea/libCMT)....
View ArticleOpenCV portable
I am trying to work on OpenCV to detect various objects The Problem is i can't use it independently but i have to use it independently. As it relies on many third party DLLs and lib. How and what can...
View ArticleForce UMat allocation on CPU?
[Documentation](https://software.intel.com/en-us/articles/opencv-30-architecture-guide-for-intel-inde-opencv) states that >The actual UMat data can be located in a> regular system memory,...
View ArticlefindContours when image is cut off (part of the object in the image)
I have the following image (many immages of that kind, backgroud vary from image to image, might be dark, or light)   1) Length 2) Breadth 3) Height 4) Diameter 5) Thread per inch. Any...
View ArticleCan anyone help me in face recognition using C#.net?
I am new in face recognition system. How can I install openCV and run it and use it with .net? Which camera can be best for recognition please suggest a model number.
View Article