not round too early
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user