code: def bbox_coverage(bbox1, bbox2):
      inter_box = intersect_bbox(bbox1, bbox2)
      intersect_size = bbox_area(inter_box)
  
      if intersect_size > 0:
          bbox1_size = bbox_area(bbox1)
          return intersect_size / bbox1_size
      else:
          return 0.0
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import random
  import math
  import cv2
label_desc: Use image node_id 12 for calling a global function with example usage: bbox_coverage(bbox1, bbox2) and returns: unknown, int