Ask Your Question

todoistobe32's profile - activity

2013-07-17 19:29:52 -0500 commented answer memory consumption while training > 50GB

Hi Abankowski, I also encountered the error Assertion failed (_img.rows * _img.cols == vecSize) I realized that this was caused when there is a mismatch between the -w and -h passed into opencv_createsamples and those passed into opencv_traincascade. When I regenerated the positive vec file with matching -w and -h, it worked.