memory leak with VideoCapture
Hello, I was debuging my code when I saw a memory leak with VideoCapture. There you have the memory of my computer : it's go up realy fast http://i.imgur.com/wXtpKS0.png I tested this two code : while...
View ArticleOpencv 3.1 and Visual Studio 2015 (cannot open file 'opencv_calib3d310d.lib')
Hello there, I followed the [Installation by Using the Pre-built Libraries ](http://docs.opencv.org/3.1.0/d3/d52/tutorial_windows_install.html) article (I didn't make my Own Libraries from the Source...
View ArticleProcess image coming from a OpenGL rendering context
Hi all! I have an image coming from an OpenGL rendering context:  We have alpha background both inside and outside the black contour....
View ArticlePython's Numpy.transpose by axes equivalent for cv::Mat?
Hi there I'm trying to translate the below Python code that uses numpy arrays into C++ and use cv::Mat instead of numpy: def get_face_mask(im, landmarks): im = numpy.zeros(im.shape[:2],...
View ArticleIssue with meanStdDev() result and Mat channels
**meanStdDev()** is not giving the correct calculation of mean and standard. I want it to give mean/stdev for each corresponding column. The code follows, Mat_ C = (Mat_(2,6) << 1, 0, 3, 1, 0,...
View ArticleProblem with drawmatches()
Hi there, I making logo detection program that uses the SIFT method to detect a logo on image. The source code is [here](https://drive.google.com/open?id=0B7CADV0PAD_rcVpqR0p4amxwd0k). The folder with...
View ArticleConvert bmp to linear jpeg
Hello, I want to convert a bmp image to jpeg. But I want to be able to change the parameters of the jpeg image that is created. I want to use linear gamma, because i want to get linear jpeg in the...
View ArticleHow to install opencv with C++ bindings on raspberry pi?
I would like to install the opencv packages and libraries on the RPi 3. I have already installed cmake and i will be coding on codeblocks. Could someone explain as to how could one go about the opencv...
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 Articleneed help to change this code to live web cam streaming
Hello I followed this video(https://www.youtube.com/watch?v=Y3ac5rFMNZ0) and it was perfectly worked.. but when i change code for web cam capturing it only gets static image.. then i commented lines 54...
View Articlegetting unresolved external symbols Visual Studio 2015
I'm tring to build a solution that uses openCV. I'm now down to 12 errors in the link stage. What library would have the cv::String::allocate, cv::String::deallocate, and cv::Mat::Mat. What additional...
View ArticleHow to define a matrix with 5000 specific elements
Hello, I need to define a matrix M, M is 5000*2. In matlab, M=[1,45;89,3;....], it's not regular, so I can't define it in a loop. In my code I tried to define it like Mat M = (Mat_(num, 3) <<...
View ArticleNo Make file found
I need to install opencv extra modules.. so I followed the steps given :https://github.com/opencv/opencv_contrib I did: C:\Users\research lab>cd C:\opencv3.1\build C:\opencv3.1\build> cmake...
View Articletextdetection sample producing errors
i am trying o run the file textdetection.cpp file present[ here ](https://github.com/opencv/opencv_contrib/tree/master/modules/text/samples) .. i tried it with different images but every time an...
View ArticleHow to pass values to main function (vs2015,opencv,c++)
if i have downloaded the code from somewhere lets say its abc.cpp and its having main as : int main(int argc, char* argv[]) { Mat image; if (argc>1) image = imread(argv[1]); else { cout << "...
View ArticleGUI for OpenCv with visual studio
Hi I have implemented a code using C++ visual studio 2013, with external library: boost and opencv. Now I'm trying to make a simple graphical user interface for the OpenCv with visual studio. The GUI...
View ArticleDelaunay triangulation - edge flip?
I used this code: http://www.learnopencv.com/delaunay-triangulation-and-voronoi-diagram-using-opencv-c-python/ for Delaunay triangulation, now I'm trying to figure out how to flip edges like this:...
View ArticleProblem with compiling a code opencv2.4.9
It's been two weeks that I try with the installation of opencv2.4.9, tdm-gcc-5.1.0-3, cmake-2.8.12.2-win32-x86, and codeblocks 10.05. I want to modify the viola&jones code (Haartraining), but I...
View ArticleOpenCV Error: Bad argument (Default classifier file not found!)
I am trying to run textdetection.cpp present here OpenCV Error: Bad argument (Default classifier file not found!) in cv::text::ERClassifierNM1::ERClassifierNM1, file...
View Article