class_docstr: DB pre-process for Test mode
class_docstr_tok: ["DB","pre-process","for","Test","mode"]
code: def __call__(self, im):
      src_h, src_w, _ = im.shape
      if self.resize_type == 0:
          im, (ratio_h, ratio_w) = self.resize_image_type0(im)
      else:
          im, (ratio_h, ratio_w) = self.resize_image_type1(im)
      im = self.normalize(im)
      im = im[np.newaxis, :]
      return [im, (src_h, src_w, ratio_h, ratio_w)]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import cv2
  import numpy
  import pyclipper
  from PIL import ImageDraw
  from shapely.geometry import Polygon
label_desc: Use image node_id 5 for calling the DBProcessTest obj's underlying member method code with example usage: obj.__call__(im) and returns: list