Raspberry Pi學習筆記(十三):使用第一代Intel® Movidius™ NCS運算棒

栏目: 软件资讯 · 发布时间: 6年前

内容简介:分為1、2代,差別在運算棒的外觀(第二代有寫2)編譯需時約 2~3小時

分為1、2代,差別在運算棒的外觀(第二代有寫2)

編譯需時約 2~3小時

1.安裝套件

sudo apt-get update
sudo apt-get install -y libusb-1.0-0-dev libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler libatlas-base-dev git automake byacc lsb-release cmake libgflags-dev libgoogle-glog-dev liblmdb-dev swig3.0 graphviz libxslt-dev libxml2-dev gfortran python3-dev python-pip python3-pip python3-setuptools python3-markdown python3-pillow python3-yaml python3-pygraphviz python3-h5py python3-nose python3-lxml python3-matplotlib python3-numpy python3-protobuf python3-dateutil python3-skimage python3-scipy python3-six python3-networkx

2.將 Intel Movidius神經運算棒插上USB接頭

插到USB插槽

3.下載NCSDK

git clone -b ncsdk2 <a href="https://github.com/movidius/ncsdk.git" rel="nofollow noopener noreferrer" target="_blank">https://github.com/movidius/ncsdk.git</a>
cd ncsdk/
sudo make install
#需輸入帳密,預設帳密是pi/raspberry,編譯需較長時間,約2~3小時
cd ..

3.1測試NCSDK

cd examples/apps/hello_ncs_py/
make run

4.下載NCAppZoo github並執行

git clone https://github.com/movidius/ncappzoo
cd ncappzoo
cd ncappzoo/apps/hello_ncs_py
python3 hello_ncs.py

4.1測試MobileNets執行效能

cd apps/benchmarkncs
./mobilenets_benchmark.sh | grep FPS

5.備份安裝完NCSDK的Raspbian系統

<a href="https://blog.cavedu.com/2018/03/22/raspberry-pi-%e4%b8%8d%e5%86%8d%e5%82%99%e4%bb%bd%e6%95%b4%e5%bc%b5sd%e5%8d%a1%ef%bc%8c%e7%b8%ae%e5%b0%8fraspberrypi%e5%82%99%e4%bb%bd%e5%ae%b9%e9%87%8f/" rel="nofollow noopener noreferrer" target="_blank">[Raspberry Pi] 不再備份整張SD卡,縮小RaspberryPi備份容量</a>

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Spring in Action

Spring in Action

Craig Walls / Manning Publications / 2011-6-29 / USD 49.99

Spring in Action, Third Edition has been completely revised to reflect the latest features, tools, practices Spring offers to java developers. It begins by introducing the core concepts of Spring and......一起来看看 《Spring in Action》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换