Skip to content

Improve OpenCV camera backend #2050

Open
@Starbuck5

Description

@Starbuck5

I believe there a few problems with it now.

Problems:

  • OpenCV needs an explicit backend passed in now?
  • OpenCV can report webcam FPS as 0, leads to a divide by zero in the opencv backend

I'd like someone to investigate these and verify functionality. You can select the opencv backend by passing "opencv" into pygame.camera.init's backend argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    camerapygame.camera

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions