Python OpenCV

Page Contents

Installing On Ubuntu

http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv
https://github.com/CognitiveRobotics/object_tracking_2D/blob/master/README.md
https://www.linuxhint.com/how-to-install-opencv-on-ubuntu/

cmake  -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=~/opencv_play/opencv_contrib-3.3.0/modules -DWITH_LIBV4L=ON -D PYTHON_EXECUTABLE=~/.virtualenvs/cv/bin/python ..

https://stackoverflow.com/questions/41200201/opencv-unable-to-stop-the-stream-inappropriate-ioctl-for-device
https://github.com/opencv/opencv/issues/8902
https://stackoverflow.com/questions/17283619/installing-opencv-with-gstreamer-and-ffmpeg-support-in-ubuntu-13-04-64bits


cmake -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_EXTRA_MODULES_PATH=~/opencv_play/opencv_contrib-3.3.0/modules PYTHON_EXECUTABLE=~/.virtualenvs/cv/bin/python -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D OPENCV_BUILD_3RDPARTY_LIBS=ON -D WITH_FFMPEG=ON -D WITH_GTK=ON -D WITH_OPENEXR=ON -D WITH_OPENNI=ON -D WITH_PNG=ON -D WITH_TBB=ON -D WITH_XINE=ON -D WITH_GSTREAMER=ON ..