8. RaspberryPi

Instructions to get video-pipeline setup on a RaspberryPi.

8.1. Dependencies

  • python3.7
  • pip
  1. 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.
    
  2. 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
    
  3. Build and install Python 3.7

    make -j 4 -l 4
    sudo make install
    
  4. Upgrade pip

    sudo python3.7 -m pip install --upgrade pip
    
  5. Install picamera.

    sudo python3.7 -m pip install picamera
    

8.2. Installation

  1. Install video-pipeline

    sudo python3.7 -m pip install video-pipeline
    
  2. Once installed you can use video-pipeline like you would on any other machine. See Getting Started for more information.