Opencv Error:Assertion failed

asked 2015-06-05 09:56:15 -0500

Sheng Liu gravatar image

updated 2015-06-05 22:26:17 -0500

Last Week I trained a cascade classifier successfully. Yesterday I used the same parameters and dataset to train the cascade after reinstalling the systerm. However, the result is "Opencv Error:Assertion failed<img.rows*img.cols =="vecSize"> in CvCascadeImageReader ::PosReader::get,file E:\opencv24\apps\traincascade\imagestorage.cpp,line 149". It is amazing that there is not a file called opencv24 in disk E. What should I do to solve the problem?

edit retag flag offensive close merge delete