Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

error when trying to run cpp-tutorial-pnp_detection

$
0
0
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? edit: My OpenCV 3.0 version is: OpenCV version: 3.0.0-dev OpenCV VCS version: 3.0.0-699-gb3ac274 Thank you for your time, Cheers, Panos

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>