Ask Your Question
0

opencv_traincascade old format problem

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

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
0

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

AgentCain gravatar image

Actually here's the solution http://code.opencv.org/issues/2387

edit flag offensive delete link more

Comments

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 -0600 )edit

Question Tools

Stats

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

Seen: 400 times

Last updated: Jun 22 '13