As announced in the Release Notes, the Intel® Distribution of OpenVINO™ toolkit 2018 R5 release introduced preview support for Raspbian* 9 as a host for the Intel® Movidius™ Neural Compute Stick and Intel® Neural Compute Stick 2 targets. This paper provides preliminary information and resources for setting up and running Intel® Distribution of OpenVINO™ toolkit on the Raspberry Pi* 3 Model B single board computer with the latest Intel® Neural Compute Stick 2 powered by the Intel® Movidius™ Vision Processing Unit X.
The following software and hardware components are required to get a Raspberry Pi single board computer up and running with Intel® Distribution of OpenVINO™ toolkit and an Intel® Movidius™ Neural Compute Stick 2 target:
In order to install Intel® Distribution of OpenVINO™ toolkit on your Raspberry Pi 3 Model B board, you must be running the Raspbian 9 (Stretch) operating system. To check the OS version running on your board, open a terminal (Ctrl-Alt-t) and enter the following command:
The output of this command should look similar to Figure 1.
Figure 1. Raspbian operating system version
For this article, we did a fresh installation of the Raspbian Stretch with desktop and recommended software distribution, which is available here. If you would like to do the same, download the zip file and then follow the directions available here to write the OS image to a microSD* card.
Figure 2. microSD card installation
Once the flashed microSD card is installed in the Raspberry Pi 3 Model B single board computer (see Figure 2), apply power and follow the instructions to choose your locale, connect to a Wi-Fi network with Internet connectivity, update the software and reboot.
Refer to the guide “Install the Intel® Distribution of OpenVINO™ toolkit for Raspbian* OS” published here. This guide contains all of the required steps required to install and test the Intel® Distribution of OpenVINO™ toolkit on the Raspberry Pi board.
sudo apt-get install build-essentials cmake pkg-config
Figure 3. Swap space reported with free –m
Assuming you were able to complete the Intel® Distribution of OpenVINO™ toolkit installation and run the samples as described in “Install the Intel® Distribution of OpenVINO™ Toolkit for Raspbian OS”, you may want to check out this project on GitHub*. The following steps will help you get YOLOv3 running on your Raspberry Pi NCS2-enabled system:
Figure 4. Test setup
cd ~ git clone https://github.com/PINTO0309/OpenVINO-YoloV3.git
cd ~/OpenVINO-YoloV3/lrmodels/YoloV3/FP16 chmod +x download_yolov3lrFP16.sh sudo ./download_yolov3lrFP16.sh
Figure 5. Python* code change to specify FP16 model
cd ~/OpenVINO-YoloV3 python3 openvino_yolov3_test.py -d MYRIAD
If you’ve been following along with the steps outlined in this paper then you should now have a functional Raspberry Pi 3 single board computer running the Intel® Distribution of OpenVINO™ toolkit with the Intel® Neural Compute Stick 2. For more information on the Intel® Distribution of OpenVINO™ toolkit, be sure to check out the Intel® Developer Zone Computer Vision Community Forum.
This document contains information on products, services and/or processes in development. All information provided here is subject to change without notice. Contact your Intel representative to obtain the latest forecast, schedule, specifications, and roadmaps.
The products and services described may contain defects or errors known as errata which may cause deviations from published specifications. Current characterized errata are available on request.
Copies of documents which have an order number and are referenced in this document may be obtained by calling 1-800-548-4725 or by visiting www.intel.com/design/literature.htm.
英特尔的编译器针对非英特尔微处理器的优化程度可能与英特尔微处理器相同（或不同）。这些优化包括 SSE2、SSE3 和 SSSE3 指令集和其他优化。对于在非英特尔制造的微处理器上进行的优化，英特尔不对相应的可用性、功能或有效性提供担保。该产品中依赖于微处理器的优化仅适用于英特尔微处理器。某些非特定于英特尔微架构的优化保留用于英特尔微处理器。关于此通知涵盖的特定指令集的更多信息，请参阅适用产品的用户指南和参考指南。