Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6404 Discussions

-i argument in Openvino image retrieval demo

zhang__zihao
Beginner
489 Views

Hello

I am following the guide in https://docs.openvinotoolkit.org/2020.3/_demos_python_demos_image_retrieval_demo_README.html

I see argument -i

-i I Required. Path to a video file or a device node of a
web-camera.
But when I tried on my MacBook with -i 0 in order to access web demo
It returns 
 

File "/Users/tommy/notebook/openvino-notebook/image-retrieval/image_retrieval_demo/image_retrieval_demo/roi_detector_on_video.py", line 29, in __init__

    raise Exception('File not found: {}'.format(path))

Exception: File not found: 0

What should I do to access web camera to do image retrieval.

 

 

0 Kudos
1 Reply
Sahira_Intel
Moderator
466 Views

Hi,

Are you trying to access the integrated webcam or a USB webcam for this?


Sincerely,

Sahira


0 Kudos
Reply