class_docstr: The post process for SAST.
code: def __init__(
      self,
      score_thresh=0.5,
      nms_thresh=0.2,
      sample_pts_num=2,
      shrink_ratio_of_width=0.3,
      expand_scale=1.0,
      tcl_map_thresh=0.5,
      **kwargs,
  ):
      self.score_thresh = score_thresh
      self.nms_thresh = nms_thresh
      self.sample_pts_num = sample_pts_num
      self.shrink_ratio_of_width = shrink_ratio_of_width
      self.expand_scale = expand_scale
      self.tcl_map_thresh = tcl_map_thresh
  
      # c++ la-nms is faster, but only support python 3.5
      self.is_python35 = False
      if sys.version_info.major == 3 and sys.version_info.minor == 5:
          self.is_python35 = True
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import sys
  import numpy
  from .locality_aware_nms import nms_locality
  import paddle
  import cv2
  import time
label_desc: Use image node_id 1 to create a new SASTPostProcess object from inherited base classes: object with example: obj = SASTPostProcess(score_thresh, nms_thresh, sample_pts_num, shrink_ratio_of_width, expand_scale, tcl_map_thresh)