With this project, we ship the disk image of a fully functional Pi OS running Raspbian Stretch on a Pi3B+, with Movidius and PiCamera related libraries, demos etc. The image can be downloaded here . Please follow these instructions to clone this on to your microSD card.
This is a nice tutorial that steps through the process of installing the Neural Compute Stick (NCS) SDK in API-only mode (note that this is important as the Pi CPU/Memory is underpowered for the full installation). Installation Tutorial . This also has installation instructions for other key libraries such as OpenCV, libusb etc.
Dependencies:
- Raspberry Pi 3b or 3b+ only
- Raspbian Stretch OS: You can find the desktop image here Stretch OS and the instructions to flash the SD card here
- To use a full SDK on a linux machine, you would need Ubuntu 16.04! Follow these instructions to install:
mkdir -p ~/workspace cd ~/workspace git clone https://github.com/movidius/ncsdk.git cd ~/workspace/ncsdk make install make examples
Usage:
Get a live feed from the camera for 60 seconds
python camera_preview.py
Record a video from the PiCamera in .h264 format. By default the recording duration is for 2 minutes @30FPS and a resolution of 1080p
python camera.py
Example projects
# Zebrafish detector using a SSD MobileNet Implementation cd ~/rpi-ncs-tooolkit/ssdmobilenet python run.py # Face Detector live demo # Note that this implementation requires two neural sticks cd ~/rpi-ncs-toolkit/mtcnn python live_demo.py # Age Detector live demo cd ~/rpi-ncs-tooolkit/gender_age python live_demo.py