Commit ·
4b6305f
1
Parent(s): feba054
Updated default frame rate in video upload processing from 35 to 5 for improved performance.
Browse files
behavior_backend/app/api/routes/videos.py
CHANGED
|
@@ -199,7 +199,7 @@ async def upload_and_process_video(
|
|
| 199 |
@router.post("/upload-and-process-direct", response_model=Dict[str, Any])
|
| 200 |
async def upload_and_process_video_direct(
|
| 201 |
file: UploadFile = File(...),
|
| 202 |
-
frame_rate: int =
|
| 203 |
language: str = "en",
|
| 204 |
backend: str = "mediapipe",
|
| 205 |
generate_annotated_video: bool = False,
|
|
|
|
| 199 |
@router.post("/upload-and-process-direct", response_model=Dict[str, Any])
|
| 200 |
async def upload_and_process_video_direct(
|
| 201 |
file: UploadFile = File(...),
|
| 202 |
+
frame_rate: int = 5,
|
| 203 |
language: str = "en",
|
| 204 |
backend: str = "mediapipe",
|
| 205 |
generate_annotated_video: bool = False,
|