Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why always OpenCV Error: Assertion failed (elements_read == 1) in unknown function ?

error infomation: OpenCV Error: Assertion failed (elements_read == 1) in unknown function, file .. ....\opencv\apps\haartraining\cvhaartraining.cpp, line 1859

I am doing pedestrain detection using haartraining. My positive samples are 900 samles, each is 4080 , with information ( 1 0 0 40 80 ) and 500 negetive samples, each is 300200

I have check the parameters, they are all ok. But when doing opencv_haartraining.exe it always shows this error. Could anyone help me?

Thank you

Why always OpenCV Error: Assertion failed (elements_read == 1) in unknown function ?

error infomation: OpenCV Error: Assertion failed (elements_read == 1) in unknown function, file .. ....\opencv\apps\haartraining\cvhaartraining.cpp, line 1859

I am doing pedestrain detection using haartraining. My positive samples are 900 samles, each is 4080 40x80 , with information ( 1 0 0 40 80 ) and 500 negetive samples, each is 300200300x200

I have check the parameters, they are all ok. But when doing opencv_haartraining.exe it always shows this error. Could anyone help me?

Thank you