【发布时间】:2020-11-05 03:06:20
【问题描述】:
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/
【问题讨论】:
-
这似乎已被问到in a comment,但我不确定答案是否有意义,因为我不知道上下文。
-
你的意思是交叉路口吗?
-
可能是拉普拉斯平滑。
-
我认为这样一个像素的面积是
1。
标签: python numpy tensorflow tensorflow2.0 non-maximum-suppression