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.