Skip to content

Commit 525ef7d

Browse files
authored
Merge pull request #150 from tryolabs/fix-148
Fixed draw_tracked_boxes when draw_box is False
2 parents 4b5081a + aeec803 commit 525ef7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

norfair/drawing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ def draw_tracked_boxes(
335335
else:
336336
color = border_colors[n % len(border_colors)]
337337

338+
points = obj.estimate
338339
if draw_box:
339-
points = obj.estimate
340340
points = points.astype(int)
341341
cv2.rectangle(
342342
frame,

0 commit comments

Comments
 (0)