I'm using this: http://docs.opencv.org/3.1.0/d7/d9f/tutorial_linux_install.html
to build opencv on ununtu 16LTS for Python 3.
On step 4 in Building OpenCV from Source Using CMake i'm stuck with typing in the right parameters. Could you, please check my variants, because i could only find folders and no files with suggested extensions. Also, shall i type a flag -D before each param?
-D PYTHON3_EXECUTABLE=$HOME/anaconda3/bin
-D PYTHON_INCLUDE_DIR=/usr/include/python3.5
-D PYTHON_INCLUDE_DIR2=/usr/include/x86_64-linux-gnu/python3.5m
-D PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.a
-D PYTHON3_NUMPY_INCLUDE_DIRS= I dont have anything similar like path in the tutorial, but i have a "numpy" folder in /usr/include/python3.5!
So what should i do?
Also, what shall i write in:
-D CMAKE_INSTALL_PREFIXOPENCV_EXTRA_MODULES_PATH(in this tutrial(previus step), o downloaded opencv-contrib. So should i type in:OPENCV_EXTRA_MODULES_PATH=/home/vladislav/opencv/opencv_contribBUILD_DOCSBUILD_EXAMPLES
ERROR: When i run as it is told in the tutorial, i got mistakes like this: CMake Error: The source directory "/home/vladislav/opencv/build/PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so" does not exist.