Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

opencv_traincascade unhandeled exception

$
0
0
I am training a cascade classifier using opencv. I have 5 positive and 5 negative samples (this is for test on one image, if it will work i will use 500 good and 500 bag images). Their dimensions are 20 * 20 pixels. The code that I used to make the samples was: D:\learn\opencv_createsamples.exe -info D:\learn\Good.dat -vec D:\learn\samples.vec -w 20 -h 20 this is the traning code: D:\learn\opencv_traincascade.exe -data D:\learn\haarcascade -vec D:\learn\samples.vec -bg D:\learn\Bad.dat -numStages 16 -minhitrate 0.8 -maxFalseAlarmRate 0.2 -numPos 5 -numNeg 5 -w 20 -h 20 -mode ALL -precalcValBufSize 512 -precalcIdxBufSize 512 Then this application crashes and i see message with error on stage 1: ![image description](/upfiles/14453433534994724.jpg) Which of the arguments are wrong?

Viewing all articles
Browse latest Browse all 41027

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>