EraseDraw: Learning to Insert Objects by Erasing Them from Images
<|reference_start|>EraseDraw: Learning to Insert Objects by Erasing Them from Images: Creative processes such as painting often involve creating different components of an image one by one. Can we build a computational model to perform this task? Prior works often fail by making global changes to the image, inserting objects in unrealistic spatial locations, and generating inaccurate lighting details. We observe that while state-of-the-art models perform poorly on object insertion, they can remove objects and erase the background in natural images very well. Inverting the direction of object removal, we obtain high-quality data for learning to insert objects that are spatially, physically, and optically consistent with the surroundings. With this scalable automatic data generation pipeline, we can create a dataset for learning object insertion, which is used to train our proposed text conditioned diffusion model. Qualitative and quantitative experiments have shown that our model achieves state-of-the-art results in object insertion, particularly for in-the-wild images. We show compelling results on diverse insertion prompts and images across various domains.In addition, we automate iterative insertion by combining our insertion model with beam search guided by CLIP.<|reference_end|>
@article{canberk2024erasedraw:,
    title={EraseDraw: Learning to Insert Objects by Erasing Them from Images},
    author={Alper Canberk, Maksym Bondarenko, Ege Ozguroglu, Ruoshi Liu, and Carl
  Vondrick},
    journal={arXiv preprint arXiv:2409.00522},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.00522},
    primaryClass={cs.CV}
}