Ask Your Question
0

OpenCV Haar-training

asked Apr 6 '13

Shaky gravatar image

Need to detect Tiger faces in its natural habitat. Using inbuilt Haar-training (opencv_haartraining) feature to train the system but the performance is low. How to increase the hitrate while reducing the false alarm rate?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Apr 6 '13

More training and especially a better training of the background, by using more negatives is the first I should do. Secondly, try other classifiers, like SVM, random trees, ...

For more classifiers, check this link:

http://docs.opencv.org/modules/ml/doc/ml.html

Preview: (hide)

Comments

As the number of stages increases the hitrate as well as the false alarm rate increases. How to avoid this? Usage of 2200 negatives against 500 positives have been made, is that sufficient?? The OpenCV Haar training has an inbuilt cascade of weak classifiers with the Adaboost, how can we change this classifier?

Shaky gravatar imageShaky (Apr 7 '13)edit

Basically a cascade classifier is made with boosting, like adaBoost. If you want another classifier, you just need to build a new system yourself. Steps to follow are for example :

  1. Calculate feature points of the image (SIFT or SURF)

  2. Create descriptors around those feature points

  3. Store desccriptors in a codebook

  4. Create a SM classifier with this data

Basically you need to google these items and read, so that you understand what happens!

StevenPuttemans gravatar imageStevenPuttemans (Apr 7 '13)edit

Question Tools

Stats

Asked: Apr 6 '13

Seen: 574 times

Last updated: Apr 06 '13