❗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.
❗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-corereleases have been yanked from PyPI and the docs updated.If you already installed
scenedetect-core, please uninstall it and switch toscenedetect(orscenedetect-headless):Existing installs will keep working, but the package will not receive any further updates.
Original Issue
OpenCV ships 4 variants:
None of these can be combined, and right now to simplify things I made
scenedetectdepend onopencv-pythonand the-headlessvariant depend onopencv-python-headless.We might need to further split out the packages into
scenedetect-coreso that downstream projects can decide which exact variant they want to include. That wayscenedetectitself can continue to depend onopencv-pythonwhile other packages (e.g.dvr-scan) can include the contrib variant gracefully.