Ask Your Question

How to generate HAAR cascade xml file for finger detection

asked 2013-03-26 02:35:17 -0600

wytmoon gravatar image

Hello there,

I'm trying to make a simple Android Camera app that integrates OpenCV Library to detect human fingers. Eventually, I would want that app to grow and support Camera detected hand gestures. But first I need to understand how to create my own HAAR cascade xml file for finger detection. I found this list of steps to do but I have the slightest idea where to start and what exactly to prepare and do. Can someone give advice?

Btw, the steps I mentioned above are as follows :
1. Creating the description file of positive samples
2. Creating the description file of negative samples
3. Packing the positive samples into a vec file
4. Training the classifier
5. Converting the trained cascade into a xml file
6. Using the xml file to detect the object

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-03-26 11:31:07 -0600

This took me exactly 5 seconds by just opening google and search for "haar classifier training opencv".

I am sure you could have found this yourself...

edit flag offensive delete link more



Yikes... sorry about that. I guess I relied too much on this forum that I didn't even try searching using Google. Really appreciate the link though and I will try to exhaust all other resources first before posting a question here. Once again, sorry for the very noob action there.

wytmoon gravatar imagewytmoon ( 2013-03-27 19:18:56 -0600 )edit

it was nothing personal :) Just be sure to actually look for your options before returning with a question to the question and answer region. People will gladly help out then.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-03-28 03:18:49 -0600 )edit

Question Tools


Asked: 2013-03-26 02:35:17 -0600

Seen: 16,822 times

Last updated: Mar 26 '13