Diffree: Text-Guided Shape Free Object Inpainting with Diffusion Model

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhao, Lirui, Yang, Tianshuo, Shao, Wenqi, Zhang, Yuxin, Qiao, Yu, Luo, Ping, Zhang, Kaipeng, Ji, Rongrong
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929434866483200
author Zhao, Lirui
Yang, Tianshuo
Shao, Wenqi
Zhang, Yuxin
Qiao, Yu
Luo, Ping
Zhang, Kaipeng
Ji, Rongrong
author_facet Zhao, Lirui
Yang, Tianshuo
Shao, Wenqi
Zhang, Yuxin
Qiao, Yu
Luo, Ping
Zhang, Kaipeng
Ji, Rongrong
contents This paper addresses an important problem of object addition for images with only text guidance. It is challenging because the new object must be integrated seamlessly into the image with consistent visual context, such as lighting, texture, and spatial location. While existing text-guided image inpainting methods can add objects, they either fail to preserve the background consistency or involve cumbersome human intervention in specifying bounding boxes or user-scribbled masks. To tackle this challenge, we introduce Diffree, a Text-to-Image (T2I) model that facilitates text-guided object addition with only text control. To this end, we curate OABench, an exquisite synthetic dataset by removing objects with advanced image inpainting techniques. OABench comprises 74K real-world tuples of an original image, an inpainted image with the object removed, an object mask, and object descriptions. Trained on OABench using the Stable Diffusion model with an additional mask prediction module, Diffree uniquely predicts the position of the new object and achieves object addition with guidance from only text. Extensive experiments demonstrate that Diffree excels in adding new objects with a high success rate while maintaining background consistency, spatial appropriateness, and object relevance and quality.
format Preprint
id arxiv_https___arxiv_org_abs_2407_16982
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Diffree: Text-Guided Shape Free Object Inpainting with Diffusion Model
Zhao, Lirui
Yang, Tianshuo
Shao, Wenqi
Zhang, Yuxin
Qiao, Yu
Luo, Ping
Zhang, Kaipeng
Ji, Rongrong
Computer Vision and Pattern Recognition
Artificial Intelligence
This paper addresses an important problem of object addition for images with only text guidance. It is challenging because the new object must be integrated seamlessly into the image with consistent visual context, such as lighting, texture, and spatial location. While existing text-guided image inpainting methods can add objects, they either fail to preserve the background consistency or involve cumbersome human intervention in specifying bounding boxes or user-scribbled masks. To tackle this challenge, we introduce Diffree, a Text-to-Image (T2I) model that facilitates text-guided object addition with only text control. To this end, we curate OABench, an exquisite synthetic dataset by removing objects with advanced image inpainting techniques. OABench comprises 74K real-world tuples of an original image, an inpainted image with the object removed, an object mask, and object descriptions. Trained on OABench using the Stable Diffusion model with an additional mask prediction module, Diffree uniquely predicts the position of the new object and achieves object addition with guidance from only text. Extensive experiments demonstrate that Diffree excels in adding new objects with a high success rate while maintaining background consistency, spatial appropriateness, and object relevance and quality.
title Diffree: Text-Guided Shape Free Object Inpainting with Diffusion Model
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2407.16982