Get Raspbian Stretch (Movidius doesn't support Jessie): https://www.raspberrypi.org/downloads/raspbian/
Use "Etcher" to put Raspbian on your SD card: https://etcher.io
Create an empty file called ssh
in /boot
Create a wpa_supplicant.conf
file in /boot containing:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="your-network"
psk="your-pass"
key_mgmt=WPA-PSK
}
Put the SD card in your RPi
SSH into it using pi/raspberry
Run:
sudo apt install git
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD35-show
The RPi will now reboot, and your TFT screen will work.
Run:
git clone https://github.com/movidius/ncsdk
cd ncsdk
sudo make install
This might fail due to missing packages. If so, run sudo apt --fix-broken install
and then run sudo make install
again.
(This may take a while. Go get some runts.)
Finally, install gstreamer1.0 and the "bad" plugins:
sudo apt install gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-tools python-gst-1.0 gir1.2-gtk-3.0
Now it's time to get the stream_infer
app. Instead of downloading a 361MB Git repo (crazy!) let's just pull the files we need:
git init ncappzoo
cd ncappzoo
git remote add origin https://github.com/movidius/ncappzoo
git config core.sparsecheckout true
echo "apps/stream_infer" >> .git/info/sparse-checkout
git pull --depth=2 origin master
Install Pixel and set to boot automatically to graphical interface and auto-login pi
sudo apt install raspberrypi-ui-mods
sudo raspi-config
Set up the TFT screen again
cd ~/LCD-how
sudo ./LDC35-show
After reboot, it should show you the nice graphical interface
Edit line 324 in stream_infer
to this:
videoscale ! video/x-raw, width=%s, height=%s , framerate = 5/1 ! \
Now run it!
python3 stream_infer.py