class_docstr: Crop the image at the center
class_docstr_tok: ["Crop","the","image","at","the","center"]
code: def get_transform(self, img):
      orig_shape = img.shape
      assert (
          orig_shape[0] >= self.crop_shape[0]
          and orig_shape[1] >= self.crop_shape[1]
      ), orig_shape
      h0 = int((orig_shape[0] - self.crop_shape[0]) * 0.5)
      w0 = int((orig_shape[1] - self.crop_shape[1]) * 0.5)
      return CropTransform(
          h0, w0, self.crop_shape[0], self.crop_shape[1]
      )
  
imports: import numpy
  import cv2
  from ...utils.argtools import shape2d
  from ...utils.develop import log_deprecated
  from .base import ImageAugmentor, ImagePlaceholder
  from .transform import CropTransform, TransformList, ResizeTransform, PhotometricTransform
  from .misc import ResizeShortestEdge
label_desc: Use image node_id 2 for calling the CenterCrop obj's underlying member method code with example usage: obj.get_transform(img) and returns: CropTransform