mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-10 21:10:55 +08:00
build(python): make OpenCV headless by default with optional GUI support (issue #737)
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -45,6 +45,7 @@ rapidocr = "rapidocr.main:main"
|
||||
|
||||
[project.optional-dependencies]
|
||||
rtl = ["python-bidi>=0.4.2,<1.0"]
|
||||
opencv-python = ["opencv-python>=4.5.1.48"]
|
||||
|
||||
[tool.setuptools]
|
||||
include-package-data = true
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
pyclipper>=1.2.0
|
||||
opencv_python>=4.5.1.48
|
||||
opencv-python-headless>=4.5.1.48
|
||||
numpy>=1.19.5,<3.0.0
|
||||
six>=1.15.0
|
||||
Shapely>=1.7.1,!=2.0.4 # python3.12 2.0.4 bug
|
||||
@@ -8,4 +8,4 @@ Pillow
|
||||
tqdm
|
||||
omegaconf!=2.2.1 # https://github.com/omry/omegaconf/issues/934
|
||||
requests
|
||||
colorlog
|
||||
colorlog
|
||||
Reference in new issue
Block a user