class_docstr: DB pre-process for Test mode
class_docstr_tok: ["DB","pre-process","for","Test","mode"]
code: def __init__(self, params):
      super(DBProcessTest, self).__init__()
      self.resize_type = 0
      if "test_image_shape" in params:
          self.image_shape = params["test_image_shape"]
          self.resize_type = 1
      if "max_side_len" in params:
          self.max_side_len = params["max_side_len"]
      else:
          self.max_side_len = 2400
  
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 1 to create a new DBProcessTest object from inherited base classes: object with example: obj = DBProcessTest(params)