Skip to content
This repository has been archived by the owner on Aug 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from kaylode/fix
Browse files Browse the repository at this point in the history
fix empty frame
  • Loading branch information
kaylode committed Feb 8, 2022
2 parents 2319714 + f396a62 commit 5007a54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def run(self):
frame_id = batch['frames'][i]

ori_img = ori_imgs[i]

if len(boxes) == 0:
continue
track_result = self.tracker.run(ori_img, boxes, labels, scores)


Expand Down

0 comments on commit 5007a54

Please sign in to comment.