class_docstr: Center crop images
  Args:
      target_size(int): Center crop a square with the target_size from an image.
      do_round(bool): Whether to round up the coordinates of the upper left corner of the cropping area. default: True
class_docstr_tok: ["Center","crop","images","Args",":","target_size","(","int",")",":","Center","crop","a","square","with","the","target_size","from","an","image",".","do_round","(","bool",")",":","Whether","to","round","up","the","coordinates","of","the","upper","left","corner","of","the","cropping","area",".","default",":","True"]
code: def __init__(self, target_size, do_round=True, backend="pillow"):
      self.target_size = target_size
      self.do_round = do_round
      self.backend = backend
  
imports: import cv2
  import numpy
  from PIL import Image
  import paddle
label_desc: Use image node_id 1 to create a new CenterCrop object from inherited base classes: object with example: obj = CenterCrop(target_size, do_round, backend)