OpenCV C++ Tracking API

独自空忆成欢 提交于 2021-01-27 12:49:56

问题


I've built OpenCV from source along with the contrib modules. But when I include the tracking module with:

#include <opencv2/tracking.hpp>

or

#include <opencv2/tracking/tracking.hpp>

or

#include <opencv2/video/tracking.hpp>

and then try to use a tracker like this:

cv::Ptr<cv::Tracker> tracker;

I get an error saying that "Tracker is not a member of 'cv'".

What is the proper way to include the tracking API and how can I troubleshoot possible installation errors?

来源:https://stackoverflow.com/questions/55483682/opencv-c-tracking-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!