code: def __init__(self, main_indicator="hmean", **kwargs):
      self.main_indicator = main_indicator
      self.reset()
      self.node = []
      self.gt = []
  
file_path: PaddleOCR/ppocr/metrics/kie_metric.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import paddle
label_desc: Use image node_id 1 to create a new KIEMetric object from inherited base classes: object with example: obj = KIEMetric(main_indicator)