Skip To Main Content
Support Knowledge Base

Error: “CAP_IMAGES: Can’t Find Starting Number” When Running Object Detection Python* Demo with Pi4 Camera V2

Content Type: Error Messages   |   Article ID: 000059163   |   Last Reviewed: 05/20/2022

Description

  1. Executed the command: python3 object_detection_demo.py -m person-vehicle-bike-detection-2001.xml -at ssd -d MYRIAD -i cam
  2. 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

Related Products

This article applies to 4 products.
Intel® Xeon Phi™ Processor Software OpenVINO™ toolkit Performance Libraries

Discontinued Products

Intel® Developer Cloud for the Edge