Problem about object in opencv
Hello everybody.
I am doing object detection project in open cv. Using opencv_traincascade.exe, i am trying to run this by giving argument for this in command line.But this is giving me runtime error.
here is the command (oprating system windows 7)
opencv_traincascade.exe -data C:\Users\Chan\project\train -vec C:\Users\Chan\project\img_p\abc.vec -bg C:\Users\Chan\project\img_n\bg.txt -numPos 5 -numNeg 3 -numStages 20 -precalcValBufSize 256 -precalcIdxBufSize 256 -stageType BOOST -featureType HAAR -w 24 -h 24 -bt DAB -minHitRate .99 -maxFalseAlarmRate 5 -weightTrimRate 0.95 -maxDepth 1 -maxWeakCount 1 -mode BASIC
What is your question? What is the error message?
-maxFalseAlarmRate 5
are the reason for all your errors. The value should be between 1 and 0. Probably a typo and you meant 0.5 as standard value. Also 5 positives and 3 negatives will get you nowhere. Please use more samples.