From 0e943e673ef755ccd361ebe055e56d34ca79be23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=2E=20Garc=C3=ADa-Oca=C3=B1a?= Date: Wed, 14 Jun 2023 10:53:06 +0200 Subject: [PATCH] Update stride definition --- supervision/utils/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervision/utils/video.py b/supervision/utils/video.py index 91946a37..678f2771 100644 --- a/supervision/utils/video.py +++ b/supervision/utils/video.py @@ -105,7 +105,7 @@ def get_video_frames_generator( Args: source_path (str): The path of the video file. - stride (int): The number of frames to skip before returning the next one. + stride (int): Indicates the interval at which frames are returned, skipping stride - 1 frames between each. Returns: (Generator[np.ndarray, None, None]): A generator that yields the frames of the video.