Install OpenCV's extra modules

[Install OpenCV's extra modules]


Key: OpenCV and OpenCV contrib's version should be the same. (ex:3.3.1)

(1) Download OpenCV 3.3.1 and OpenCV contrib 3.3.1 (Even OpenCV has been installed through Jetpack)

(2) Put OpenCV contrib 3.3.1 folder into OpenCV 3.3.1 folder

(3) Create a build folder and cd to the directory




(4) Command:
$ cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules <opencv_source_directory>
$ make -j5

(5) Open cmake GUI (cmake-gui)

(6) Follow the step2-7, extra source files and libraries should be correctly installed at /usr/local/include & /usr/local/lib



Reference: opencv_contrib安裝OpenCV + OpenCV_Contribjetsonhacks

留言

這個網誌中的熱門文章

Tuing PID parameters in QGroundcontrol (2)

Useful PX4 Parameters

Burn linux image to eMMC storage on Banana Pi M3