Kevin d6f4590969 Clarify surgery result errors and expose offline batch timing.
Return specific codes when results are unavailable (not started vs in progress vs ended empty), block duplicate starts with SURGERY_ALREADY_RECORDING, and show text/video/total durations in the demo client.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 14:01:25 +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%