Opencv源碼編譯

1.下載opencv以及opencv_contribgit

1 git clone https://github.com/opencv/opencv.git
2 git clone https://github.com/opencv/opencv_contrib.git

2.安裝opencvgithub

1 cd /opencv && mkdir build
2 cd build && cmake -f ../CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/data1/NLPRMNT/public/opencv3 -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib_path>/modules/
3 make -j4 && make install
相關文章
相關標籤/搜索