Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv_traincascade old format problem

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?