Ask Your Question
0

How to use the xml file from opencv_traincascade

asked 2013-04-11 12:34:47 -0600

Hi, I had worked with opencv_haartraining but it took days, then I tried with opencv_traincascade, there's a big improve in time, it just took few hours, but I don't know how use the xml file generated (cascade.xml) or its other xml files (stage0.xml -> stageN.xml). How did you make it work?? can you help me with this??

edit retag flag offensive close merge delete

Comments

BTW I have deleted the remark you gave in the other topic, since the solution is here.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-12 03:26:27 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-04-12 03:09:46 -0600

You only need the resulting cascade.xml file and read that in to your cascade detector. Please look at the following tutorial, replacing the xml file in it by the location of your own created file.

http://docs.opencv.org/doc/tutorials/objdetect/cascade_classifier/cascade_classifier.html#cascade-classifier

This is the next tutorial to follow once you have trained a model.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-11 12:34:47 -0600

Seen: 633 times

Last updated: Apr 12 '13