- Add FastAPI routes for surgery start/end, results, pending confirmation (WAV upload), and health checks. - Implement RTSP/Hikvision capture, consumable classification, session manager, MinIO/Baidu voice resolution, and DB persistence. - Add documentation (client API, video backends, staging checklist) and sample camera/RTSP config. - Add pytest suite (API contract, session manager, voice, repositories, pipeline persistence) and httpx dev dependency. - Replace deprecated HTTP_422_UNPROCESSABLE_ENTITY with HTTP_422_UNPROCESSABLE_CONTENT. - Fix SurgeryPipeline DB reads to use an explicit transaction with autobegin disabled. Made-with: Cursor
6 lines
194 B
Python
6 lines
194 B
Python
"""Video capture backends: RTSP (OpenCV) and optional Hikvision HCNetSDK (Linux .so)."""
|
|
|
|
from app.services.video.session_manager import CameraSessionManager
|
|
|
|
__all__ = ["CameraSessionManager"]
|