Answer the question
In order to leave comments, you need to log in
OpenCV: haartraining and memory leaks, what to do?
Actually prepared positive samples (about a hundred) and negative samples (two dozen). I generated vec files and was ready to start training the cascade, but that's bad luck.
haartraining -data haarcascade -vec samples.vec -bg negatives.dat -nstages 20 -nsplits 2 -minhitrate 0.999 -maxfalsealarm 0.5 -npos 97 -nneg 20 -w 180 -h 180 -nonsym -mem 512 -mode ALL
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