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
2
votes
0 answers

Android with Javacv error when running in Portrait mode

I am working on an Android application that has face detection feature. I am using javacv to achieve this. When I run the application in landscape mode it works fine. But when I run the application in the portrait mode, I get "OpenCV Error: Parsing…
2
votes
0 answers

Opencv haar training parameters : Mode & symmentry

I am using Opencv 3.0Before beginning training i wanted to set 'mode' parameter to 'all' below is the command line argument C:\OpenCV\build\x64\vc12\bin\opencv_traincascade.exe -data cascade -numStages 20 -vec samples.vec -bg NegativeSet.txt…
2
votes
2 answers

Opencv cascade classifier with SVM as weak learner

I'm working on a project related to people detection. I successfully implemented both an HOG SVM based classifier (with libSVM) and a cascade classifier (with opencv). The svm classifier works really good, i tested over a number of videos and it is…
Marco Maisto
  • 91
  • 2
  • 11
2
votes
1 answer

Haar/LBP cascades for mouth detection in profile faces

I am looking for openCV trained xml files of Haar or LBP cascades for mouth detection on profile faces. Using the available existing LBP cascades, I am able to detect faces but I want to know the location of the mouth/lips as well. I have googled…
2
votes
1 answer

error C2679: binary '=' : no operator found which takes a right-hand operand of type 'IplImage *' (or there is no acceptable conversion) OpenCV

Hi I am trying to use this code Cascade Classifier. I got the error in title. I am using VS 2013 and OpenCV 3.0. I am new and I don't understand why this code works for everybody except me? What is the way to fix it? Here error line: frame =…
ffttyy
  • 853
  • 2
  • 19
  • 49
2
votes
4 answers

OpenCV: training a cascade classifier

I am trying to train a cascade classifier using OpenCV, a tutorial & UIUC Image Database for Car Detection. However, the training 'hangs' at stage 0 and never generates any files; in the tutorial, results are seen in a matter of minutes. I am…
jkarimi
  • 1,247
  • 2
  • 15
  • 27
2
votes
0 answers

Why is there a difference between OpenCV's scale change implementation of detectMultiScale between the cascade classifier and HOGDescriptor?

I know the gist of how detectMultiScale in OpenCV works i.e. you have an image and a detection window; the image is scanned by a detection window and particular feature calculations are done on the pixels in the window at that particular instance to…
WhereToNow
  • 21
  • 4
2
votes
1 answer

Cascade classifier can't be trained. Check the used training parameters

I need to detect special image (something like symbol +) in scanned document. I'm going to train cascade using opencv_traincascade program (opencv 3.0) This is my file structure: C:\imgs\learn1 Bad 1.bmp .... Good …
kosbr
  • 388
  • 2
  • 11
2
votes
1 answer

Train cascade classifier

I got some questions about the training of a cascade classifier: On Some of my pictures half of the object is visible. Should I mark the visible part as region of interest, use the picture as negative sample or sort it out completely? Is the…
2
votes
1 answer

Import Cascade classifier from Matlab to OpenCV 3.0

I have a cascade classifier made with Matlab 2014b, but the XML file says it is only compatible with OpenCV 2.4. I need to use it with OpenCV 3.0. Any way to do this? Thank you
2
votes
1 answer

Can rectangular images be used for opencv haar training

I am sorry it seems a starting question but just wondering can i use rectangular dimensions for training opencv haar cascade. I tried with square samples and the resultant image was detected fine but when i tried with rectangular width and height as…
2
votes
1 answer

how to reduce wrong recognition using cascade classifier

Hello I'm tring to recognize a car using cascade classifier, android and opencv library. My problem is that my phone is marking almoust everything as a car. I've created my code based on: https://www.youtube.com/watch?v=WEzm7L5zoZE and face…
Fixus
  • 4,631
  • 10
  • 38
  • 67
2
votes
0 answers

Using Haar features for cascade object detector MATLAB

I am trying to use the vision.cascadeObjectDetector (MATLAB) to detect heads from a CCTV footage(and not faces). Till now, I have tried the following: Used vision.cascadeObjectDetector to detect faces. trained it to detect a sign (an example shown…
2
votes
0 answers

"ValueError: x and y must have same first dimension", error in plotting graph in pylab

I'm using this tutorial to build an Adaboost.SAMME classifier for object recognition, using HoG features. This is my code below, mostly only the top part is customized according to my problem, otherwise most of it is the same as in the tutorial.…
user961627
  • 12,379
  • 42
  • 136
  • 210
2
votes
1 answer

Can vision.cascadeObjectDetector calculate HOG, LBP features given a cascade.xml?

I have created a cascade.xml for detecting face images using the opencv_traincascade utility. I am using LBP or HOG feature based cascades since they are much faster. And I do all my testing on Matlab using vision.cascadeObjectDetector. But I am…
aishpant
  • 903
  • 10
  • 19
1 2
3
11 12