code: def __call__(self, data):
      img = data["image"]
      pad_h, pad_w = self.size
      padding_img = np.zeros((pad_h, pad_w, 3), dtype=np.float32)
      height, width = img.shape[0:2]
      padding_img[0:height, 0:width, :] = img.copy()
      data["image"] = padding_img
      shape = data["shape"].tolist()
      shape.extend([pad_h, pad_w])
      data["shape"] = np.array(shape)
      return data
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import sys
  import six
  import cv2
  import numpy
label_desc: Use image node_id 2 for calling the PaddingTableImage obj's underlying member method code with example usage: obj.__call__(data) and returns: data