code: def __init__(self, main_indicator="hmean", **kwargs):
      self.evaluator = DetectionIoUEvaluator()
      self.main_indicator = main_indicator
      self.reset()
  
file_path: PaddleOCR/ppocr/metrics/det_metric.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from .eval_det_iou import DetectionIoUEvaluator
label_desc: Use image node_id 1 to create a new DetMetric object from inherited base classes: object with example: obj = DetMetric(main_indicator)