recommend centos7

github

Openvino

tooltiks

1. download

openvino addational installation for ncs2

ncs2 get start

browser download https://pan.baidu.com/s/1jN3gP2TDndeguqqGFS78GQ  to ~/obama.mp4

2. install ui

install gnome UI

Report error:

Transaction check error:
file /boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7.centos.2.noarch

resolve by  fwupdate-efi conflicts with grub2-common

centOS7下安装GUI图形界面

install rdp

2. Movidius

视频介绍

install in a VM

org doc 

ncsdk 和 openvino 没有关系。

doc1:

cd /opt/intel/computer_vision_sdk/deployment_tools/documentation
python3 -m http.server

doc2:

/opt/intel/computer_vision_sdk/deployment_tools/intel_models
python3 -m http.server 8001

  

 

3. build exmaple

cd /opt/intel/computer_vision_sdk/deployment_tools/inference_engine/samples
./build_samples.sh
echo "PATH=\$PATH:$HOME/inference_engine_samples_build/intel64/Release" >> ~/.bashrc
source ~/.bashrc # Build completed, you can find binaries for all samples in the /home/user/inference_engine_samples_build/intel64/Release subfolder.

  

ls /opt/intel/computer_vision_sdk/deployment_tools/intel_models

  

4.  Pre-Trained Models (Open Model Zoo)

echo "MZOOPATH=/opt/intel/computer_vision_sdk/deployment_tools/intel_models" >> ~/.bashrc
source ~/.bashrc

  

5. download new Model

cd /opt/intel/computer_vision_sdk/deployment_tools/model_downloader
echo "PATH=\$PATH:/opt/intel/computer_vision_sdk/deployment_tools/model_downloader" >> ~/.bashrc
echo "PATH=\$PATH:/opt/intel/computer_vision_sdk/deployment_tools/model_optimizer" >> ~/.bashrc
source ~/.bashrc
# python3 downloader.py --name alexnet
downloader.py --name alexnet
cd $HOME/classification/alexnet/caffe/
# python3 mo.py --input_model alexnet.caffemodel
mo.py --input_model alexnet.caffemodel

6. classification   

wget  https://www.petmd.com/sites/default/files/what-does-it-mean-when-cat-wags-tail.jpg -O cat.jpg

classification_sample -i cat.jpg -m alexnet.xml -nt 5

7.  Security Barrier Camera Demo

cd $MZOOPATH

security_barrier_camera_demo -i vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-1.png vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml

security_barrier_camera_demo -i  vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml

security_barrier_camera_demo -i vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-1.png vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml

security_barrier_camera_demo -i vehicle-license-plate-detection-barrier-0106/description/vehicle-license-plate-detection-barrier-0106.jpeg vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml

security_barrier_camera_demo -i license-plate-recognition-barrier-0001/description/license-plate-recognition-barrier-0001.png vehicle-attributes-recognition-barrier-0039/description/vehicle-attributes-recognition-barrier-0039-2.png  -m vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml -m_va vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml -m_lpr license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml

8. Object Detection for Faster R-CNN Demo

mkdir -p ~/ObjDetection/faster_rcnn/caffe
cd ~/ObjDetection/faster_rcnn/caffe wget https://raw.githubusercontent.com/rbgirshick/py-faster-rcnn/master/models/pascal_voc/VGG16/faster_rcnn_end2end/test.prototxt # curl -k -O -L https://dl.dropboxusercontent.com/s/o6ii098bu51d139/faster_rcnn_models.tgz?dl=0 mv faster_rcnn_models.tgz* faster_rcnn_models.tgz
tar -zxvf faster_rcnn_models.tgz
# cd faster_rcnn_models/
mo_caffe.py --input_model faster_rcnn_models/VGG16_faster_rcnn_final.caffemodel --input_proto test.prototxt object_detection_demo -i $MZOOPATH/person-detection-retail-0002/description/person-detection-retail-0002.png -m VGG16_faster_rcnn_final.xml
cd $MZOOPATH
object_detection_demo -i $MZOOPATH/person-detection-retail-0002/description/person-detection-retail-0002.png -m person-detection-retail-0002/FP32/person-detection-retail-0002.xml --bbox_name detector/bbox/ave_pred -d CPU

8. Object Detection SSD Demo, Async API Performance Showcase

object_detection_demo_ssd_async -i <path_to_video>/inputVideo.mp4 -m <path_to_model>/ssd.xml -d GPU

9. Object Detection with SSD-VGG Sample

object_detection_sample_ssd -i $MZOOPATH/person-detection-retail-0013/description/person-detection-retail-0013.png -m $MZOOPATH/person-detection-retail-0013/FP32/person-detection-retail-0013.xml

10. TensorFlow* Object Detection Mask R-CNNs Segmentation Demo

./mask_rcnn_demo -i <path_to_image>/inputImage.bmp -m <path_to_model>/faster_rcnn.xml

  

11. Automatic Speech Recognition Sample

通俗理解生成对抗网络GAN

mkdir -p ~/kaldi/gna/
cd ~/kaldi/gna/
wget https://download.01.org/openvinotoolkit/2018_R3/models_contrib/GNA/wsj_dnn5b_smbr/wsj_dnn5b.counts wget https://download.01.org/openvinotoolkit/2018_R3/models_contrib/GNA/wsj_dnn5b_smbr/wsj_dnn5b.nnet wget https://download.01.org/openvinotoolkit/2018_R3/models_contrib/GNA/wsj_dnn5b_smbr/dev93_scores_10.ark wget https://download.01.org/openvinotoolkit/2018_R3/models_contrib/GNA/wsj_dnn5b_smbr/dev93_10.ark mo.py --framework kaldi --input_model wsj*.nnet --counts wsj*.counts --remove_output_softmax speech_sample -d GNA_AUTO -bs 2 -i dev93_10.ark -m wsj_dnn5b.xml -o scores.ark -r dev93_scores_10.ark

  

12. Use of Sample in Kaldi* Speech Recognition Pipeline

普及 Kaldi

Kaldi(A1)语音识别原理

kaldi上第一个免费的中文语音识别例子

...

13. Neural Style Transfer Sample

$ locate  cat.jpg
/home/user/ncappzoo/data/images/cat.jpg
/home/user/ncsdk/examples/data/images/cat.jpg
/opt/movidius/ssd-caffe/examples/images/cat.jpg

./style_transfer_sample -i <path_to_image>/cat.bmp -m <path_to_model>/1_decoder_FP32.xml

14. Hello Infer Request Classification Sample

cd $HOME/classification/alexnet/caffe/
hello_request_classification alexnet.xml /home/user/ncsdk/examples/data/images/cat.jpg CPU

  

15. Interactive Face Detection Demo

16. Image Segmentation Demo

17. Crossroad Camera Demo

cd $MZOOPATH
crossroad_camera_demo -i vdieo.mp4 -m person-vehicle-bike-detection-crossroad-0078/FP32/person-vehicle-bike-detection-crossroad-0078.xml -m_pa person-attributes-recognition-crossroad-0200/FP32/person-attributes-recognition-crossroad-0200.xml -m_reid person-reidentification-retail-0079/FP32/person-reidentification-retail-0079.xml

  

18. Multi-Channel Face Detection Demo

multi-channel-demo -m $MZOOPATH/face-detection-retail-0004/FP32/face-detection-retail-0004.xml \
-l $HOME/inference_engine_samples_build/intel64/Release/lib/libcpu_extension.so \
-nc 1 -duplicate_num 3
  

 

19. Hello Autoresize Classification Sample

cd $HOME/classification/alexnet/caffe/
hello_autoresize_classification alexnet.xml /home/user/ncsdk/examples/data/images/cat.jpg CPU

  

20. Hello Shape Infer Sample

./hello_shape_infer_ssd <path_to_model>/ssd_300.xml <path_to_image>/500x500.bmp CPU 3

21. Human Pose Estimation Demo

human_pose_estimation_demo -i ~/obama.mp4 -m $MZOOPATH/human-pose-estimation-0001/FP32/human-pose-estimation-0001.xml -d CPU

22. Object Detection YOLO* V3 Demo, Async API Performance Showcase

object_detection_demo_yolov3_async -i <path_to_video>/inputVideo.mp4 -m <path_to_model>/yolo_v3.xml -d GPU

23. Pedestrian Tracker Demo

pedestrian_tracker_demo -i ~/obama.mp4 -m_det $MZOOPATH/person-detection-retail-0013/FP32/person-detection-retail-0013.xml -m_reid $MZOOPATH/person-reidentification-retail-0031/FP32/person-reidentification-retail-0031.xml

  

24. Smart Classroom Demo

./smart_classroom_demo -m_act <path to the person/action detection retail model .xml file> -m_fd <path to the face detection retail model .xml file> -m_reid <path to the face reidentification retail model .xml file> -m_lm <path to the landmarks regression retail model .xml file> -fg <path to faces_gallery.json> -i <path to the input video>

25. Super Resolution Demo

./super_resolution_demo -i <path_to_image>/image.bmp -m <path_to_model>/model.xml

26. Using the Validation Application to Check Accuracy on a Dataset

cd ~
git clone -b ssd https://github.com/weiliu89/caffe.git
cd caffe
git branch
cd .. wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar
tar -xvf VOCtest_06-Nov-2007.tar

  

sed -i -e "s/^\(INCLUDE_DIRS := \$(PYTHON_INCLUDE) \/usr\/local\/include\)/\1 \/usr\/incl
ude\/hdf5\/serial\//" Makefile.config sed -i -e "s/hdf5_hl hdf5/hdf5_serial_hl hdf5_serial/" Makefile

  

Hardware-accelerated Function-as-a-Service Using AWS Greengrass* (Beta)

linux install Openvino的更多相关文章

  1. linux install wineQQ

    Linux上没有QQ太麻烦了,查了一下讲wineQQ安装上去了,亲测可以使用滴---就是版本低,安装步骤如下: 一.安装Wine 1.添加PPA sudo add-apt-repository ppa ...

  2. linux install Theano+Tensorflow+Keras

    安装过程中,网络状态一定要好,如果安装过程中出现time out的提示信息,今天就可以洗洗睡啦,等明天网络状态好的时候再安装. 安装过程出现不知名的错误的时候,执行第一步,update一下 1.#up ...

  3. linux install sublime_text3

    ubuntu & debian: (baidu or google) 1). download ***.deb to install inux系统下怎么安装.deb文件? deb 是 ubun ...

  4. Linux install sogou input method

    # Copyright (c) 2016, 付刘伟 (Liuwei Fu)# All rights reserved.# 转载请注明出处 Linux下安装搜狗输入法需要安装以下插件,当以下所有插件安装 ...

  5. linux install tomcat

    折腾了好久,按照官网的安装流程安装了不止3次,发现还是不能成功,最终发现是linux机器本身的问题,因为我用的公司的virtual machine,可能是机器本身在一次迁移的过程当中出现了问题,导致了 ...

  6. 2018 kali linux install tools

    1.VM setup https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html VMware-Wo ...

  7. RHEL / CentOS Linux Install Core Development Tools Automake, Gcc (C/C++), Perl, Python & Debuggers

    how do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after install ...

  8. linux install mysql

    sudo apt-get install mysql-server #此处会输入root的密码,设置的密码要记住 sudo apt-get install mysql-client sudo apt- ...

  9. linux install StarDict

    1. sudo apt-get install stardict 2. Downloads from: http://abloz.com/huzheng/stardict-dic/zh_CN/ 3. ...

随机推荐

  1. 学习ActiveMQ(六):JMS消息的确认与重发机制

    当我们发送消息的时候,会出现发送失败的情况,此时我们需要用到activemq为我们提供了消息重发机制,进行消息的重新发送.那么我们怎么知道消息有没有发送失败呢?activemq还有消息确认机制,消费者 ...

  2. NodeJS笔记(四) NPM 指令--- npm start

    在上一节中使用我们使用下面的指令启动了Express的demo APP项目 npm start 这个指令具体执行了哪些内容呢? Node.js新版本改变了启动方式,npm start  会执行  bi ...

  3. java程序如何正确的打日志

    什么是日志 简单的说,日志就是记录程序的运行轨迹,方便查找关键信息,也方便快速定位解决问题. 我们 Java 程序员在开发项目时都是依赖 Eclipse/ Idea 等开发工具的 Debug 调试功能 ...

  4. cnblogs

    想注册个博客园来着的,看着大佬们的博客都十分漂亮,但是发现我因为太菜没有办法搞定美化问题. 以后再说吧 写写东西,反正也没人看,但是写的时候尽量按给别人看的格式写吧 2019.3.15 开通博客 计划 ...

  5. U盘挂载指令

    相关步骤来自于百度 1.先确定U盘格式,如果是ntfs格式,需要先安装3g-ntfs这个软件支持ntfs格式,以下默认U盘为fat32格式 2.使用fdisk -l 查看分区表,找到u盘的设备号,比如 ...

  6. action,func简洁用法

     new Action(() => { }).Invoke();new Action(() => { })();    new Func<int, int>(s => { ...

  7. C#基础加强(6)之引用相等与运算符重载

    引用相等 介绍 在 C# 中可以通过 object.ReferenceEquals(obj1, obj2) 方法来判断两个变量引用的是不是同一个地址,如果是,那么就是引用相等. 引用相等是针对引用类型 ...

  8. AngularJS简单例子

    双大括号标记{{}}绑定的表达式 <html ng-app> <script src="http://code.angularjs.org/angular-1.0.1.mi ...

  9. #WEB安全基础 : HTTP协议 | 0x10 请求和响应报文重点结构及常见头部

    你需要认识一些常见的头部以及了解报文的详细结构 请求报文的请求行 GET/HTTP/1.1 响应报文的响应行 HTTP/1.1 200 OK 想必这些大家都知道了 请求 我访问一个页面 Host // ...

  10. Vue学习之路---No.3(分享心得,欢迎批评指正)

    同样的,我们先来回顾一下昨天学习的内容: 1.利用v-once来组织双向绑定 2.filter{}过滤器的使用(详情请看上一章) 3.computed(计算属性),利用computed属性实现filt ...