sh 在Raspberry Pi 3 B +上安装Intel Movidius SDK v2

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 在Raspberry Pi 3 B +上安装Intel Movidius SDK v2相关的知识,希望对你有一定的参考价值。

# Origin from https://github.com/benkelaci/deeplearningonrpi/blob/master/Section5%20-%20How%20to%20implement%20Object%20Detection%20using%20Intel%20Movidius%20Neural%20Compute%20Stick/5-1_Movidius%20install%20on%20Raspberry%20Pi.txt

sudo nano /etc/dphys-swapfile
#change CONF_SWAPSIZE=100 => CONF_SWAPSIZE=2048

sudo /etc/init.d/dphys-swapfile restart swapon -s

sudo apt-get install git mc python-pip python3-pip cython3
cd ~

git clone -b ncsdk2 http://github.com/Movidius/ncsdk
cd ncsdk 

nano ncsdk.conf
# uncomment #MAKE_NJOBS=1 => MAKE_NJOBS=1

sudo apt install cython
sudo -H pip3 install cython numpy pillow
sudo pip3 uninstall tensorflow
wget https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.9.0/tensorflow-1.9.0-cp35-none-linux_armv7l.whl
sudo pip3 install tensorflow-1.9.0-cp35-none-linux_armv7l.whl
rm tensorflow-1.9.0-cp35-none-linux_armv7l.whl

sudo nano install-opencv.sh
# Goto line 55 and change VERSION="3.4.2"

# This will be taken a long while...
sudo make install

# Download ncsdk example and testing
sudo apt install libjasper1 libcanberra-gtk0
git clone -b ncsdk2 https://github.com/movidius/ncappzoo
cd ncappzoo/apps/hello_ncs_py

# Insall OpenCV
cd ..
sudo ./install-opencv.sh

# Reset swap file size to 100
sudo nano /etc/dphys-swapfile
#change CONF_SWAPSIZE=2048 => CONF_SWAPSIZE=100

sudo /etc/init.d/dphys-swapfile restart swapon -s

以上是关于sh 在Raspberry Pi 3 B +上安装Intel Movidius SDK v2的主要内容,如果未能解决你的问题,请参考以下文章

在 USB 端口上读取串行通信时接收空数据 - Raspberry Pi 3 型号 B+

在Raspberry Pi上使用python3进行Bash

使用 python 3 和 numpy、scipy、pillow 和 matplotlib 在 Raspberry Pi 3B+ 上构建 docker 映像失败

sh 在Raspberry PI 2上安装docker

markdown 在Raspberry Pi上安装Miniconda 3在树莓派上安装Miniconda

sh 使用Raspbian在Raspberry Pi上安装mitmproxy的说明。