Skip to content

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

Closed

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.

Activity

  1. added this to the 0.7.1 milestone on Jul 5, 2026
  2. Breakthrough commented on Jul 22, 2026

    @Breakthrough
    OwnerAuthor

    Done in c1fcb79 for v0.7.1: the repo root now builds scenedetect-core (numpy-only deps, no OpenCV variant, no CLI), with scenedetect / scenedetect-headless built from packaging/variants/ via packaging/build_all.py. Convenience extras scenedetect-core[opencv] and scenedetect-core[opencv-headless] are included. See the 0.7.1 changelog entry for details.

  3. Breakthrough commented on Jul 23, 2026

    @Breakthrough
    OwnerAuthor

    This needs to be reverted unfortunately - trying to actually depend on scenedetect-core precludes any downstream package from being installed with scenedetect as well. Will yank the -core release and update docs ASAP.

    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.

  4. added a commit that references this issue on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions