Opencv install script

script
https://pastebin.com/ZsBMX9xH from http://www.pyimagesearch.com/2016/10/24/ubuntu-16-04-how-to-install-opencv/
 * https://pastebin.com/xidfJwUP mod from https://www.learnopencv.com/install-opencv3-on-ubuntu/.
 * https://pastebin.com/6Bjf0mi5 Raspberry pi install
 * https://github.com/jayrambhia/Install-OpenCV
 * http://docs.opencv.org/3.1.0/d7/d9f/tutorial_linux_install.html
 * https://pastebin.com/0PW0iAbw general scripts, htop, glances etc.
 * uses alias file for python to py3.5, no symlinking

opencv 2.4.1

 * https://pastebin.com/yQdaWrFz ffmpeg in working
 * Ffmpeg install instructions


 * Jasper pastebin install Version 2.4.13
 * opencv2.4 install script needs jasper as dependency.

https://github.com/cgwalters/texinfo-git-mirror makeinfo needed for https://github.com/libffi/libffi.
 * http://www.linuxfromscratch.org/blfs/view/cvs/general/libjpeg.html check out jpeg8 for use with opencv  https://github.com/libjpeg-turbo/libjpeg-turbo

install
pip3 install moviepy pillow
 * http://pyyaml.org/wiki/LibYAML . Install from source http://pyyaml.org/wiki/PyYAMLDocumentation for faster bindings. Pytorch depends on Yaml.
 * https://pypi.python.org/pypi/PyYAML/3.08

pyqt4

 * https://pastebin.com/JhcAnjzw install pyqt4, sip, scintilla from source globally for both python2 and three. See https://stackoverflow.com/questions/19856927/how-to-install-sip-and-pyqt-on-a-virtual-environment
 * https://pastebin.com/vXGH0Ch0 newer pyqt4
 * https://gist.github.com/0x414A/8b64178e69d9f8331938.

openBlas
https://stackoverflow.com/questions/36676449/lapack-blas-openblas-proper-installation-from-source-replace-system-libraries https://stackoverflow.com/questions/20328991/can-cmake-findblas-find-openblas
 * https://stackoverflow.com/questions/20328991/can-cmake-findblas-find-openblas
 * http://www.netlib.org/blas/. http://www.netlib.org/blas/blas-3.7.0.tgz
 * https://gist.github.com/rmcgibbo/4950848 Intel MKL libraries, Pytorch looks for these. export variables so pip can find it. his document will walk you through compiling your own scientific python distribution from source, without sudo, on a linux machine. The core numpy and scipy libraries will be linked against Intel MKL for maximum performance
 * https://github.com/01org/mkl-dnn

libconfig
Download ffmpeg from http://ffmpeg.mplayerhq.hu/download.html. 11 The ffmpeg program has a lesser general public license (LGPL). To use it with non-GPL software (such as OpenCV), build and use a shared ffmpg library: $> ./configure --enable-shared $> make $> sudo make install You will end up with: /usr/local/lib/libavcodec.so.*, /usr/local/lib/libavformat.so.*, /usr/local/lib/libavutil.so.*, and include files under various /usr/local/include/libav*. To build OpenCV once it is downloaded: 12 $> $> $> $> mkdir build && cd build cmake .. && make sudo make install sudo ldconfig After installation is complete, the default installation path is /usr/local/lib/ and /usr/local/include/opencv2/. Hence you need to add /usr/local/lib/ to /etc/ld.so.conf (and run ldconfig afterwards) or add it to the LD_LIBRARY_PATH environment variable; then you are done.

package contents
https://stackoverflow.com/questions/1157192/what-do-the-dev-packages-in-the-linux-package-repositories-actually-contain

dpkg -L pkgname   , libvidxcore-dev

links
Opencv