Skip to content

Commit

Permalink
[Bug Fix] video_demo bug fixed for issue#11353 (#11451)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun0922 authored Feb 1, 2024
1 parent 44ebd17 commit 76e23d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/video_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def main():
args.out, fourcc, video_reader.fps,
(video_reader.width, video_reader.height))

for frame in track_iter_progress(video_reader):
for frame in track_iter_progress((video_reader, len(video_reader))):
result = inference_detector(model, frame, test_pipeline=test_pipeline)
visualizer.add_datasample(
name='video',
Expand Down

0 comments on commit 76e23d2

Please sign in to comment.