def preprocess_image(image, height, width, is_training=False, bbox=None, fast_mode=True):
 if is_training:
  return preprocess_for_train(image, height, width, bbox, fast_mode)
 else:
  return preprocess_for_eval(image, height, width)

def preprocess_image ( image , height , width , is_training = False , bbox = None , fast_mode = True ) : if is_training : return preprocess_for_train ( image , height , width , bbox , fast_mode ) else : return preprocess_for_eval ( image , height , width )
preprocesses the given image .