code: def __call__(self, im, im_info):
      im_h, im_w = im.shape[:2]
      h, w = self.size
      if h == im_h and w == im_w:
          im = im.astype(np.float32)
          return im, im_info
  
      canvas = np.ones((h, w, 3), dtype=np.float32)
      canvas *= np.array(self.fill_value, dtype=np.float32)
      canvas[0:im_h, 0:im_w, :] = im.astype(np.float32)
      im = canvas
      return im, im_info
  
imports: import cv2
  import numpy
label_desc: Use image node_id 2 for calling the Pad obj's underlying member method code with example usage: obj.__call__(im, im_info) and returns: im,  im_info, im,  im_info