Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to solve real_time_pose_estimation Debug error? abort() hase been called

Hello,

when I run example_tutorial_pnp_detection application , I am getting this error,

OpenCV(4.0.1) Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in cv::Mat::copyTo, file C:\opencv\sources\modules\core\src\copy.cpp, line 254

OpenCV: terminate handler is called! The last OpenCV error is:

OpenCV(4.0.1) Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in cv::Mat::copyTo, file C:\opencv\sources\modules\core\src\copy.cpp, line 254

How to solve this?

Thanks.

How to solve real_time_pose_estimation Debug error? abort() hase been called

Hello,

when I run example_tutorial_pnp_detection application ,

This program shows how to detect an object given its 3D textured model. You can choose to use a recorded video or the webcam. Usage: ./cpp-tutorial-pnp_detection -help Keys: 'esc' - to quit.

I am getting this error,

OpenCV(4.0.1) Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in cv::Mat::copyTo, file C:\opencv\sources\modules\core\src\copy.cpp, line 254

OpenCV: terminate handler is called! The last OpenCV error is:

OpenCV(4.0.1) Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in cv::Mat::copyTo, file C:\opencv\sources\modules\core\src\copy.cpp, line 254

How to solve this?

Thanks.

How to solve real_time_pose_estimation Debug error? abort() hase been called

Hello,

when I run example_tutorial_pnp_detection application

This program shows how to detect an object given its 3D textured model. You can choose to use a recorded video or the webcam. Usage: ./cpp-tutorial-pnp_detection -help Keys: 'esc' - to quit.

I am getting this error,

OpenCV(4.0.1) Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in cv::Mat::copyTo, file C:\opencv\sources\modules\core\src\copy.cpp, line 254

OpenCV: terminate handler is called! The last OpenCV error is:

OpenCV(4.0.1) Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in cv::Mat::copyTo, file C:\opencv\sources\modules\core\src\copy.cpp, line 254

How to solve this?

Thanks.

How to solve real_time_pose_estimation Debug error? abort() hase been called

Hello,

when I run example_tutorial_pnp_detection application

This program shows how to detect an object given its 3D textured model. You can choose to use a recorded video or the webcam. Usage: ./cpp-tutorial-pnp_detection -help Keys: 'esc' - to quit.

I am getting this error,

OpenCV(4.0.1) Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in cv::Mat::copyTo, file C:\opencv\sources\modules\core\src\copy.cpp, line 254

OpenCV: terminate handler is called! The last OpenCV error is:

OpenCV(4.0.1) Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in cv::Mat::copyTo, file C:\opencv\sources\modules\core\src\copy.cpp, line 254

How to solve this?

Thanks.