Skip to content

Error line 33 - initializing camera #2

@ooftv

Description

@ooftv

I had to change line 33 from:
self.capture = cv2.VideoCapture(cv2.CAP_DSHOW)
to
self.capture = cv2.VideoCapture(0)
in order to work with the built-in webcam on a macbook pro running Mojave.

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