Ask Your Question

opencv_traincascade old format problem

asked 2013-06-22 09:32:24 -0500

AgentCain gravatar image

Im trying to train a HAAR cascade using the new opencv_traincascade executable. Its also important that the file is compatible with the old cvhaardetectobjects, since I dont have the time to change the code. Using the old executable opencv_haartraining is not an option, since its buggy and slow (doesnt use parallel threads) There's a flag in opencv_traincascade which supposedly tells the training to use the old file format (-baseFormatSave) but using it doesn't produce exactly the same output .xml. It seems that the produced trees have more levels while the old format seems to have more trees.

Whats the problem?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-06-22 11:13:13 -0500

AgentCain gravatar image

Actually here's the solution

edit flag offensive delete link more


But this solution doesn't work. The old xml format is very different from the new format.

hritzanimesh gravatar imagehritzanimesh ( 2014-10-24 22:44:49 -0500 )edit

Question Tools


Asked: 2013-06-22 09:32:24 -0500

Seen: 254 times

Last updated: Jun 22 '13