Visual Neural Network recognizer that breaks up an image into digital image features (nose, mouth, etc) to improve accuracy in object recognition.
Questions tagged [haar-classifier]
412 questions
5
votes
1 answer
OpenCV HOG Descriptor Parameters
I am trying to detect people from a camera's feed using cv2.HOGDescriptor() and using their default people classifier.
The recognizer kinda works but I honestly am having an issue with understanding what values to assign to winStride, padding,scale…

eshirima
- 3,837
- 5
- 37
- 61
5
votes
2 answers
Where to get background/negative sample images for haar training?
I need a collection of sample images to train a Haar-based classifier for plate detection.
I know this question has been asked already, but the source on googlecode is dead.
http://tutorial-haartraining.googlecode.com/svn/trunk/data/negatives/
Where…

Anh-Tuan Mai
- 1,129
- 19
- 36
4
votes
0 answers
implementing object detection like openCV
I'm trying to implement the Viola-Jones algorithm for object detection using Haar cascades (like openCV's implementation) in C, to detect faces. I writing the C code in a Vivado HLS compatible way, so I can port the the implementation to an FPGA. My…

Human
- 726
- 8
- 27
4
votes
2 answers
Haar classifier parameters tuning
I am trying to train a haar classifier that detects legos faces in images but I have really hard time tuning the parameters.
I took pictures of 3 legos (50 pictures each) and using opencv I isolated their heads as 40x40 images.
Sample image is the…

gdaras
- 9,401
- 2
- 23
- 39
4
votes
1 answer
Face Features Detection Using OpenCV Haar-cascades
I am using Java with OpenCV Library to detect Face,Eyes and Mouth using Laptop Camera.
What I have done so far:
Capture Video Frames using VideoCapture object.
Detect Face using Haar-Cascades.
Divide the Face region into Top Region and Bottom…

Abdelrahman Wahdan
- 2,056
- 4
- 36
- 43
4
votes
1 answer
Detect symbols written on a whiteboard using OpenCV
I'm trying to detect shapes written on a whiteboard with a black/blue/red/green marker. The shapes can be circles, rectangles or triangles. The image can be found at the bottom of this post.
I'm using OpenCV as the framework for the image…

MortenGR
- 803
- 1
- 8
- 22
4
votes
4 answers
recognize holes with inserted plate
I have a lot of photos with tanks. Every tank has holes where shoul be inserted metal plate.
I need to find all holes without plate.
I tried to search circles by HoughCircles, used training haar classifier, but did not get an acceptable…

Linkorn
- 417
- 1
- 4
- 13
4
votes
1 answer
OpenCV: Good Training Output but Cascade Classifier is Poor
Very new to OpenCV, and trying my hand at training a haar classifier that can detect images of dogs from side-on. I have used this tutorial as a guide. The author suggests that a relatively effective classifier can be trained using a surprisingly…

rustyDog
- 146
- 2
- 9
4
votes
1 answer
OpenCV logo detection - What to use?
I want to create an Android application for logo detection. I want to ask you which approach would be better:
Using feature detector and extractor and then findHomography();
1.1 Which detector/extractor should I use? Is it necessary to use SURF …

dephinera
- 3,703
- 11
- 41
- 75
4
votes
0 answers
how to interpret haartraining results?
My haartraining program is currently running on my computer.
I am using 1700 positive samples, and about 1300 negative samples. I have run the following command line:
opencv_traincascade -data data -vec cars.vec -bg bg.txt -numStages 10 -nsplits 2…

Syf Illis
- 145
- 1
- 12
4
votes
1 answer
HAAR Classifier Clarification
I am trying to understand how haar classifiers work. I am reading the opencv documentation here: http://docs.opencv.org/modules/objdetect/doc/cascade_classification.html and it seems like you basically train a set of data to get something like a…

JustBlossom
- 1,259
- 3
- 24
- 53
4
votes
1 answer
Hand Detection Opencv
I am trying to detect hand using OpenCV and C++.
I am able to find the contour of the hand (Positive image) with person hand present in the image. Basically I am finding largest contour and consider it as hand contour. Lets say in the given image…

Rahul galgali
- 775
- 2
- 10
- 26
4
votes
2 answers
Infinite loop: Haar, LBP, HOG traincascade of opencv stuck
I am trying to build a classifier to detect faces in Thermal images. So I tried training using Haar, LBP and HOG classifiers. I am working with OpenCV 2.4.8 on windows.
opencv_traincascade.exe -data haarcascades -vec pos.vec -bg neg.txt -numPos…

aishpant
- 903
- 10
- 19
4
votes
0 answers
Train Cascade>>Opencv Error: Insufficient memroy (Failed to allocate 1569600004 bytes)
My training set has 500 positive images and 1000 negative images. My rig's memory capacity is 7.7GB and of which 31% is normally used. I tried to allocate about 4 GB for the training but it gets error. Strangely it says failed to allocate 1569600004…

Sgt. Pepper
- 177
- 11
4
votes
1 answer
Viola jones weak classifier explanation
I have been trying to understand the paper by viola n jones on face detection. I am not totally sure what this equation's parameters mean from section 3
h(x, f, p, theta) = 1 ; if pf(x) < p theta
What I understood was feature (f) is the value that…

Sgt. Pepper
- 177
- 11