30e6acea70322d53ecc059e2a6cbad5429a5395a
Route live recording through ffmpeg MP4 segments and the 5.15 batch subprocess, remove simulated RTSP chain 2, purge expired slices on startup and hourly, and expose TTL settings to the demo client. Co-authored-by: Cursor <cursoragent@cursor.com>
Operation Room Monitor
手术室耗材监控:后端 API(GPU 推理)+ 独立浏览器客户端。
目录结构
.
├── backend/ # FastAPI + PostgreSQL + MinIO
│ ├── app/ # 业务与算法
│ ├── docker-compose.yml
│ ├── Dockerfile
│ ├── .env.example
│ └── ...
├── clients/ # 独立前端(手动部署)
│ ├── demo-client/ # 联调 Demo 页 (:38081)
│ └── voice-confirmation/ # 语音确认页 (:8080)
└── docs/ # 部署与接口文档
快速开始
# 1. 配置并启动后端(在 backend/ 目录)
cp backend/.env.example backend/.env # 编辑配置
cd backend && docker compose up -d --build
# 2. 启动客户端(各开终端)
cd clients/demo-client && ./start.sh
cd clients/voice-confirmation && ./start.sh
- API:
http://<服务器IP>:38080 - Demo:
http://<服务器IP>:38081 - 语音确认:
http://<服务器IP>:8080
文档
Description
Languages
Python
89.5%
JavaScript
6.4%
HTML
1.6%
CSS
1.1%
Shell
0.6%
Other
0.8%