Soulstyler: Using Large Language Model to Guide Image Style Transfer for Target Object

Junhao Chen, Peng Rong, Jingbo Sun, Chao Li, Xiang Li +1 more
11/22/2023
cs.CVcs.AI

No official code found. Best implementation: yisuanwang/Finestyler (19 stars, MIT, last commit 2024-12-01).

Abstract

Image style transfer occupies an important place in both computer graphics and computer vision. However, most current methods require reference to stylized images and cannot individually stylize specific objects. To overcome this limitation, we propose the "Soulstyler" framework, which allows users to guide the stylization of specific objects in an image through simple textual descriptions. We introduce a large language model to parse the text and identify stylization goals and specific styles. Combined with a CLIP-based semantic visual embedding encoder, the model understands and matches text and image content. We also introduce a novel localized text-image block matching loss that ensures that style transfer is performed only on specified target objects, while non-target regions remain in their original style. Experimental results demonstrate that our model is able to accurately perform style transfer on target objects according to textual descriptions without affecting the style of background regions. Our code will be available at https://github.com/yisuanwang/Soulstyler.

View on arXivView PDF

Code Implementations(1)

MIT

Soulstyler: Using Large Language Model to Guide Image Style Transfer for Target Object

193Python, Jupyter NotebookSep 14, 20231 years agoMIT
large-language-modelsstyle-transfertext-guided-image-editing

Similar Papers

Cite this paper

@article{chen2023soulstyler,
  title  = {Soulstyler: Using Large Language Model to Guide Image Style Transfer for Target Object},
  author = {Junhao Chen and Peng Rong and Jingbo Sun and Chao Li and Xiang Li and Hongwu Lv},
  year   = {2023},
  eprint = {2311.13562},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.13562v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.13562.svg)](https://codeofpaper.com/paper/2311.13562)

Discussion