HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Few-shot Object Counting and Detection

Nguyen Thanh ; Pham Chau ; Nguyen Khoi ; Hoai Minh

Few-shot Object Counting and Detection

Abstract

We tackle a new task of few-shot object counting and detection. Given a fewexemplar bounding boxes of a target object class, we seek to count and detectall objects of the target class. This task shares the same supervision as thefew-shot object counting but additionally outputs the object bounding boxesalong with the total object count. To address this challenging problem, weintroduce a novel two-stage training strategy and a novel uncertainty-awarefew-shot object detector: Counting-DETR. The former is aimed at generatingpseudo ground-truth bounding boxes to train the latter. The latter leveragesthe pseudo ground-truth provided by the former but takes the necessary steps toaccount for the imperfection of pseudo ground-truth. To validate theperformance of our method on the new task, we introduce two new datasets namedFSCD-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 baselinesadapted from few-shot object counting and few-shot object detection with alarge margin in both counting and detection metrics. The code and models areavailable at https://github.com/VinAIResearch/Counting-DETR.

Code Repositories

vinairesearch/counting-detr
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-object-counting-and-detection-onCounting-DETR
AP(test): 22.66
AP50(test): 50.57
MAE(test): 16.79
RMSE(test): 123.56
object-counting-on-fsc147Counting-DETR
MAE(test): 16.79
RMSE(test): 123.56

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Few-shot Object Counting and Detection | Papers | HyperAI