Skip to content

Create base package that does not depend on OpenCV variant #558

Description

@Breakthrough

❗Reverted

This needed to be reverted unfortunately - trying to actually depend on scenedetect-core precludes any downstream package from being installed with scenedetect as well. The scenedetect-core releases have been yanked from PyPI and the docs updated.

If you already installed scenedetect-core, please uninstall it and switch to scenedetect (or scenedetect-headless):

pip uninstall scenedetect-core
pip install scenedetect

Existing installs will keep working, but the package will not receive any further updates.

Original Issue

OpenCV ships 4 variants:

  • opencv-python
  • opencv-contrib-python
  • opencv-python-headless
  • opencv-contrib-python-headless

None of these can be combined, and right now to simplify things I made scenedetect depend on opencv-python and the -headless variant depend on opencv-python-headless.

We might need to further split out the packages into scenedetect-core so that downstream projects can decide which exact variant they want to include. That way scenedetect itself can continue to depend on opencv-python while other packages (e.g. dvr-scan) can include the contrib variant gracefully.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions