arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2307.00038cs.CV
收藏

无需训练的提示式目标计数

Training-free Object Counting with Prompts

Agency for Science, Technology and Research(新加坡科技研究局);Nanyang Technological University(南洋理工大学)

Zenglin Shi, Ying Sun, Mengmi Zhang

AI总结:

本文提出一种无需训练的提示式目标计数方法,利用SAM模型将计数视为分割问题,通过先验引导掩码生成提升精度,并支持文本指定目标,实验证明其性能可与学习型方法媲美。

摘要:

本文解决了图像中目标计数的问题。现有方法依赖于大量带有每个目标点标注的训练数据,使得数据收集工作劳动密集且耗时。为克服这一难题,我们提出了一种无需训练的目标计数器,将计数任务视为分割问题。我们的方法利用了分割一切模型(SAM),该模型以其高质量的掩码和零样本分割能力而闻名。然而,SAM的原始掩码生成方法在掩码中缺乏类别特定信息,导致计数精度较差。为克服这一局限,我们引入了一种先验引导的掩码生成方法,将三类先验融入分割过程,从而提升效率与精度。此外,我们针对通过文本指定的目标计数问题,提出了一种两阶段方法,结合了参考目标选择与先验引导的掩码生成。在标准数据集上的大量实验表明,与基于学习的方法相比,我们的无需训练计数器展现了具有竞争力的性能。本文为在各种场景下无需大量数据收集和计数特定训练的目标计数提供了一种有前景的解决方案。代码可在https://github.com/shizenglin/免训练-object-counter获取。

英文摘要:

This paper tackles the problem of object counting in images. Existing approaches rely on extensive training data with point annotations for each object, making data collection labor-intensive and time-consuming. To overcome this, we propose a training-free object counter that treats the counting task as a segmentation problem. Our approach leverages the Segment Anything Model (SAM), known for its high-quality masks and zero-shot segmentation capability. However, the vanilla mask generation method of SAM lacks class-specific information in the masks, resulting in inferior counting accuracy. To overcome this limitation, we introduce a prior-guided mask generation method that incorporates three types of priors into the segmentation process, enhancing efficiency and accuracy. Additionally, we tackle the issue of counting objects specified through text by proposing a two-stage approach that combines reference object selection and prior-guided mask generation. Extensive experiments on standard datasets demonstrate the competitive performance of our training-free counter compared to learning-based approaches. This paper presents a promising solution for counting objects in various scenarios without the need for extensive data collection and counting-specific training. Code is available at \url{https://github.com/shizenglin/training-free-object-counter}

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑