基于散列的拥挤目标检测非最大值抑制算法
Hashing-based Non-Maximum Suppression for Crowded Object Detection
摘要:
在本文中,我们提出了一种算法,命名为基于散列的非最大值抑制(HNMS),以有效地抑制非最大值盒的目标检测。非最大值抑制(NMS)是一个必不可少的组成部分,以抑制盒在接近位置的相似形状。当盒子的数量变大时,时间成本往往是巨大的,特别是对于拥挤的场景。HNMS的基本思想是首先将每个盒子映射到一个离散的代码(哈希单元),然后如果它们在同一个单元中,则删除具有较低置信度的盒子。考虑到交叉联合(IoU)作为度量,我们提出了一个简单而有效的哈希算法,名为IoUHash,它保证了同一单元格内的盒子足够接近的IoU下限。对于两阶段检测器,我们用HNMS代替区域建议网络中的NMS,并观察到显著的速度提高,具有可比的精度。对于单级检测器,HNMS被用作预滤波器,以加快抑制,具有较大的裕度。在CARPK、KNN-110 K、CrowdHuman数据集上进行了大量的实验,以证明HNMS的效率和有效性。代码在\url{https://github.com/microsoft/hnms.git}发布。
英文摘要:
In this paper, we propose an algorithm, named hashing-based non-maximum suppression (HNMS) to efficiently suppress the non-maximum boxes for object detection. Non-maximum suppression (NMS) is an essential component to suppress the boxes at closely located locations with similar shapes. The time cost tends to be huge when the number of boxes becomes large, especially for crowded scenes. The basic idea of HNMS is to firstly map each box to a discrete code (hash cell) and then remove the boxes with lower confidences if they are in the same cell. Considering the intersection-over-union (IoU) as the metric, we propose a simple yet effective hashing algorithm, named IoUHash, which guarantees that the boxes within the same cell are close enough by a lower IoU bound. For two-stage detectors, we replace NMS in region proposal network with HNMS, and observe significant speed-up with comparable accuracy. For one-stage detectors, HNMS is used as a pre-filter to speed up the suppression with a large margin. Extensive experiments are conducted on CARPK, SKU-110K, CrowdHuman datasets to demonstrate the efficiency and effectiveness of HNMS. Code is released at \url{https://github.com/microsoft/hnms.git}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。