code: def __init__(self, iou_constraint=0.5, area_precision_constraint=0.5):
      self.iou_constraint = iou_constraint
      self.area_precision_constraint = area_precision_constraint
  
file_path: PaddleOCR/ppocr/metrics/eval_det_iou.py
imports: from collections import namedtuple
  import numpy
  from shapely.geometry import Polygon
label_desc: Use image node_id 1 to create a new DetectionIoUEvaluator object from inherited base classes: object with example: obj = DetectionIoUEvaluator(iou_constraint, area_precision_constraint)