Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is there a bug in the traincascade of Opencv 243?

Hi i am trying to train a detector and sometimes opencv_traincascade (v243) is crashing and saying

===== TRAINING 16-stage =====
<BEGIN
POS count : consumed   2000 : 2152
OpenCV Error: Assertion failed (_img.rows == winSize.height) in unknown function
, file ..\..\..\modules\traincascade\imagestorage.cpp, line 87

I have searched and i have found that it is something about the negatives. I have only scenes (much larger than the positives size). Is there the possibility to be a bug, or what is my problem? What shall I do to fix it?