1 | initial version |
Hi, if you run "opencv_traincascade" with the "-baseFormatSave" flag, it will save it in the old format. To save it in the new format, just leave that flag out.
http://docs.opencv.org/doc/user_guide/ug_traincascade.html
===== Example export to old format =====
opencv_traincascade -data classifier -vec samples.vec -bg negatives.txt\ -numStages 20 -minHitRate 0.999 -maxFalseAlarmRate 0.5 -numPos 1000\ -numNeg 600 -w 80 -h 40 -mode ALL -precalcValBufSize 1024\ -precalcIdxBufSize 1024 -baseFormatSave
2 | No.2 Revision |
Hi, if you run "opencv_traincascade" with the "-baseFormatSave" flag, it will save it in the old format. To save it in the new format, just leave that flag out.
http://docs.opencv.org/doc/user_guide/ug_traincascade.html
===== Example export to old format =====
opencv_traincascade -data classifier -vec samples.vec -bg negatives.txt\ -numStages 20 -minHitRate 0.999 -maxFalseAlarmRate 0.5 -numPos 1000\ -numNeg 600 -w 80 -h 40 -mode ALL -precalcValBufSize 1024\ -precalcIdxBufSize 1024 -baseFormatSave
edit: this only works for HAAR feature detection