by Danh Doan
- Download Raspbian image from official site [link]
Currently use Raspbian Stretch with Desktop - Release date: 2019-08-04
-
Write image to SD card using balenaEtcher [link]
-
Insert SD card to Raspberry Pi and power it on
After booting, configure Timezone and Language, then update system
-
Enable Peripherals e.g. SSH, Picamera, Audio or Communication protocols: I2C, SPI
sudo raspi-config
Select
Interfacing Options
andAdvanced Options
to enable -
Install basic packages
sudo apt clean && sudo apt autoremove
sudo apt update && sudo apt upgrade
sudo apt install git cmake vim-gtk gedit
Follow the installation guide in this blog [link]
-
Download and Extract OpenVINO toolkit
cd ~
mkdir openvino
cd openvino
wget https://download.01.org/opencv/2019/openvinotoolkit/R3/l_openvino_toolkit_runtime_raspbian_p_2019.3.334.tgz
tar -xvf l_openvino_toolkit_runtime_raspbian_p_2019.3.334.tgz
mv l_openvino_toolkit_runtime_raspbian_p_2019.3.334/* .
-
Modify Installation Dir in setup script
sed -i "s|<INSTALLDIR>|$(pwd)/|" bin/setupvars.sh
-
Add to .bashrc
source /home/pi/openvino/bin/setupvars.sh
source ~/.bashrc
-
Update USB rule for Pi to recognize NCS
sudo usermod -a -G users "$(whoami)"
sh ~/openvino/install_dependencies/install_NCS_udev_rules.sh
sudo apt install python3-picamera