Questions tagged [cascade-classifier]

A particular case of Ensemble learning, which is based on the concatenation of several classifiers, using all information collected from the output from a given classifier as additional information for the next classifier in the cascade.

170 questions
1
vote
0 answers

Train Cascade Classifier For Detection Of Chair

I'm developing an android app to detect object like chairs and doors etc. For that I am using cascade classifier to train data.I have collected 1000 of positive sample for chair of various type and around 700 of negative sample contain image without…
1
vote
0 answers

Does OpenCV's Cascade classifier use multiple cores?

Recently I wrote my own modified version (single threaded CPU's code) of Cascade Classifier which uses OpenCV's XML file. I want to compare my bare VJ algorithm with OpenCV's. So I disabled OpenCL and when I run OpenCV's one it takes 19-23ms to…
BilguunCH
  • 51
  • 3
1
vote
1 answer

opencv_createsamples: Invalid background description file?

I'm trying to run create samples on Ubuntu 16.04 with OpenCV, and I keep coming across this error when it runs. I have about 1960 negative images that I'm trying to generate sample images from. What i'm running in the terminal is:…
1
vote
1 answer

cascade face detection C++ Opencv 3.0

I am trying to implement face detection mentioned in the tutorial http://docs.opencv.org/3.0-beta/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier I am using OpenCV 3.0 on Ubuntu 14.04. I downloaed the cascade…
1
vote
0 answers

Update Python bindings cv2.so after changing opencv source

I have modified the opencv cascade classifier's source code for object detection to incorporate new functionality. I made changes to the source code of opencv_createsamples and opencv_traincascade which are responsible for training the classifier.…
1
vote
0 answers

cascade classifier detectMultiScale with reject levels

I'm working on objects detection with cascade classifier on OpenCV 3.1 and VC++ 2015. I want to force the cascade to detect only one object for each image and I want to get its accuracy score. For that, I tried to use the undocumented prototype of…
Anis
  • 36
  • 4
1
vote
2 answers

Opencv_traincascade - After 5 stages - Train dataset for temp stage can not be filled. Branch training terminated

I've looked at this answer, that states that this problem might happen when the description files for the negative images is created with tools different from Opencv_createSamples, but this is not the case here. The break occurs somewhere between…
1
vote
1 answer

OpenCV Traincascade.exe crashes without output

This is my first attempt to use the cascade training mechanism of opencv. I am trying this based on a small image set of one positive and 3 negative images. I followed the instructions of the official opencv documentation. The negative images are…
Mthenn
  • 189
  • 1
  • 14
1
vote
1 answer

Opencv cascade classifier xml file generation

I followed this tutorial to generate the xml classifier file, http://abhishek4273.com/2014/03/16/traincascade-and-car-detection-using-opencv/ But I have many questions to clarify. for the cars.info(face.info), it's the exact position for positive…
printemp
  • 869
  • 1
  • 10
  • 33
1
vote
0 answers

opencv gpu cannot load feature type haar

I am trying to use opencv gpu based cascade classifier. Here is a snapshot where I try to load the cascade gpu::CascadeClassifier_GPU cascade_gpu; if(!cascade_gpu.load(HAARCASCADE_FRONTALFACE3)) return 0; I am getting the following error when I try…
user973743
  • 326
  • 1
  • 4
  • 19
1
vote
0 answers

Improving the accuracy on Haar Training with OpenCV binary

I've been using Haar Cascades and LBP cascades trained with the opencv_traincascade tool which is brilliant. I'd like to hear some purposes about how to generate a bigger database which in fact improves the accuracy. What I mean is: let's imagine…
Rafael Ruiz Muñoz
  • 5,333
  • 6
  • 46
  • 92
1
vote
2 answers

OpenCV 2.4.10 Face detection works with video but fails to detect in a static image

I'm using OpenCV's Cascade Classifier in order to detect faces. I followed the webcam tutorial, and I was able to use detectMultiScale to find and track my face while it was streaming video from my laptop's webcam. But when I take a photo of myself…
1
vote
1 answer

OpenCV Help - Error: no operator "=" Matches these operands. operand types are cv::Mat = IplImage*

I have recently started learning how to use OpenCV and i have been following the tutorials hosted by their website. I am using OpenCV 3.0, however, it seems some of the tutorial information is out of date. I and on the tutorial "Cascade Classifier"…
1
vote
1 answer

opencv cascade classifier detects background

I have been using cascade classifier to train some kind of plants. Here is a sample image for what I want to detect I sampled the little green plants for positives, and made negatives out of images with similar background and no green plants (as…
1
vote
1 answer

porting cascade model from Matlab to OpenCV

I'm currently designing an algorithm for car detection using Matlab. In order to do so, I'm using the cascade classifier tools provided by Matlab. By the end of the process, I'll get an xml file which contains my classifier model. I'd like to know…