Skip to content

usb cam can't adjust resolution #10

@Steven-ZY

Description

@Steven-ZY

For the same USB camera, the following code is helpful to adjust the resolution. But the nanocamera can't.

capture = cv2.VideoCapture(3)

if capture.isOpened():
    capture.set(cv2.CAP_PROP_FRAME_WIDTH, 640)
    capture.set(cv2.CAP_PROP_FRAME_HEIGHT, 480)

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