Ask Your Question
0

GPU cascade classifier and cascade format

asked 2013-10-02 02:30:10 -0500

toni gravatar image

Hi,

In the OpenCV documentation I have come across the following statement, about loading cascade with GPU classifier:

"Only the old haar classifier (trained by the haar training application) and NVIDIA’s nvbin are supported for HAAR and only new type of OpenCV XML cascade supported for LBP."

Is this true or the documentation is simply outdated? I would try myself, but I am still waiting for my NVIDIA card so the question I am facing now is whether to tackle this problem until my card arrives.

If the statement is true, is there any simple way to convert a "new" cascade based on Haar features (trained with traincascade) into the old format cascade (trained with Haar training application)

Any other suggestions are much appreciated. Thanks in advance!

edit retag flag offensive close merge delete

Comments

I have the same question.. Were you able to convert the new training's cascade.xml into the old format?? Or did you find a work-around/alternative to this issue??

srao gravatar imagesrao ( 2014-05-15 08:15:12 -0500 )edit

I am in a similar situation where I would like to convert new cascade xml file to the old xml format. Were you able to resolve the issue?

hritzanimesh gravatar imagehritzanimesh ( 2014-10-30 10:34:40 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2015-08-14 11:40:27 -0500

xuemin gravatar image

when you run the opencv_traincascade command to create your .xml file, you can add the option of -baseFormatSave which will save your .xml file in old format. please see: http://docs.opencv.org/doc/user_guide...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-10-02 02:30:10 -0500

Seen: 1,421 times

Last updated: Oct 02 '13