def _rotate_keypoint_to_bottom_right(self, keypoint: cv2.KeyPoint) -> None:
current_degrees = self._estimate_current_anticlockwise_degrees(keypoint)
self._img = _rotate_image_anticlockwise_without_cropping(-current_degrees, self._img)
self.intermediate_images.append(NamedImage(self._img.copy(), 'Rotated Image'))
评论列表
文章目录