OpenVINO开发小组
直播中

刘辉

8年用户 1161经验值
私信 关注
[问答]

如何执行object_detection_demo.py以使用摄像头作为对象检测Python演示的输入?

     

  • 执行命令: python3 object_detection_demo.py -m person-vehicle-bike-detection-2001.xml -at ssd -d MYRIAD -i cam
  • 遇到错误消息:

    • CAP_IMAGES: can't find starting number (in the name of file): cam in function 'icvExtractPattern'
    • Can't find the image by cam

回帖(1)

田爽

2023-8-15 09:39:44
解决方法        


  • 此演示的输入必须是单个图像、一个图像文件夹、视频文件或摄像头 ID。
  • 使用 “0”作为摄像头的输入。
  • 执行 命令:
    python3 object_detection_demo.py -m  -at  -d MYRIAD -i 0
举报

更多回帖

发帖
×
20
完善资料,
赚取积分