code: def yolo4_input_processing(original_image):
      image_data = cv2.resize(original_image, (416, 416))
      image_data = image_data / 255.0
      images_data = []
      for i in range(1):
          images_data.append(image_data)
      images_data = np.asarray(images_data).astype(np.float32)
      batch_data = tf.constant(images_data)
      return batch_data
  
file_path: TensorLayer/tensorlayer/app/computer_vision_object_detection/common.py
imports: import tensorflow
  import colorsys, random, cv2
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: yolo4_input_processing(original_image) and returns: batch_data