intel_NCAPPZOO_apps的例程总结

本文档详述了Intel NCAPPZOO中apps文件夹下各Demo的运行步骤、效果及常见问题,包括street_cam、video_objects、classifier-gui等应用程序。每个应用涉及图像识别、视频处理,需要特定数量的NCS设备,并可能依赖特定库如OpenCV。遇到的问题包括缺少NCS设备、依赖库未安装等,解决方案包括插入更多NCS设备和安装相应Python库。
摘要由CSDN通过智能技术生成

ncappzoo_apps的例程总结

这篇文档主要用于记录NCAPPZOO的apps文件夹中的Demo运行时的方法和注意事项。

[转载请注明出处:阳光明媚 ]

street_cam

注意 需要2个NCS设备

启动步骤

cd ~/ai_ws/ncappzoo/apps/street_cam/
make
(仅第一次)
* 开始下载demo视频
* bus_station_6094_960x540.mp4
* motorcycle_6098_shortened_960x540.mp4
* contrapicado_traffic_shortened_960x540.mp4
* police_car_6095_shortened_960x540.mp4
* scooters_5638_shortened_960x540.mp4

./street_cam.py

运行效果

疑难解答

ai@ai-usb:~/ai_ws/ncappzoo/apps/street_cam$ ./street_cam.py
Running street_cam
Keys:
‘Q’/’q’ to Quit
‘B’/’b’ to inc/dec the Tiny Yolo box probability threshold
‘I’/’i’ to inc/dec the Tiny Yolo box intersection-over-union threshold
‘G’/’g’ to inc/dec the GoogLeNet probability threshold
‘2’ to toggle GoogLeNet classification

This application requires two NCS devices.
Insert two devices and try again!
ai@ai-usb:~/ai_ws/ncappzoo/apps/street_cam$

解决 插入2只NCS设备

文件结构

ai@ai-usb:~/ai_ws/ncappzoo/apps/street_cam$ tree ./
./
├── bus_station_6094_960x540.mp4
├── contrapicado_traffic_shortened_960x540.mp4
├── googlenet.graph
├── install-opencv-from_source.sh
├── licenses.txt
├── Makefile
├── motorcycle_6098_shortened_960x540.mp4
├── police_car_6095_shortened_960x540.mp4
├── README.md
├── scooters_5638_shortened_960x540.mp4
├── street_cam.py
└── yolo_tiny.graph

0 directories, 12 files


video_objects

启动步骤

cd ~/ai_ws/ncappzoo/apps/video_objects/
make
(仅第一次)
* 开始下载demo视频
* bus_station_6094_960x540.mp4
* motorcycle_6098_shortened_960x540.mp4
* contrapicado_traffic_shortened_960x540.mp4
* police_car_6095_shortened_960x540.mp4
* scooters_5638_shortened_960x540.mp4

./video_objects.py

运行效果

与street_cam效果类似
只需要单只NCS设备即可使用

文件结构

./
├── bus_station_6094_960x540.mp4
├── contrapicado_traffic_shortened_960x540.mp4
├── graph
├── install-opencv-from_source.sh
├── licenses.txt
├── Makefile
├── motorcycle_6098_shortened_960x540.mp4
├── police_car_6095_shortened_960x540.mp4
├── README.md
├── scooters_5638_shortened_960x540.mp4
└── video_objects.py

0 directories, 11 files


classifier-gui

注意 需要python的tkinter库

启动步骤

cd ~/ai_ws/ncappzoo/apps/classifier-gui/
make
(仅第一次)
./classifier-gui.py

运行效果

参见./apps_demo_run/Classifier-GUI_Demo_run.png

ai@ai-usb:~/ai_ws/ncappzoo/apps/classifier-gui$ ./classifier-gui.py
Reading package lists… Done
Building dependency tree
Reading state information… Done
python3-pil.imagetk is already the newest version (3.1.2-0ubuntu1.1).
The following packages were automatically installed and are no longer required:
libgtkglext1 libllvm4.0 libopencv-calib3d2.4v5 libopencv-contrib2.4v5
libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-gpu2.4v5
libopencv-high

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值