python:实现IoU测量标准
#!/usr/bin/env python
# encoding: utf-8
import numpy as np
def compute_iou(rec1, rec2):
# computing area of each rectangles
S_rec1 = (rec1[2]
#!/usr/bin/env python
# encoding: utf-8
import numpy as np
def compute_iou(rec1, rec2):
# computing area of each rectangles
S_rec1 = (rec1[2]