Skip to content

Latest commit

 

History

History
97 lines (68 loc) · 2.7 KB

File metadata and controls

97 lines (68 loc) · 2.7 KB

Raspberry Pi Development Environment

Verified with :

  • Raspbian Buster (2020-02-13-raspbian-buster-lite)
  • Python 3.7.5

Clone the repo

Clone to Raspberry Pi with :

cd ~ && \
sudo apt-get update && \
sudo apt-get install -y git && \
git clone https://github.com/daisukeiot/OpenVINO-Toolkit-Setup.git

OpenVINO Toolkit Setup

Run setup script to setup OS and install OpenVINO Toolkit with :

cd ~/OpenVINO-Toolkit-Setup/Setup/Raspbian && \
./setup.sh

Note

The script will change hostname to RP-OpenVINO

Reference : OpenVINO Toolkit installation by Intel

Detailed instruction for OpenVINO Toolkit Setup

Install OpenVINO™ toolkit for Raspbian OS

OpenVINO Toolkit Verification

Run Object Detection Sample with :

cd ~/OpenVINO-Toolkit-Setup/Setup/Raspbian && \
./verification.sh

More info : Build and Run Object Detection Sample

Container Runtime Setup

If you are planning to run containerized OpenVINO application, install Docker or Moby :

Raspbian Buster

curl -sSL get.docker.com | sh && \
sudo usermod pi -aG docker && \
sudo reboot now

Raspberry Pi3 + Raspbian Stretch

Install Moby runtime with :

sudo apt-get install -y curl && \
curl https://packages.microsoft.com/config/debian/stretch/multiarch/prod.list > ./microsoft-prod.list && \
sudo cp ./microsoft-prod.list /etc/apt/sources.list.d/ && \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg && \
sudo cp ./microsoft.gpg /etc/apt/trusted.gpg.d/ && \
sudo apt-get update && \
sudo apt-get install -y moby-engine && \
sudo apt-get install -y moby-cli && \
sudo usermod -aG docker $USER && \
rm ./microsoft* && \
sudo reboot now

Azure IoT Edge Configuration

If you plan to run IoT Edge, install IoT Edge runtime with :

sudo apt-get install -y libssl1.0.2 && \
curl https://packages.microsoft.com/config/debian/stretch/multiarch/prod.list > ./microsoft-prod.list && \
sudo cp ./microsoft-prod.list /etc/apt/sources.list.d/ && \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg && \
sudo cp ./microsoft.gpg /etc/apt/trusted.gpg.d/ && \
sudo apt-get update && \
sudo apt-get -y install iotedge && \
rm ./microsoft*

Next Step

Run Object Detection Python App