not round too early

This commit is contained in:
2024-07-03 22:03:59 +02:00
parent 348624c6a2
commit 19d5aedf22
3 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class CornerTracker:
matcher_start_y -= self.ref['offset'][1]
self._print(f"matcher_start : {(matcher_start_x, matcher_start_y)}")
matcher_bbox_local = (round(matcher_start_x), round(matcher_start_y), template.shape[1], template.shape[0])
matcher_bbox_local = (matcher_start_x, matcher_start_y, template.shape[1], template.shape[0])
cv2.imshow(f"{self.name}: Matcher res", matcher_res)
# cv2.imshow("{self.name}: Matcher view", matcher_crop)