requirements.txt 609 Bytes
# Web Framework
fastapi>=0.104.0
uvicorn[standard]>=0.24.0
python-multipart>=0.0.6

# Machine Learning & Computer Vision
# 使用版本范围,避免CUDA依赖(镜像源会自动提供CPU版本)
torch>=2.0.0,<2.1.0
torchvision>=0.15.0,<0.16.0
faiss-cpu>=1.7.4
opencv-python>=4.8.0
Pillow>=10.0.0

# Database
PyMySQL>=1.1.0
# sqlite3 is built-in to Python, no need to install

# JWT Authentication
python-jose[cryptography]>=3.3.0
passlib[bcrypt]>=1.7.4

# HTTP Requests
httpx>=0.25.0
requests>=2.31.0

# Utilities
python-dotenv>=1.0.0
pyyaml>=6.0.1
numpy>=1.24.0

# Logging & Monitoring
structlog>=23.1.0