Skip to content

how to use a live camera feed instead of a video file #11

@pavitrashah

Description

@pavitrashah

Hi,
I have tried the python code with a camera by ( cap = cv2.VideoCapture(0) ) but it is not working properly, every spot is always detected as occupied and frame are shown as (Frames: 0/-1 ).

So can anyone please help me to modify this code to make it work with camera feed.

And can you please tell me how to slow down the frames processed in a sec in the video mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions