Commit 9985ebb0 authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.rapidocr-onnxruntime: use opencv-python

parent e4467c1c
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@

  setuptools,
  pyclipper,
  opencv4,
  opencv-python,
  numpy,
  six,
  shapely,
@@ -90,7 +90,7 @@ buildPythonPackage {

  dependencies = [
    pyclipper
    opencv4
    opencv-python
    numpy
    six
    shapely
@@ -99,9 +99,6 @@ buildPythonPackage {
    onnxruntime
  ];

  # Remove because we have adopted the `opencv4` as an attribute name.
  pythonRemoveDeps = [ "opencv-python" ];

  pythonImportsCheck = [ "rapidocr_onnxruntime" ];

  nativeCheckInputs = [ pytestCheckHook ];