class_docstr: The post process for Differentiable Binarization (DB).
code: def __init__(self, thresh=0.3, box_thresh=0.5, max_candidates=1000):
      self.thresh = thresh
      self.box_thresh = box_thresh
      self.max_candidates = max_candidates
      self.min_size = 3
  
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 DBPostProcess object from inherited base classes: object with example: obj = DBPostProcess(thresh, box_thresh, max_candidates)