In opencv,error of assertion failed. img rows *img columns ==vecsize

asked 2015-03-13 23:28:49 -0500

In opencv,when training I am getting error of assertion failed. img rows *img columns ==vecsize. positive images of 356 and negative images of 360. done the annotation and created a vec file of size 1.14mb. When doing the training, gave numPOS as 356 and num Neg as 360 while numStages as 20. I am getting the error. Please can any body suggest me what numPos , numNeg and numStages should I keep.

edit retag flag offensive close merge delete