Few-shot Object Counting and Detection

Thanh Nguyen, Chau Pham, Khoi Nguyen, Minh Hoai
7/22/2022
cs.CV

Official code: VinAIResearch/Counting-DETR (85 stars, BSD-3-Clause, last commit 2024-11-12).

Abstract

We tackle a new task of few-shot object counting and detection. Given a few exemplar bounding boxes of a target object class, we seek to count and detect all objects of the target class. This task shares the same supervision as the few-shot object counting but additionally outputs the object bounding boxes along with the total object count. To address this challenging problem, we introduce a novel two-stage training strategy and a novel uncertainty-aware few-shot object detector: Counting-DETR. The former is aimed at generating pseudo ground-truth bounding boxes to train the latter. The latter leverages the pseudo ground-truth provided by the former but takes the necessary steps to account for the imperfection of pseudo ground-truth. To validate the performance of our method on the new task, we introduce two new datasets named FSCD-147 and FSCD-LVIS. Both datasets contain images with complex scenes, multiple object classes per image, and a huge variation in object shapes, sizes, and appearance. Our proposed approach outperforms very strong baselines adapted from few-shot object counting and few-shot object detection with a large margin in both counting and detection metrics. The code and models are available at https://github.com/VinAIResearch/Counting-DETR.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Few-shot Object Counting and Detection (ECCV 2022)

858Shell, PythonJul 20, 20221 years agoBSD-3-Clause
class-agnostic-countingclass-agnostic-detectionfew-shot-countingfew-shot-counting-and-detectionfew-shot-learning+2 more

Similar Papers

Cite this paper

@article{nguyen2022fewshot,
  title  = {Few-shot Object Counting and Detection},
  author = {Thanh Nguyen and Chau Pham and Khoi Nguyen and Minh Hoai},
  year   = {2022},
  eprint = {2207.10988},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.10988v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.10988.svg)](https://codeofpaper.com/paper/2207.10988)

Discussion