Hello,
I'm trying to run this tutorial: http://docs.opencv.org/3.0-beta/doc/tutorials/calib3d/real_time_pose/real_time_pose.html#realtimeposeestimation
with OpenCV 3.0 and I get the following error:
OpenCV Error: Assertion failed (channels() == CV_MAT_CN(dtype)) in copyTo, file /home/pmousoul/Downloads/opencv3/opencv/modules/core/src/copy.cpp, line 257
terminate called after throwing an instance of 'cv::Exception'
what(): /home/pmousoul/Downloads/opencv3/opencv/modules/core/src/copy.cpp:257: error: (-215) channels() == CV_MAT_CN(dtype) in function copyTo
Aborted (core dumped)
Can someone please tell me what I'm I doing wrong?
Thank you for your time, Cheers, Panos