Kevin 09885b4184 实现 video batch 自动清理与按需标注视频,并补充子进程调用测试。
batch 完成后仅保留数据库文本结果,勾选时才生成临时标注视频(24h TTL);新增 FastAPI 到 reference bundle 与 algorithm_runner 的单元测试。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 16:30:48 +08:00

Operation Room Monitor

手术室耗材监控:后端 APIGPU 推理)+ 独立浏览器客户端。

目录结构

.
├── 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
  • APIhttp://<服务器IP>:38080
  • Demohttp://<服务器IP>:38081
  • 语音确认:http://<服务器IP>:8080

文档

Description
No description provided
Readme 1.9 GiB
Languages
Python 89.5%
JavaScript 6.4%
HTML 1.6%
CSS 1.1%
Shell 0.6%
Other 0.8%