Skip to content

Commit f1f6b2f

Browse files
committed
fix limit
1 parent f1ed096 commit f1f6b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/superannotate/lib/core/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def extract_frames(
288288
for frame in VideoPlugin.frames_generator(
289289
video_path, start_time, end_time, target_fps
290290
):
291-
if len(extracted_frames_paths) > limit:
291+
if len(extracted_frames_paths) >= limit:
292292
break
293293
path = str(
294294
Path(extract_path)

0 commit comments

Comments
 (0)