Automated Virtual Product Placement and Assessment in Images using Diffusion Models
Mohammad Mahmudul Alam, Negin Sokhandan, Emmett Goodman
TL;DR
The paper addresses automated virtual product placement in images by introducing a three-stage diffusion-based pipeline: (i) language-guided segmentation to select placement regions, (ii) DreamBooth-fine-tuned Stable Diffusion for product inpainting, and (iii) an Alignment Module that discriminatively filters outputs to ensure the product appears correctly. The Alignment Module combines Content, Quality, and Volume checks, using CLIP-based and captioning signals, with mask-size control via erosion/dilation, and achieves a reported $35\%$ rise in image quality and zero product-missing outputs in experiments on two products. The approach is validated through extensive quantitative metrics (Content, Quality, Volume, MAQS, MQS, MASS) and qualitative comparisons against Paint-By-Example, demonstrating stronger product likeness and consistent output quality. A SageMaker-based web app demonstrates end-to-end deployment and highlights practical considerations for scaling DreamBooth-based customization to large product catalogs in virtual advertising contexts.
Abstract
In Virtual Product Placement (VPP) applications, the discrete integration of specific brand products into images or videos has emerged as a challenging yet important task. This paper introduces a novel three-stage fully automated VPP system. In the first stage, a language-guided image segmentation model identifies optimal regions within images for product inpainting. In the second stage, Stable Diffusion (SD), fine-tuned with a few example product images, is used to inpaint the product into the previously identified candidate regions. The final stage introduces an "Alignment Module", which is designed to effectively sieve out low-quality images. Comprehensive experiments demonstrate that the Alignment Module ensures the presence of the intended product in every generated image and enhances the average quality of images by 35%. The results presented in this paper demonstrate the effectiveness of the proposed VPP system, which holds significant potential for transforming the landscape of virtual advertising and marketing strategies.
