code: def __init__(
      self,
      thresh=0.3,
      box_thresh=0.7,
      max_candidates=1000,
      unclip_ratio=1.5,
  ):
      self.min_size = 3
      self.thresh = thresh
      self.box_thresh = box_thresh
      self.max_candidates = max_candidates
      self.unclip_ratio = unclip_ratio
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/post_processing/seg_detector_representer.py
imports: import cv2
  import numpy
  import pyclipper
  import paddle
  from shapely.geometry import Polygon
label_desc: Use image node_id 1 to create a new SegDetectorRepresenter object  with example: obj = SegDetectorRepresenter(thresh, box_thresh, max_candidates, unclip_ratio)