5,337
edits
Line 20: | Line 20: | ||
git clone [email protected]:opencv/opencv.git | git clone [email protected]:opencv/opencv.git | ||
git clone [email protected]:opencv/opencv_contrib.git | git clone [email protected]:opencv/opencv_contrib.git | ||
cd opencv | |||
mkdir build | |||
cd build | |||
cmake -D CMAKE_BUILD_TYPE=RELEASE \ | cmake -D CMAKE_BUILD_TYPE=RELEASE \ | ||
-D CMAKE_INSTALL_PREFIX=/usr/local \ | -D CMAKE_INSTALL_PREFIX=/usr/local \ |