I installed OpenCV from the default Ubuntu 22.04 repositories:
sudo apt install libopencv-dev python3-opencvBut in /usr/bin/opencv4/opencv2 the xfeature2D.hpp file is absent.
On an older configuration it was packaged with opencv-contrib which seems to be installed by default with the command line above.
So far, the only proposed solutions I saw were to build from sources.
Is there a way to get OpenCV extra features through apt?







