class_docstr: Image Preprocessing.
  
  Base class for applying real-time image related pre-processing.
  
  This class is meant to be used as an argument of `input_data`. When training
  a model, the defined pre-processing methods will be applied at both
  training and testing time. Note that ImageAugmentation is similar to
  ImagePreprocessing, but only applies at training time.
class_docstr_tok: ["Image","Preprocessing",".","Base","class","for","applying","real-time","image","related","pre-processing",".","This","class","is","meant","to","be","used","as","an","argument","of","`","input_data","`",".","When","training","a","model",",","the","defined","pre-processing","methods","will","be","applied","at","both","training","and","testing","time",".","Note","that","ImageAugmentation","is","similar","to","ImagePreprocessing",",","but","only","applies","at","training","time","."]
docstr: add_crop_center.
  
  Crop the center of an image.
  
  Arguments:
      shape: `tuple` of `int`. The croping shape (height, width).
  
  Returns:
      Nothing.
docstr_tok: ["add_crop_center",".","Crop","the","center","of","an","image",".","Arguments",":","shape",":","`","tuple","`","of","`","int","`",".","The","croping","shape","(","height",",","width",")",".","Returns",":","Nothing","."]
code: def add_crop_center(self, shape):
      """add_crop_center.
  
      Crop the center of an image.
  
      Arguments:
          shape: `tuple` of `int`. The croping shape (height, width).
  
      Returns:
          Nothing.
  
      """
      self.methods.append(self._crop_center)
      self.args.append([shape])
  
imports: from __future__ import division, print_function, absolute_import
  import numpy
  import pickle
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the ImagePreprocessing obj's underlying member method code with example usage: obj.add_crop_center(shape) without return types