code: def iod(det_x, det_y, gt_x, gt_y):
      """
      This helper determine the fraction of intersection area over detection area
      """
      return area_of_intersection(det_x, det_y, gt_x, gt_y) / (
          area(det_x, det_y) + 1.0
      )
  
file_path: PaddleOCR/ppocr/utils/e2e_metric/polygon_fast.py
imports: import numpy
  from shapely.geometry import Polygon
label_desc: Use image node_id 6 for calling a global function with example usage: iod(det_x, det_y, gt_x, gt_y) and returns: unknown