Help: How to run/build tutorial code of real_time_pose_estimation?

asked 2019-03-11 09:17:18 -0500

opencvr gravatar image

updated 2019-03-11 10:38:35 -0500

Hello,

I am following this tutorial.

link text

But how can I use with visual studio 2017?

I am trying with 2 ways.

  1. I have build opencv/sources folder with CMAKE and store it in another folder. But when I run that application it is giving me Debug 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

  2. when I open real_time_pose_estimation folder direcly in VS2017 as CMake FILE; it is giving error like,

    ocv_include_modules_recurse unknown Cmake command

please help. Thanks.

edit retag flag offensive close merge delete