code: def __init__(self, max_side_len=960):
      self.max_side_len = max_side_len
  
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 DBPreProcess object from inherited base classes: object with example: obj = DBPreProcess(max_side_len)