Summary
How to execute object_detection_demo.py to use the camera as the input for the Object Detection Python Demo
Description
- Executed the command: python3 object_detection_demo.py -m person-vehicle-bike-detection-2001.xml -at ssd -d MYRIAD -i cam
- Encountered error messages:
- CAP_IMAGES: can't find starting number (in the name of file): cam in function 'icvExtractPattern'
- Can't find the image by cam
Resolution
- The input for this demo must be a single image, a folder of images, video file or camera id.
- Use "0" as the input for the camera.
- Execute the command:
python3 object_detection_demo.py -m <Path_to_model.xml> -at <type_of_model_architecture> -d MYRIAD -i 0
Additional information
Refer to object_detection_demo.py.