Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Error: Bad Argument <can not="" get="" new="" positive="" sample....<="" h3="">

Although I experimented with many different numpos values, including just 1 and not declaring what numpos is at all, I keep getting this error.

With: C:\opencv\build\x64\vc10\bin\opencv_traincascade.exe -data DoneHere -vec IMPORTANTVEC.vec -bg allnegatives.txt -mode ALL -w 24 -h 24

I know this question has been asked many times before, giving an equation of what numpos needs to be. I tried the equation, and many other numpos values too yet no output.

Please let me know what may be causing this.