วันศุกร์ที่ 12 ตุลาคม พ.ศ. 2561

Install intel® Movidius™ Neural Compute SDK on Raspberry pi

Install intel® Movidius™ Neural Compute SDK on Raspberry pi

What is Intel Movidius Neural Compute Stick?





Before Install


You will likely need to increase the swapfile size on the Raspberry Pi in order to successfully complete NCSDK and/or OpenCV installation. To increase the swapfile size, edit the value of CONF_SWAPSIZE in /etc/dphys-swapfile:
sudo nano /etc/dphys-swapfile
The default value is 100 (MB). We recommend that you change this to 1024 (MB) or greater.
Then restart the swapfile service:
sudo /etc/init.d/dphys-swapfile restart
Proceed with installation as shown above. After you have installed the NCSDK (and optionally OpenCV), you should change the swapfile size back to 100 MB.

Install

To perform the typical installation of the NCSDK, use the following commands on your host machine:

ncsdk2 (lasted V2.08.01 2018-10-04 ) Newest Version!!!

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


ncsdk 2 ( 09 2018 ) Old Version !!!
wget https://ncs-forum-uploads.s3.amazonaws.com/ncsdk/ncsdk-02_05_00_02-full/ncsdk-2.05.00.02.tar.gz

tar xvf ncsdk-2.05.00.02.tar.gz

cd ncsdk-2.05.00.02

make install

make examples


Install Done







Set Python path 

export PYTHONPATH="${PYTHONPATH}:/opt/movidius/caffe/python"

source ~/.bashrc

echo $PYTHONPATH
:/opt/movidius/caffe/python



Example Code 


make examples
It take 2-3 Hours

make examples OK ( no any errors )


Test Python Example Code 

Run Python code   hello_ncs.py


Run Demo

Image Classification


Image Classifier with Python GUI 


Video Objects Detection

Reference

https://software.intel.com/en-us/neural-compute-stick/get-started
https://github.com/movidius/ncappzoo/


My Website
email : info@softpowergroup.net  ,amphancm@gmail.com  Tel .+6681-6452400

ไม่มีความคิดเห็น:

แสดงความคิดเห็น