class_docstr: The post process for PSE.
code: def __init__(
      self,
      thresh=0.5,
      box_thresh=0.85,
      min_area=16,
      box_type="quad",
      scale=4,
      **kwargs,
  ):
      assert box_type in [
          "quad",
          "poly",
      ], "Only quad and poly is supported"
      self.thresh = thresh
      self.box_thresh = box_thresh
      self.min_area = min_area
      self.box_type = box_type
      self.scale = scale
  
file_path: PaddleOCR/ppocr/postprocess/pse_postprocess/pse_postprocess.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import cv2
  import paddle
  from paddle.nn import functional
  from ppocr.postprocess.pse_postprocess.pse import pse
label_desc: Use image node_id 1 to create a new PSEPostProcess object from inherited base classes: object with example: obj = PSEPostProcess(thresh, box_thresh, min_area, box_type, scale)