Forums

Full Version: Cascade Classification for TVLHaarDetectObject
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want use TVLHaarDetectObject for detect object (b/w beacon)

TVLHaarDetectObject demands xml-file Cascade Classification.
How to create it?
What component allows to make it?
Whether there are examples?

Dave

Hi!

The HAAR-detection is based on the OpenCV library, to create these cascades you'll have to train them. For a description have a peek here http://note.sonots.com/SciSoftware/haartraining.html

There are some example-cascades included in de LabPacks\Demos\AVIFiles directory.

Regards,
Dave
Thanks.
I will try.
Sadly.
haartraining.exe practically isn't efficient.
And your analog isn't present?
Will have to try vc++ 6 + opencv Sad

Dave

The haartraining.exe is not the most user-friendly program i agree. You can of course go VC or make a GUI, whichever suits your needs best.

Regards,
Dave
The haartraining.exe is not working Smile
I try to force it to work though somehow. As a last resort it is possible to hang the Delphi application. And it will represent GUI.
It is a perversion unconditionally.

Dave

You might be missing a tiny little point here, it's a command-line utility.. So either run it from a command-prompt or create a batch-file that'll execute it.

Regards,
Dave
I have a local task. To do haarcascade for a set of "beacons". Advantages of a command line against comfort Smile
Some subtleties.
Paths in command line must be absolute.
Paths in negative.dat file must be relative!
Reference URL's