... | ... | @@ -11,7 +11,7 @@ Make sure you have: |
|
|
* pycharm
|
|
|
* nosetests
|
|
|
* pip
|
|
|
* openCV3 --with-python3 --with-contrib
|
|
|
* openCV3 --with-python3 --with-contrib (see below for more information)
|
|
|
|
|
|
Install python packages using pip and conda:
|
|
|
* pip install pvl coverage
|
... | ... | @@ -39,7 +39,7 @@ https://blog.kevin-brown.com/programming/2014/09/27/building-and-installing-open |
|
|
In the following, change the OPENCV_EXTRA_MODULES_PATH to the place you checked out opencv_contrib to, if not /scratch:
|
|
|
|
|
|
cmake -D CMAKE_BUILD_TYPE=RELEASE -D OPENCV_EXTRA_MODULES_PATH=/scratch/opencv_contrib/modules -D
|
|
|
BUILD_opencv_dnn=off -D CMAKE_INSTALL_PREFIX=$(python3 -c "import sys; print(sys.prefix)") -D
|
|
|
CMAKE_INSTALL_PREFIX=$(python3 -c "import sys; print(sys.prefix)") -D
|
|
|
PYTHON_EXECUTABLE=$(which python3) ..
|
|
|
|
|
|
sudo make
|
... | ... | |