Skip to content

Use opencv-python-headless instead of opencv-python as a dependency #2006

@helpmefindaname

Description

@helpmefindaname

🚀 The feature

Loosen up the dependencies by only requiring the headless version of opencv

Motivation, pitch

Similar to onnxtr https://github.com/felixdittrich92/OnnxTR/blob/main/pyproject.toml#L64 it would be good to have an option to only install the headless version of opencv. As this project doesn't explicitely use opencv-gui anywhere, it shouldn't require to install the gui-libraries.

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions