class_docstr: Merge text components and construct boundaries of text instances.
  
  Args:
      link_thr (float): The edge score threshold.
code: def __init__(self, link_thr, **kwargs):
      assert isinstance(link_thr, float)
      self.link_thr = link_thr
  
imports: import functools
  import operator
  import numpy
  import paddle
  from numpy.linalg import norm
  import cv2
label_desc: Use image node_id 1 to create a new DRRGPostprocess object from inherited base classes: object with example: obj = DRRGPostprocess(link_thr)