mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 08:56:32 +00:00
[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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user