Saved in:
Bibliographic Details
Main Authors: D'Alessandro, Adriano, Mahdavi-Amiri, Ali, Hamarneh, Ghassan
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2403.04943
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913455637790720
author D'Alessandro, Adriano
Mahdavi-Amiri, Ali
Hamarneh, Ghassan
author_facet D'Alessandro, Adriano
Mahdavi-Amiri, Ali
Hamarneh, Ghassan
contents Object counting methods typically rely on manually annotated datasets. The cost of creating such datasets has restricted the versatility of these networks to count objects from specific classes (such as humans or penguins), and counting objects from diverse categories remains a challenge. The availability of robust text-to-image latent diffusion models (LDMs) raises the question of whether these models can be utilized to generate counting datasets. However, LDMs struggle to create images with an exact number of objects based solely on text prompts but they can be used to offer a dependable \textit{sorting} signal by adding and removing objects within an image. Leveraging this data, we initially introduce an unsupervised sorting methodology to learn object-related features that are subsequently refined and anchored for counting purposes using counting data generated by LDMs. Further, we present a density classifier-guided method for dividing an image into patches containing objects that can be reliably counted. Consequently, we can generate counting data for any type of object and count them in an unsupervised manner. Our approach outperforms other unsupervised and few-shot alternatives and is not restricted to specific object classes for which counting data is available. Code to be released upon acceptance.
format Preprint
id arxiv_https___arxiv_org_abs_2403_04943
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AFreeCA: Annotation-Free Counting for All
D'Alessandro, Adriano
Mahdavi-Amiri, Ali
Hamarneh, Ghassan
Computer Vision and Pattern Recognition
Object counting methods typically rely on manually annotated datasets. The cost of creating such datasets has restricted the versatility of these networks to count objects from specific classes (such as humans or penguins), and counting objects from diverse categories remains a challenge. The availability of robust text-to-image latent diffusion models (LDMs) raises the question of whether these models can be utilized to generate counting datasets. However, LDMs struggle to create images with an exact number of objects based solely on text prompts but they can be used to offer a dependable \textit{sorting} signal by adding and removing objects within an image. Leveraging this data, we initially introduce an unsupervised sorting methodology to learn object-related features that are subsequently refined and anchored for counting purposes using counting data generated by LDMs. Further, we present a density classifier-guided method for dividing an image into patches containing objects that can be reliably counted. Consequently, we can generate counting data for any type of object and count them in an unsupervised manner. Our approach outperforms other unsupervised and few-shot alternatives and is not restricted to specific object classes for which counting data is available. Code to be released upon acceptance.
title AFreeCA: Annotation-Free Counting for All
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.04943