読者です 読者をやめる 読者になる 読者になる

Ubuntu に OpenCV をインストールする

sudo apt-get install build-essential cmakeqt5-defaultlibvtk6-dev

sudo apt-get install zlib1g-dev libjpeg-dev libpng-dev libtiff5-dev libjasper-dev libopenexr-dev libgdal-dev


sudo apt-get install 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 libxine22-dev

sudo apt-get install libtbb-dev libeigen3-dev

sudo apt-get install ant default-jdk

sudo apt-get install doxygen graphviz

sudo apt-get install libopencv-dev python-opencv 

sudo ldconfig
>>> import cv

で転けなければOKです。