Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV Error: Assertion failed (channels () == CV_MAT_CN (dtype)) in copyTo, file /home/tau/opencv/opencv-3.1.0/modules/core/src/copy.cpp, line 257

Currently am working on real_time_pose_estimation for 3d objects: 1.successfully compiled and executed model registration 2.when comes to model detection compiling is successful but throwing above run time error while executing.

source code:/../../opencv/opencv-3.1.0/samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/src I am new to OpenCV though I succeeded in detecting objects in an image and now I started to work on detecting 3D pose estimation of textured object in an image. I have tried the best of my knowledge to solve this problem but failed and finally landing here.It will be great if anyone could suggest me why is it throwing error and how to solve it .