code: def calculate_bb_overlap(rp, gt):
      R = rp.shape[0]
      G = gt.shape[0]
  
      overlaps = np.zeros((R, G))
  
      for ind, gt_box in enumerate(gt):
          overlap = JaccardOverlap(rp, gt_box)
          overlap[overlap <= 1.0e-6] = 0.0
  
          overlaps[:, ind] = overlap
  
      return overlaps
  
file_path: neon/examples/ssd/util/util.py
imports: import numpy
  from PIL import Image, ImageDraw
label_desc: Use image node_id 7 for calling a global function with example usage: calculate_bb_overlap(rp, gt) and returns: overlaps