opencv_traincascade assertion

asked 2012-10-25 10:19:24 -0500

zeev gravatar image

OpenCV Error: Assertion failed (_img.cols == winSize.width) in unknown function, file ......\apps\traincascade\imagestorage.cpp, line 86

tried playing around with sizes of negative/ positive data sets, no go any clue? thanks Zeev

edit retag flag offensive close merge delete

Comments

You can try to find this assertion in the source code, this may help you.

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-10-29 03:02:10 -0500 )edit

Hello, I have met this problem too, it is linked to the NegReader::get(Mat& _img) function. It is not happening because one of the negative scenes has the width less than positive samples width, i think it is something because of the resizing in training.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2013-03-25 02:04:35 -0500 )edit