[AZ-178] Implement streaming video detection endpoint

- Added `/detect/video` endpoint for true streaming video detection, allowing inference to start as upload bytes arrive.
- Introduced `run_detect_video_stream` method in the inference module to handle video processing from a file-like object.
- Updated media hashing to include a new function for computing hashes directly from files with minimal I/O.
- Enhanced documentation to reflect changes in video processing and API behavior.

Made-with: Cursor
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-01 03:11:43 +03:00
parent e65d8da6a3
commit be4cab4fcb
42 changed files with 2983 additions and 29 deletions
+3
View File
@@ -19,6 +19,9 @@ trap cleanup EXIT
PY="$(command -v python3 2>/dev/null || command -v python 2>/dev/null || echo python)"
echo "Installing dependencies ..."
"$PY" -m pip install -q -r "$ROOT/requirements.txt" -r "$ROOT/e2e/requirements.txt"
echo "Building Cython extensions ..."
"$PY" setup.py build_ext --inplace