What are Stages in traincascade.exe?
We are using 125 positive test images and 250 negative images. How many stages we should put to train the classifier? What if we give 1 stage only?
View Articlecopy-pasted opencv code slower than precompiled code
Hello, for my project I need to modify the openCV class cv::cuda::HOG (I need to introduce support for CV_8UC3 and cellSize = (16,16)). At this stage I still don't wont to modify the openCV source...
View Articleoverfitting when training SVM for gender classfication
Hi, I'm using block-based uniform LBP as feature and training an SVM for gender clarification on face images. My 1st trained SVM model is computed from 1200 male face images and 500 female face...
View ArticlefindContours not working properply
I am using findContours on a simple white circle i created on a paint application with a black back ground. The problem is that while the tutorials tell me that there should be only one contour...
View ArticleContour approximation not working correctly
I have a white circle with black lines going from either side(as shown in the picture). The problem is that when I use the contour approx method, it just outputs points around the image. rather than a...
View ArticleWhat is the best compatible opencv version for Windows 8.1 on Visual Studio 2013
On my platform, some opencv functions such as houghcircle is not working properly. Please tell me the best opencv version for my platform.
View ArticleImage manipulation in parallel host threads with gpu
Still no answer: I have two object instances manipulating images in parallel threads on the host Each objects contains members gpu::GpuMat a; gpu::GpuMat b; gpu::GpuMat c; code is: gpu_mutex->lock...
View ArticleHOUGHCIRCLE generates strange numbers
I am working on detecting circles on an image and I am using the houghcircle function but the function generates so interesting numbers. I use VS-2013 for c++ ide and use 3.0 version opencv. Why why...
View ArticleYUY2 FORMAT VIDEO CAPTURE USING Open CV
Hi all, I have a trouble with Open CV in Capturing YUY2 Format from a HD 720p Webcam. The Webcam can Support Both MJPG and YUY2 Format. I want to grab only the YUY2 Format from the Webcam. I'm Using...
View ArticleOpencv3 introduction documentation
Hi, I would like to use the latest version of opencv. (I believe this is the documentation for opencv3 http://docs.opencv.org/master/index.html#gsc.tab=0) Could you please tell me where in the opencv...
View ArticleCannot build openCV 3 on Debian 8
I tried building opencv 3 on debian 8 and I can't Here are the details: 1. I have openCV 3 installed already(built it successfully earlier using the instructions given on the opencv.org installation...
View ArticleFind Centroid Of Objects In Binary Image
I would like to find centroid points for each objects in a binary image. How can I do?
View ArticleKnn using Java
Hi, I'm trying to implement a toy example using knn classification techniques in Java. //Here I create my training data Mat trainData = new Mat(new Size(4,6), CvType.CV_32F); for(int i =0; i
View ArticleVideoCapture segmentation fault
Hello everyone! i am trying to deploy application with opencv from ubuntu to windows. I have database of cameras with http url to connect them. Some of these Urls is NOT valid. On Ubuntu 15.10...
View ArticleFFT and Opencv
function fft_img = get_FFT() %Compute the FFT phase or Amplitude CtrlFigHdl = GetFigHdl('CtrlFig'); ToggleButtonAmpHdl = findobj(CtrlFigHdl, 'Tag', 'ToggleButtonAmp'); ToggleButtonPhaseHdl =...
View ArticleOpenCV 3 + x264 + FFmpeg
I've seen this post [here](http://answers.opencv.org/question/20436/opencvffmpegx264/), but I think I'm having a different problem with the said combo. Code: cv::VideoWriter...
View ArticleAdd red background color to image with openCV
Hello!!! I have to add a red (or other color) background with a previously uploaded image, someone could tell me how I can do this with openCV? In other words I must show the previously uploaded...
View ArticleCan someone help me to translate this line of code in java?
if (area >= 30 && std::abs(1 - ((double)rect.width / (double)rect.height)) <= 0.2 && std::abs(1 - (area / (CV_PI * std::pow(radius, 2)))) <= 0.2) What I want to be translated...
View ArticleOpenCV 3.0.0 - traincascade.exe : Traindata set for temp stage cannot be filled
Hi, So, I have 20 positive samples and 500 negative samples. I created the .vec file using createsample utility.Now, when i try to train the classifier using the traincascade.exe utility, I run into...
View ArticleInstallation OpenCV in Windows 8.1 with Visual 2015
Hello. Would you be so kind, could you advise me functional video tutorial please, because I didn't found any yet. I really need it for my school work. Thanks in advance. Rado
View Article