DefectFill: Realistic Defect Generation with Inpainting Diffusion Model for Visual Inspection
作者:Jaewoo Song, Daemin Park, Kanghyun Baek, Sangyub Lee, Jooyoung Choi, Eunji Kim, Sungroh Yoon · 年份:2025 · DOI:10.1109/cvpr52734.2025.01744 · 被引用次数:11 · 研究领域:Industrial Vision Systems and Defect Detection、Manufacturing Process and Optimization、Image Processing Techniques and Applications
Developing effective visual inspection models remains challenging due to the scarcity of defect data. While image generation models have been used to synthesize defect images, producing highly realistic defects remains difficult. We propose DefectFill, a novel method for realistic defect generation that requires only a few reference defect images. It leverages a fine-tuned inpainting diffusion model, optimized with our custom loss functions incorporating defect, object, and attention terms. It enables precise capture of detailed, localized defect features and their seamless integration into defect-free objects. Additionally, our Low-Fidelity Selection method further enhances the defect sample quality. Experiments show that DefectFill generates high-quality defect images, enabling visual inspection models to achieve state- of-the-art performance on the MVTec AD dataset.