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_Contrib , jetsonhacks