Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Edgeboxes Implementation for C++ is causing assertion failure on running sample program.

I have tried the new OpenCV edge boxes implementation. I ran the edgeboxes_demo program from OpenCV ximgproc samples and it causes the following assertion failure.

OpenCV(3.4.1) Error: Assertion failed ((unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels())) in cv::Mat::at, file C:\OpenCV\opencv-3.4.1\modules\core\include\opencv2/core/mat.inl.hpp, line 1107

Tried to follow the error and found that it was caused by the prepDataStructsfuntion of the edge boxes class.

OpenCV Edgeboxes Implementation for C++ is causing assertion failure on running sample program.

I have tried the new OpenCV edge boxes implementation. I ran the edgeboxes_demo program from OpenCV ximgproc samples and it causes the following assertion failure.

OpenCV(3.4.1) Error: Assertion failed ((unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels())) in cv::Mat::at, file C:\OpenCV\opencv-3.4.1\modules\core\include\opencv2/core/mat.inl.hpp, line 1107

Tried to follow the error and found that it was caused by the prepDataStructsfuntion of the edge boxes class.