摘要
如何執行 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
解決方法
- 此示範的輸入必須是單一影像、影像資料夾、視訊檔案或攝影機 ID。
- 使用 「0」作為攝影機的輸入。
- 執行 命令:
python3 object_detection_demo.py -m -at -d MYRIAD -i 0
額外資訊