code: def resize_image(image, max_size=800):
      if max(image.shape[:2]) > max_size:
          scale = float(max_size) / max(image.shape[:2])
          image = cv2.resize(image, None, fx=scale, fy=scale)
      return image
  
file_path: PaddleHub/modules/video/multiple_object_tracking/jde_darknet53/modeling/mot/visualization.py
imports: import cv2
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: resize_image(image, max_size) and returns: image