Raspberry Pi 3 and Opencv 3 Installation Tutorial
by
Sergio Canu
Tutorials
We’re going to see today how to install opencv on the raspberry pi 3 Model b+ (with camera).
1) Update os system:
sudo apt-get update sudo apt-get upgrade
2) Install dependencies:
sudo apt-get install build-essential cmake pkg-config sudo apt-get install libjpeg-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 libgtk2.0-dev libgtk-3-dev sudo apt-get install libatlas-base-dev gfortran
3) Install Python 3 and Pip3:
sudo apt-get install python3-dev sudo apt-get install python3-pip
4) Install Opencv:
pip3 install opencv-python
5) Extra depencies for Opencv and the Camera:
sudo apt-get install libqtgui4 sudo modprobe bcm2835-v4l2 sudo apt-get install libqt4-test

Hi there, I’m the founder of Pysource.
I’m a Computer Vision Consultant, developer and Course instructor.
I help Companies and Freelancers to easily and efficiently build Computer Vision Software.

Learn to build Computer Vision Software easily and efficiently.
This is a FREE Workshop where I'm going to break down the 4 steps that are necessary to build software to detect and track any object.
Sign UP for FREE