Ask Your Question

diploma's profile - activity

2014-03-22 14:26:44 -0600 received badge  Supporter (source)
2014-03-19 13:52:23 -0600 commented question Silly question about opencv_traincascade.exe

Thanks for replies. I'm created a cascade by picking values, but not quite understand how it works :)

2014-03-19 03:08:22 -0600 asked a question Silly question about opencv_traincascade.exe

Given:

  • 1 positive sample in out.vec file

  • 5 negative samples - 5 jpg files in 'negative' directory

I tried start opencv_traincascade.exe with parameters below:

E:\OpenCV\opencv\build\x64\vc12\bin\opencv_traincascade.exe -data "E:\Dropbox\Diplom\haartraining-result" -vec "E:\Dropbox\Diplom\out.vec" -bg "E:\Dropbox\Diplom\negative\bg.txt" -numPos 1 -numNeg 5 -numStages 1 -featureType HAAR -w 64 -h 64 -precalcValBufSize 4092 -precalcIdxBufSize 4092

and get an error 'Cascade classifier can't be trained. Check the used training parameters.'

Which parameter incorrect, what i doing wrong?

Thanks!