抓取、裁剪、粘贴与学习:面向包裹物流的自动化数据集生成
Scrape, Cut, Paste and Learn: Automated Dataset Generation Applied to Parcel Logistics
AI总结:
本文提出一个四步全自动合成数据集生成流程,通过图像抓取、选择、随机布局与混合粘贴,在包裹分割任务上实现Mask AP 86.2的真实图像迁移效果。
摘要:
计算机视觉中最先进的方法高度依赖足够大的训练数据集。对于现实世界应用而言,获取这样的数据集通常是一项繁琐的任务。本文提出了一种全自动流程,通过四个步骤生成用于实例分割的合成数据集。与现有工作不同,我们的流程覆盖了从数据采集到最终数据集的每一个步骤。我们首先从流行的图像搜索引擎中抓取感兴趣物体的图像,由于仅依赖基于文本的查询,所得数据包含种类丰富的图像。因此,第二步必须进行图像选择。这种图像抓取与选择的方法降低了对现实世界特定领域数据集的需求,这类数据集通常必须公开可用或专门为此目的创建。我们采用了一种与物体无关的背景移除模型,并比较了三种不同的图像选择方法:与物体无关的预处理、人工图像选择和基于CNN的图像选择。在第三步中,我们在任意背景上生成感兴趣物体与干扰物的随机布局。最后,通过使用四种不同的混合方法粘贴物体来完成图像合成。我们以包裹分割为例,展示了数据集生成方法的案例研究。为了进行评估,我们创建了一个自动标注的包裹照片数据集。我们发现:(1) 我们的数据集生成流程能够成功迁移到真实测试图像(Mask AP 86.2);(2) 与人类直觉相反,非常精确的图像选择过程并非至关重要,更宽泛的类别定义有助于弥合领域差距;(3) 与简单的复制粘贴相比,使用混合方法更有益。我们已将抓取、图像合成和训练的完整代码公开发布在 https://a-nau.github.io/parcel2d。
英文摘要:
State-of-the-art approaches in computer vision heavily rely on sufficiently large training datasets. For real-world applications, obtaining such a dataset is usually a tedious task. In this paper, we present a fully automated pipeline to generate a synthetic dataset for instance segmentation in four steps. In contrast to existing work, our pipeline covers every step from data acquisition to the final dataset. We first scrape images for the objects of interest from popular image search engines and since we rely only on text-based queries the resulting data comprises a wide variety of images. Hence, image selection is necessary as a second step. This approach of image scraping and selection relaxes the need for a real-world domain-specific dataset that must be either publicly available or created for this purpose. We employ an object-agnostic background removal model and compare three different methods for image selection: Object-agnostic pre-processing, manual image selection and CNN-based image selection. In the third step, we generate random arrangements of the object of interest and distractors on arbitrary backgrounds. Finally, the composition of the images is done by pasting the objects using four different blending methods. We present a case study for our dataset generation approach by considering parcel segmentation. For the evaluation we created a dataset of parcel photos that were annotated automatically. We find that (1) our dataset generation pipeline allows a successful transfer to real test images (Mask AP 86.2), (2) a very accurate image selection process - in contrast to human intuition - is not crucial and a broader category definition can help to bridge the domain gap, (3) the usage of blending methods is beneficial compared to simple copy-and-paste. We made our full code for scraping, image composition and training publicly available at https://a-nau.github.io/parcel2d.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。