2026-04-29-21-51-19 - 全栈系统改造:FastAPI后端+SAM2+PostgreSQL+Redis+MinIO+前端Zustand重构

This commit is contained in:
2026-04-29 22:17:25 +08:00
parent c8f8686097
commit fd4b5e5b3d
39 changed files with 3816 additions and 211 deletions

38
backend/requirements.txt Normal file
View File

@@ -0,0 +1,38 @@
# Web framework
fastapi
uvicorn[standard]
python-multipart
# Database
sqlalchemy
psycopg2-binary
alembic
# Cache / Task queue
redis
celery
# Object storage
minio
# Image / Video / DICOM processing
opencv-python
pillow
scikit-image
pydicom
numpy
# SAM 2 (may require manual installation depending on CUDA version)
sam2
# PyTorch (CUDA 12.4 wheel index; adjust for your CUDA version if needed)
torch
torchvision
torchaudio
# Configuration
pydantic-settings
# Utilities
python-jose[cryptography]
passlib[bcrypt]