Ask Your Question

Revision history [back]

Cascade Classifier Tutorial Error

Hey everyone,

I just copied past the code from the Cascade classifier tutorial , And I always get this error

OpenCV Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.widt h <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in cv::Mat::Mat, file C:\build\master_winpack-build-win64-vc14\opencv\modules\core \src\matrix.cpp, line 522

platform: windows 7, visual studio 2013.

Any help please ?

Sincerely, Omar K. Aly