code: def __init__(
      self, shrink_ratio=0.4, thresh_min=0.3, thresh_max=0.7, **kwargs
  ):
      self.shrink_ratio = shrink_ratio
      self.thresh_min = thresh_min
      self.thresh_max = thresh_max
      if (
          "total_epoch" in kwargs
          and "epoch" in kwargs
          and kwargs["epoch"] != "None"
      ):
          self.shrink_ratio = self.shrink_ratio + 0.2 * kwargs[
              "epoch"
          ] / float(kwargs["total_epoch"])
  
file_path: PaddleOCR/ppocr/data/imaug/make_border_map.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  import cv2
  import pyclipper
  from shapely.geometry import Polygon
  import sys
  import warnings
label_desc: Use image node_id 1 to create a new MakeBorderMap object from inherited base classes: object with example: obj = MakeBorderMap(shrink_ratio, thresh_min, thresh_max)