[AZ-180] Refactor detection event handling and improve SSE support

- Updated the detection image endpoint to require a channel ID for event streaming.
- Introduced a new endpoint for streaming detection events, allowing clients to receive real-time updates.
- Enhanced the internal buffering mechanism for detection events to manage multiple channels.
- Refactored the inference module to support the new event handling structure.

Made-with: Cursor
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-03 02:42:05 +03:00
parent 2c35e59a77
commit 8baa96978b
26 changed files with 819 additions and 413 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ fastapi==0.135.2
uvicorn[standard]==0.42.0
PyJWT==2.12.1
h11==0.16.0
python-multipart>=1.3.1
python-multipart==0.0.22
Cython==3.2.4
opencv-python==4.10.0.84
numpy==2.3.0