OpenCV haar training for static image

Dmitriy Kudinov picture Dmitriy Kudinov · Nov 7, 2010 · Viewed 18.4k times · Source

I trying to train haar cascade classificator for card suite detection (which no rotation and has no distortion on image)

For example I have file Clubs.png which contents clubs image on white background 20x20 pixels

This tutorial is so tangled http://note.sonots.com/SciSoftware/haartraining.html

My image varies only in sizes, no distortion or angling.

Which commands I must enter in aim to get Clubs.xml file?

Answer

George Profenza picture George Profenza · Nov 19, 2010

As @Neon22 mentioned, great tutorial. From my experience, it's quite a lengthy process(collecting positive and negative samples, training, generating haar cascade), but then again maybe I was doing it wrong.

For detecting cards, it might be useful to have a look at OpenCV SURF as well.

OpenCV SURF

Check out toxi's video.

Funny you mention cards, Eugene Zatepyakin did an actionscript port called ASSURF:

ASSURF cards