code: def _get_imsize(self, im_name):
          
          img = cv2.imread(im_name)
          return (img.shape[0], img.shape[1])
docs: get image size info
          Returns:
          ----------
          tuple of (height, width)