error while trying to run a tracker code
I've recently downloaded opencv3.1.0 on windows 7 desktop with microsoft visual studio 2015.
But when I try to run the code it gives me these errors for the following line of code
// create a tracker object
Ptr<tracker> tracker = Tracker::create("KCF");
errors:
1- identifier "Tracker" is undefined AbeerTracker
2- name followed by '::' must be a class or namespace name
Can anyone help me with this please Thanks
"I've recently downloaded opencv3.1.0 on windows 7" -- the prebuild package (if you're using that) does not contain the tracker code. you will have to rebuild from src with the opencv_contrib repo
I have the same problem. After rebuilding the opencv_contrib libraries I have still the same problem.
After u download the opencv_contrib, it works ok . But initialization of trackers always shows error !!!!
That part hv to be figured out !!1