op 3979e13ca9 Prevent concurrent RTSP recording on the same camera.
Reserve camera ownership under registry lock before spawning ffmpeg, return 409 for conflicts without retry, and transcode slices to 1080p H.264 for more stable playback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 16:32:55 +08:00
2026-05-25 16:39:08 +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%