Answer the question
In order to leave comments, you need to log in
OpenCV: automatic generation of samples in createsamples and haartraining training
The cascade takes too long to train, i.e. for several days, nothing has changed and the training remained at the same level (in my case, level 6 out of the indicated 20):
haartraining.exe -data data\cascade -vec data\vector.vec -bg negative\infofile.txt -npos 500 -nneg 1466 -nstages 20 -mode ALL -mem 1000 -w 24 -h 24
createsamples.exe -vec data\vector.vec -img positive\img.bmp -bg negative\infofile.txt -num 500 -maxxangle 0.1 -maxyangle 0.1 -maxzangle 0.1 -w 24 -h 24
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question