class_docstr: Making binary mask from detection data with ICDAR format.
  Typically following the process of class `MakeICDARData`.
code: def __init__(self, min_text_size=8, shrink_ratio=0.4, **kwargs):
      self.min_text_size = min_text_size
      self.shrink_ratio = shrink_ratio
      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_shrink_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
  from shapely.geometry import Polygon
  import pyclipper
label_desc: Use image node_id 1 to create a new MakeShrinkMap object from inherited base classes: object with example: obj = MakeShrinkMap(min_text_size, shrink_ratio)