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.
Questions tagged [cascade-classifier]
170 questions
0
votes
1 answer
Which function should I use to load the xml file generated by traincascade in openCV?
I have 1300+ positive images and 20000+ negative images.
My positive images are of size 1080*1920 but I create samples with them to 45*45:
opencv_createsamples -vec pos.vec -info posdata.txt -bg negdata.txt -w 45 -h 45 -num 1152
Then when I use…

akanarika
- 3
- 2
0
votes
2 answers
Memory leaking using OpenCV CascadeClassifier
I'm writing a program that uses PCL kinfu and I'm using openCV face detection. I had some heap problems so I isolated the openCV's code to try and check if the problem is over there. After commenting out almost everything, I came across something…

orizis
- 166
- 2
- 15
0
votes
1 answer
Solution for object detectors that are far worse than object classifiers
I've built a classifier that has high accuracy in classifying certain objects of interest, given images that focus only on those objects.
However, when this same classifier is applied to an object detector that scans a larger image using selective…

user961627
- 12,379
- 42
- 136
- 210
0
votes
1 answer
What can I detect with the haar classifier?
Lets say I want to train the cascade to recognize one object, but this object has different shapes. For example if I want to recognize a cup. You know there are cups in many shapes but also they have their similarities. Or another example: a…

dephinera
- 3,703
- 11
- 41
- 75
0
votes
1 answer
how to disable the need of sqsum when calling opencv's cv::integral() function?
I want to call cv::integral() function, located at sumpixels.cpp .
I'm not using the integral image calculated for the square sum (3d argument - OutputArray _sqsum) , and would like to disable its calculation in order to save run time.
I'm not TOO…

brkeyal
- 1,317
- 1
- 16
- 22
0
votes
1 answer
Image classification using cascaded boosting in scikit-learn - why would classification terminate early?
I've pasted all my code here in case you'd need that to understand my question: Plotting a graph on axes but getting no results while trying to classify image based on HoG features
My question is: given approximately 500 images (the Caltech "Cars…

user961627
- 12,379
- 42
- 136
- 210
0
votes
0 answers
How to test trained classifiers for recognition
I have done some training already with OpenCV train_cascade. It went successfully. But i am wondering how can i test it without building a new app from scratch. 1. Are there any other application where can i put my classifier and can test a real…

Bandur
- 9
- 1
0
votes
1 answer
CascadeClassifier.load() error in release only
I want to ask about cascadeclassfier load doesn't work in release.
I using Microsoft Visual Studio 2010 and OpenCV 2.4.7.
my code:
CascadeClassifier cascade;
if(!cascade.load("D:/data/training.xml"))
{
printf("Error load XML!\n");
return…

Fifilia 萧慧
- 1
- 1
0
votes
2 answers
OpenCV XML Classifier
I'm trying to build a Traffic Sign Recognition application using OpenCV but I don't know how to start.
I have read about this and I found that I need to implement a Cascade Object Detector and train it using thousand of positive and negatives images…

Pric
- 15
- 2
- 5
0
votes
1 answer
Trying to create my Haartraining OpenCV
I'm trying to create my cascade classifier with this command:
haartraining -data haarcascade -vec samples.vec -bg negatives.dat -nstages 20 -nsplits 2 -minhitrate 0.999 -maxfalsealarm 0.5 -npos 1000 -nneg 600 -w 20 -h 20 -nonsym -mem 2048 -mode…

user2919607
- 143
- 1
- 6
-1
votes
1 answer
How to change Color of the Rectangle and Color of the Font in Bounding Box of an Detected Object
I want to ask how to change the color of Bounding Box and Font of a detected object when it is past a line. I am currently working on a project on human walking speed estimation by using Haar-cascade. The program works as such: the detected object…

Agil Calfarera
- 51
- 9
-1
votes
1 answer
Object detection with openCV cascade classifiers taking too much time
I am trying to do object detection from raspberry pi by getting frames from three webcam camera's attached to raspberry.
currently I have three types of objects which I want to detect so I trained three cascade classifiers as following .
…

whoosis
- 454
- 7
- 25
-1
votes
1 answer
What are the parameters for OpenCV cascade training for one object and black background
I'm trying to introduce an object with the OpenCv tool, but I did not do the cascade training.
My objects are one on the black background, and the negative ones are just black backgrounds.
Cascade does not recognize my object and focuses on the…

Enes Kasikci
- 1
- 2
-1
votes
1 answer
Need Haar Casscades for coins (especially euro ones)
I would need haar cascade classifier to detect coins, in particular euros, if they exists. I have been trying to generate my own for days bur results are always bad. Or maybe, do you know a good tutorial?
Thank you

SagittariusA
- 5,289
- 15
- 73
- 127
-1
votes
2 answers
haar classifier: XML file got from haar cascade
I used typical haar-cascade of OpenCV.
And setup stages as 5 in training process,but in xml & cascade folder only 3 stages were found.
Why I got fewer stages than expected?
Any solutions?

Lei Li
- 21
- 1
- 5