Skip to content

Require opencv-python-headless by default #130

@fabito

Description

@fabito

Search before asking

  • I have searched the Supervision issues and found no similar feature requests.

Description

Installing supervision indirectly installs opencv-python package as a dependency.
It would be nice to make it optional or replace opencv-python by opencv-python-headless.

Use case

For production inference environments we usually don't want/need to install/depend on GUI packages and libraries.

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestversion: 0.12.0Feature to be added in `0.12.0` release

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions