code: def decode_image(im):
      im = np.array(im)
      img_info = {
          "im_shape": np.array(im.shape[:2], dtype=np.float32),
          "scale_factor": np.array([1.0, 1.0], dtype=np.float32),
      }
      return im, img_info
  
imports: import numpy
  import cv2
  import copy
label_desc: Use image node_id 1 for calling a global function with example usage: decode_image(im) and returns: im,  img_info