OpenCV Installation

From Interaction Station Wiki
Revision as of 23:08, 19 June 2019 by Javi (talk | contribs)
Jump to navigation Jump to search

OpenCV installation in Ubuntu 16.04

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential cmake pkg-config
sudo apt-get install libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev
sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
sudo apt-get install libxvidcore-dev libx264-dev
sudo apt-get install libgtk-3-dev
sudo apt-get install libatlas-base-dev gfortran
sudo apt-get install python2.7-dev python3.5-dev


pip install opencv-python
pip install opencv-contrib-python
sudo apt-get install python-opencv