Abstract
Man-made scenes can be densely packed, containing numerous objects, often identical, positioned in close proximity. We show that precise object detection in such scenes remains a challenging frontier even for state-of-the-art object detectors. We propose a novel, deep-learning based method for precise object detection, designed for such challenging settings. Our contributions include: (1) A layer for estimating the Jaccard index as a detection quality score; (2) a novel EM merging unit, which uses our quality scores to resolve detection overlap ambiguities; finally, (3) an extensive, annotated data set, SKU-110K, representing packed retail environments, released for training and testing under such extreme settings. Detection tests on SKU-110K and counting tests on the CARPK and PUCPR+ show our method to outperform existing state-of-the-art with substantial margins.
Introduction
Standard object detection benchmarks, such as COCO or PASCAL VOC, typically feature images with a small number of distinct objects. However, real-world environments like retail store shelves, traffic jams, or crowded parking lots are "densely packed," containing dozens or hundreds of visually similar objects in close proximity.
State-of-the-art detectors like RetinaNet or Faster R-CNN struggle in these scenarios. The standard post-processing technique, Non-Maximum Suppression (NMS), often fails: a low overlap threshold accidentally deletes valid adjacent objects, while a high threshold leaves duplicate boxes on single objects. This research aims to build a detector capable of precisely separating identical neighbors in crowded scenes.
Methodology
The proposed architecture builds on a Feature Pyramid Network (FPN) with a ResNet-50 backbone, enhanced by two key innovations:
Soft-IoU Layer
Standard detectors predict an "objectness" score, which indicates the presence of an object but not necessarily the quality of the bounding box fit. The authors introduce a fully-convolutional head that predicts the Soft-IoU (Intersection over Union). This layer estimates how perfectly a predicted box overlaps with the ground truth, effectively decoupling object existence from localization quality.
EM-Merger Unit
To replace the greedy NMS algorithm, the authors propose a probabilistic approach. Predicted bounding boxes are represented as 2D Gaussian distributions. An Expectation-Maximization (EM) algorithm then clusters these Gaussians into a Mixture of Gaussians (MoG). This process mathematically resolves overlapping clusters, merging duplicates and splitting adjacent items to produce a single, precise bounding box per object.
Datasets: SKU-110K
To evaluate performance in extreme settings, the authors introduced SKU-110K, a massive dataset of supermarket shelves. It contains 11,762 images and over 1.7 million bounding boxes.
As shown in the table above, SKU-110K averages 147.4 objects per image, making it orders of magnitude denser than standard benchmarks like COCO (7.7 objects/image). The authors also utilized the CARPK and PUCPR+ datasets to demonstrate the method's generalizability to other dense scenes, such as parking lots.
Results and Discussion
The full approach significantly outperforms baselines. On SKU-110K, it achieved an Average Precision (AP) of 0.492, compared to RetinaNet's 0.455. The improvement is most pronounced on the strict AP.75 metric (0.556 vs. 0.389), indicating much tighter and more accurate bounding boxes.
Visually, the EM-Merger drastically reduces the number of partial and overlapping boxes compared to standard NMS, cleanly separating identical items sitting shoulder-to-shoulder. Furthermore, the method excels at object counting, outperforming dedicated counting models on the CARPK and PUCPR+ datasets.
Conclusion
While the proposed method establishes a new state-of-the-art for dense object detection, the task remains challenging. The computational overhead of the EM-Merger (currently running at 0.23 FPS) suggests a need for GPU optimization. Nonetheless, the introduction of the Soft-IoU layer, the EM-Merger, and the SKU-110K dataset provides a robust foundation for future research in precisely detecting objects in crowded environments.
Summary updated