8. RaspberryPi¶
Instructions to get video-pipeline
setup on a RaspberryPi.
8.1. Dependencies¶
python3.7
pip
Install Python3.7 dependencies
sudo apt-get update sudo apt-get install -y libffi-dev libbz2-dev liblzma-dev \ libsqlite3-dev libncurses5-dev libgdbm-dev zlib1g-dev \ libreadline-dev libssl-dev tk-dev build-essential \ libncursesw5-dev libc6-dev openssl git *Note*\ : If you don't install these you will run into issues regarding pip and/or the ssl module not being found.
Download and extract source
wget https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tgz tar zxvf Python-3.7.2.tgz cd Python-3.7.2 ./configure --enable-optimizations --disable-tests
Build and install Python 3.7
make -j 4 -l 4 sudo make install
Upgrade
pip
sudo python3.7 -m pip install --upgrade pip
Install
picamera
.sudo python3.7 -m pip install picamera
8.2. Installation¶
Install
video-pipeline
sudo python3.7 -m pip install video-pipeline
Once installed you can use
video-pipeline
like you would on any other machine. See Getting Started for more information.