LGCount: Layout-Guided Diffusion for Zero-Shot Object Counting
Adriano D'Alessandro, Ali Mahdavi-Amiri, Ghassan Hamarneh
Abstract
Class-agnostic counting requires the user to specify what to count, usually with a class name or a few annotated boxes. We propose a richer text-based specification: a structured layout that names the target, the region that holds it, the distractors to ignore. A prompt upsampler writes this layout from the image and the requested category alone, and an image-editing diffusion model, adapted into a single-step counter, turns it into a density map. Because counting datasets pair each image with a single valid density map, a counter trained on it learns to ignore the layout. We therefore train on synthetic counterfactuals in which one image admits several valid density maps, so that the layout cannot be ignored. On FSC-147 we improve on the previous zero-shot state of the art and we set the best reported result on LOOKALIKES while being told the least about each image. A single photograph can be counted by category, by region, or by granularity without retraining.
Create a lesson
Related papers
FocusAnchor: Zero-Shot Metric Depth by Anchoring a Depth Foundation Prior to Focus Cues
Shared title terminologycs.CVAshkan Ganj, Hang Su, Tian Guo
SplatSeg3D: Efficient Zero-Shot 3D Segmentation via Point Cloud Surfelization and Splatting
Shared title terminologycs.CVSandeep Inuganti, Mahdi Chamseddine, Marcel Rogge et al.
On the Capabilities and Limitations of Zero-Shot Open-Vocabulary Cloud Segmentation
Shared title terminologycs.CVJose Sosa, Thomas Gillet, Rim Sleimi et al.
Teaching Students to Stand on Their Own: Distilling Vision Foundation Models for Fine-Grained Few-Shot Class-Incremental Learning
Shared title terminologycs.CVJunsu Kim, Seungryul Baek
DualCast: Dual-Image Conditioned Diffusion Transformers for Digital Human E-Commerce Video Generation
Shared title terminologycs.CVLifan Jiang, Yifan Huang, Jixuan Zhang et al.
LLMVC: Large Language Model-Guided Generative Video Compression
Shared title terminologycs.CVLebin Zhou, Zhenghao Chen, Nam Ling et al.