TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/A Novel Unified Architecture for Low-Shot Counting by Dete...

A Novel Unified Architecture for Low-Shot Counting by Detection and Segmentation

Jer Pelhan, Alan Lukežič, Vitjan Zavrtanik, Matej Kristan

2024-09-27Object LocalizationFew-shot Object Counting and DetectionObject Countingobject-detectionObject DetectionExemplar-Free Counting
PaperPDFCode(official)

Abstract

Low-shot object counters estimate the number of objects in an image using few or no annotated exemplars. Objects are localized by matching them to prototypes, which are constructed by unsupervised image-wide object appearance aggregation. Due to potentially diverse object appearances, the existing approaches often lead to overgeneralization and false positive detections. Furthermore, the best-performing methods train object localization by a surrogate loss, that predicts a unit Gaussian at each object center. This loss is sensitive to annotation error, hyperparameters and does not directly optimize the detection task, leading to suboptimal counts. We introduce GeCo, a novel low-shot counter that achieves accurate object detection, segmentation, and count estimation in a unified architecture. GeCo robustly generalizes the prototypes across objects appearances through a novel dense object query formulation. In addition, a novel counting loss is proposed, that directly optimizes the detection task and avoids the issues of the standard surrogate loss. GeCo surpasses the leading few-shot detection-based counters by $\sim$25\% in the total count MAE, achieves superior detection accuracy and sets a new solid state-of-the-art result across all low-shot counting setups.

Results

TaskDatasetMetricValueModel
Object CountingFSC147MAE(test)7.91GeCo
Object CountingFSC147MAE(val)9.52GeCo
Object CountingFSC147RMSE(test)54.28GeCo
Object CountingFSC147RMSE(val)43GeCo
Object CountingFSC147MAE(test)13.3GeCo
Object CountingFSC147MAE(val)14.81GeCo
Object CountingFSC147RMSE(test)108.72GeCo
Object CountingFSC147RMSE(val)64.95GeCo
Object CountingFSC147AP(test)43.42GeCo
Object CountingFSC147AP50(test)75.06GeCo
Object CountingFSC147MAE(test)7.91GeCo
Object CountingFSC147RMSE(test)54.28GeCo

Related Papers

A Real-Time System for Egocentric Hand-Object Interaction Detection in Industrial Domains2025-07-17RS-TinyNet: Stage-wise Feature Fusion Network for Detecting Tiny Objects in Remote Sensing Images2025-07-17Decoupled PROB: Decoupled Query Initialization Tasks and Objectness-Class Learning for Open World Object Detection2025-07-17Dual LiDAR-Based Traffic Movement Count Estimation at a Signalized Intersection: Deployment, Data Collection, and Preliminary Analysis2025-07-17Vision-based Perception for Autonomous Vehicles in Obstacle Avoidance Scenarios2025-07-16Tomato Multi-Angle Multi-Pose Dataset for Fine-Grained Phenotyping2025-07-15Car Object Counting and Position Estimation via Extension of the CLIP-EBC Framework2025-07-11ECORE: Energy-Conscious Optimized Routing for Deep Learning Models at the Edge2025-07-08