round for tracker rect

This commit is contained in:
2024-07-04 20:51:13 +02:00
parent 5077a740e1
commit 7f7d28179e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ trackers = {
'BOOSTING': cv2.legacy.TrackerBoosting,
'MEDIANFLOW': cv2.legacy.TrackerMedianFlow
}
tracker_type = 'KCF'
tracker_type = 'MOSSE'
tracker = trackers[tracker_type].create()
video = cv2.VideoCapture("./data/IMG_1730.MP4")