areas = (end_x - start_x + 1) * (end_y - start_y + 1)
以上是在下面两个不同的链接中计算非最大抑制的矩形面积的用途,为什么需要加一?
https://github.com/amusi/Non-Maximum-Suppression/blob/master/nms.py https://www.pyimagesearch.com/2014/11/17/non-maximum-suppression-object-detection-python /