# https://blog.csdn.net/a1103688841/article/details/89711120
import numpy as np
boxes=np.array([[100,100,210,210,0.72],
[250,250,420,420,0.8],
[220,220,320,330,0.92],
[100,100,210,210,0.72],
[230,240,325,330,0.81],
[220,230,315,340,0.9]])
def py_cpu_nms(dets, thresh):
#dets的数据格式
NMS python实现
最新推荐文章于 2023-08-30 13:08:40 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)