mokuro: use opencv-python

This commit is contained in:
Robert Schütz 2024-11-02 16:54:35 -07:00
parent 614e5f946c
commit 3db8bbd41a

View File

@ -17,12 +17,6 @@ python3Packages.buildPythonApplication rec {
fetchSubmodules = true; fetchSubmodules = true;
}; };
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'opencv-python' 'opencv'
'';
pythonRelaxDeps = [ "torchvision" ]; pythonRelaxDeps = [ "torchvision" ];
build-system = with python3Packages; [ setuptools-scm ]; build-system = with python3Packages; [ setuptools-scm ];
@ -33,7 +27,7 @@ python3Packages.buildPythonApplication rec {
manga-ocr manga-ocr
natsort natsort
numpy numpy
opencv4 opencv-python
pillow pillow
pyclipper pyclipper
requests requests