Files
TERES_fastapi_backend/ocr/requirements.txt

26 lines
508 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# OCR PDF处理模块依赖
# 核心依赖
numpy>=1.21.0
opencv-python>=4.5.0
pillow>=8.0.0
pdfplumber>=0.9.0
onnxruntime>=1.12.0
trio>=0.22.0
# 几何计算依赖
shapely>=1.8.0
pyclipper>=1.2.0
# Web框架依赖
fastapi>=0.100.0
uvicorn[standard]>=0.23.0
pydantic>=2.0.0
# 模型下载依赖
huggingface_hub>=0.16.0
# 可选依赖用于GPU检测和加速
# torch>=1.12.0 # 如果需要GPU支持取消注释并安装
# onnxruntime-gpu>=1.12.0 # 如果需要GPU支持取消注释并安装