1.下载
第一次运行需要从github上clone open_model_zoo。<user_name>为用户名
cd C:\Users\<user_name>
git clone https://github.com/opencv/open_model_zoo.git
cd /home/kang/open_model_zoo/tools/downloader
查看所有模型:
./downloader.py --print_all
下载模型:
./downloader.py --name human-pose-estimation-0001
记录xml文件下载路径:
/home/kang/open_model_zoo/tools/downloader/Transportation/human_pose_estimation/mobilenet-v1/dldt/FP32/human-pose-estimation-0001.xml
r2.编译
生成omz_demos_build文件夹(第一次执行此步骤,以后不用)
cd /home/kang/open_model_zoo/demos
./build_demos.sh
编译,也可以在omz_demos_build执行编译,则对文件夹下所有模型生效
cd ~/omz_demos_build/multichannel_demo
make -j4
3.运行
cd /home/kang/omz_demos_build/intel64/Releas
来源:https://blog.csdn.net/kan2016/article/details/97637981