diff --git a/vision_agent/tools/tools.py b/vision_agent/tools/tools.py index 792f1ba1..b5fe2802 100644 --- a/vision_agent/tools/tools.py +++ b/vision_agent/tools/tools.py @@ -577,7 +577,7 @@ class ExtractFrames(Tool): r"""Extract frames from a video.""" name = "extract_frames_" - description = "'extract_frames_' extracts frames where there is motion detected in a video, returns a list of tuples (frame, timestamp), where timestamp is the relative time in seconds where teh frame was captured. The frame is a local image file path." + description = "'extract_frames_' extracts frames from a video, returns a list of tuples (frame, timestamp), where timestamp is the relative time in seconds where the frame was captured. The frame is a local image file path." usage = { "required_parameters": [{"name": "video_uri", "type": "str"}], "examples": [ diff --git a/vision_agent/tools/video.py b/vision_agent/tools/video.py index 25df7efc..4eca66af 100644 --- a/vision_agent/tools/video.py +++ b/vision_agent/tools/video.py @@ -15,7 +15,7 @@ def extract_frames_from_video( - video_uri: str, fps: int = 12, motion_detection_threshold: float = 0.06 + video_uri: str, fps: float = 0.5, motion_detection_threshold: float = 0.0 ) -> List[Tuple[np.ndarray, float]]: """Extract frames from a video