Skip to content

Could not find a backend to open <video0> with iomode r?`. #5

@andysingal

Description

@andysingal

When running:

python3 src/video_stream.py

get error:

Starting video stream... Wait for a few seconds for the stream to the output to start generating.
Traceback (most recent call last):
  File "/workspace/realtime-bakllava/src/video_stream.py", line 18, in <module>
    cap = imageio.get_reader('<video0>')
  File "/usr/local/lib/python3.10/dist-packages/imageio/v2.py", line 290, in get_reader
    image_file = imopen(uri, "r" + mode, **imopen_args)
  File "/usr/local/lib/python3.10/dist-packages/imageio/core/imopen.py", line 281, in imopen
    raise err_type(err_msg)
ValueError: Could not find a backend to open `<video0>`` with iomode `r?`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions