0

I am trying to run a project using openCV in VS2015, I have added the libraries and linked them but still got an error about the video tracker, however I didn't have an error about the cor utility. Can anybody help me?

enter image description here

SMH
  • 1,276
  • 3
  • 20
  • 40

1 Answers1

0

You need the video contrib download see OpenCV where is tracking.hpp

This contains extra algorithms not part of the main distribution

Martin Beckett
  • 94,801
  • 28
  • 188
  • 263
  • Thanks @Martin. I am not sure what shall I do after downloading it. Shall I add the tracking folder to my opencv folder ? could you please advice me? – SMH Jun 05 '17 at 03:13
  • Did you build it from source? If you downloaded a pre-built library you probably just unpack into the same top level directory – Martin Beckett Jun 05 '17 at 03:25
  • it gives me two errors: - class "cv::Tracker" has no member "create" - a reference of type "cv::Rect2d &" (not const-qualified) cannot be initialized with a value of type "cv::Rect" not sure why? – SMH Jun 05 '17 at 03:32