Skip to content

Commit

Permalink
Merge pull request #150 from tryolabs/fix-148
Browse files Browse the repository at this point in the history
Fixed draw_tracked_boxes when draw_box is False
  • Loading branch information
javiber authored Aug 23, 2022
2 parents 4b5081a + aeec803 commit 525ef7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion norfair/drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ def draw_tracked_boxes(
else:
color = border_colors[n % len(border_colors)]

points = obj.estimate
if draw_box:
points = obj.estimate
points = points.astype(int)
cv2.rectangle(
frame,
Expand Down

0 comments on commit 525ef7d

Please sign in to comment.