Last active
April 19, 2018 14:13
-
-
Save walsvid/16bd556e2c9c18df464070d638f07d2c to your computer and use it in GitHub Desktop.
[Ubuntu16.04 OpenCV 安装] #opencv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Build tools: | |
| sudo apt-get install -y build-essential cmake | |
| # GUI | |
| sudo apt-get install -y libgtk-3-dev | |
| # Media I/O: | |
| sudo apt-get install -y zlib1g-dev libjpeg-dev libwebp-dev libpng-dev libtiff5-dev libjasper-dev libopenexr-dev libgdal-dev | |
| # Video I/O: | |
| sudo apt-get install -y libdc1394-22-dev libavcodec-dev libavformat-dev libswscale-dev libtheora-dev libvorbis-dev libxvidcore-dev libx264-dev yasm libopencore-amrnb-dev libopencore-amrwb-dev libv4l-dev libxine2-dev | |
| # Parallelism and linear algebra libraries: | |
| sudo apt-get install -y libtbb-dev libeigen3-dev | |
| # Python: | |
| sudo apt-get install -y python-dev python-tk python-numpy python3-dev python3-tk python3-numpy | |
| # Install of ippcv | |
| ipp_file=ippicv_2017u3_lnx_intel64_general_20170822.tgz | |
| ipp_hash=$(md5sum ../$ipp_file | cut -d" " -f1) | |
| ipp_dir=.cache/ippicv | |
| mkdir -p $ipp_dir | |
| cp ../$ipp_file $ipp_dir/$ipp_hash-$ipp_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment