Skip to content

Instantly share code, notes, and snippets.

View abbaselmas's full-sized avatar
🚶‍♂️
wandering from one repo to another

Abbas Elmas abbaselmas

🚶‍♂️
wandering from one repo to another
View GitHub Profile
git clone -b 4.10.0 https://github.com/opencv/opencv.git
git clone -b 4.10.0 https://github.com/opencv/opencv_contrib.git # optional
cd ./opencv
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=$PREFIX \
-D CMAKE_OPENCV_VERBOSE=OFF \
-D BUILD_SHARED_LIBS=ON \
-D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF \