1

I'm trying to use some features/modules of the opencv_contrib package, but apparently the version on Ubuntu's repositories (using 18.04 LTS), for some reason, does not include the tracking module?

I've checked against the source code on their git repository and verified that the tracking module is indeed part of the 3.2 release, but I still do not find the code anywhere on my system?

1 Answer 1

2

Quick search for tracking.hpp shows that only upcoming 20.04 LTS will have this feature out-the-box.

But for Ubuntu 18.04 LTS you can use thirdparty PPA ppa:alfonsosanchezbeato/opencv-tracking with this feature.
Install packages from it with:

sudo add-apt-repository ppa:alfonsosanchezbeato/opencv-tracking
sudo apt-get install libopencv-contrib-dev

and you will get needed tracking.hpp:

$ dpkg -S opencv2/tracking.hpp
libopencv-contrib-dev:amd64: /usr/include/opencv2/tracking.hpp
1
  • 1
    This is precisely what I was looking for, it beats having to compile it manually. Jan 22, 2020 at 17:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .