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, shrink_type="pyclipper"
  ):
      shrink_func_dict = {
          "py": shrink_polygon_py,
          "pyclipper": shrink_polygon_pyclipper,
      }
      self.shrink_func = shrink_func_dict[shrink_type]
      self.min_text_size = min_text_size
      self.shrink_ratio = shrink_ratio
  
file_path: PaddleOCR/benchmark/PaddleOCR_DBNet/data_loader/modules/make_shrink_map.py
imports: import numpy
  import cv2
label_desc: Use image node_id 1 to create a new MakeShrinkMap object  with example: obj = MakeShrinkMap(min_text_size, shrink_ratio, shrink_type)