Skip to content

Commit 4f62fe6

Browse files
authored
Update misc.py
1 parent 67441a4 commit 4f62fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

motrackers/utils/misc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ def draw_tracks(image, tracks):
267267

268268
text = "ID {}".format(trk_id)
269269

270-
cv.putText(image, text, (xcentroid - 10, ycentroid - 10), cv.FONT_HERSHEY_SIMPLEX, 0.5, (0, 255, 0), 2)
271-
cv.circle(image, (xcentroid, ycentroid), 4, (0, 255, 0), -1)
270+
cv.putText(image, text, (xcentroid - 10, ycentroid - 10), cv.FONT_HERSHEY_SIMPLEX, 0.5, (255, 0, 255), 2)
271+
cv.circle(image, (xcentroid, ycentroid), 4, (255, 0, 255), -1)
272272

273273
return image
274274

0 commit comments

Comments
 (0)