Error: Assertion failed (_img.rows * _img.cols == vecSize)
目录
- 更多分享:www.catbro.cn
OpenCV(3.4.1) Error: Assertion failed (_img.rows * _img.cols == vecSize) in CvCascadeImageReader::PosReader::get, file C:\build\master_winpack-build- win64- vc15\opencv\apps\traincascade\imagestorage.cpp, line 153
- 异常原因是解析vec图片是高宽对不上,可检查生成vec的脚本参数是否正确