优化部署逻辑,不再下载opencv-python(完整版)

This commit is contained in:
sophie committed 2026-05-28 13:28:35 +08:00
1 parent 4cb65337d7
commit 1d72018eb7
4 files changed
+24 -6

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# OCR stack for edkb_system (knowledge-base document image text).
# Docker: installed by backend/Dockerfile (headless first, rapidocr --no-deps).
# Local dev (avoid downloading opencv-python twice):
# pip install -r requirements.txt
# pip install "opencv-python-headless>=4.5.1.48,<5"
# pip install rapidocr-onnxruntime==1.4.4 --no-deps
# pip install pyclipper Shapely six onnxruntime
opencv-python-headless>=4.5.1.48,<5
rapidocr-onnxruntime==1.4.4
pyclipper
Shapely
six
onnxruntime