Пример #1
0
 def undistorted_image_size(self, image):
     """Height and width of the undistorted image."""
     return io.image_size(self._undistorted_image_file(image))
Пример #2
0
 def image_size(self, image):
     """Height and width of the image."""
     return io.image_size(self._image_file(image))
Пример #3
0
 def undistorted_image_size(self, image: str) -> Tuple[int, int]:
     """Height and width of the undistorted image."""
     return io.image_size(self._undistorted_image_file(image))
Пример #4
0
 def image_size(self, image: str) -> Tuple[int, int]:
     """Height and width of the image."""
     return io.image_size(self._image_file(image))
Пример #5
0
def open_image_size(image_path):
        """Height and width of the image."""
        return io.image_size(image_path)