8000 GitHub - hjc-owo/VectorPainter: [ICME 2025] Official implementation for "VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors" https://arxiv.org/abs/2405.02962
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hjc-owo/VectorPainter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors

ICME 2025 ArXiv Project Website

This repository contains our official implementation of the ICME 2025 paper: "VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors." VectorPainter synthesizes text-guided vector graphics by imitating strokes.

teaser

🔥 Latest Update

  • 2025.03: 🔥 We released the code for VectorPainter.
  • 2025.03: 🎉 VectorPainter accepted by ICME 2025. 🎉

📌 Installation Guide

🛠️ Step 1: Set Up the Environment

To quickly get started with VectorPainter, follow the steps below.
These instructions will help you run quick inference locally.

Run the following command in the top-level directory:

chmod +x install.sh
bash install.sh

🛠️ Step 2: Download Pretrained Stable Diffusion Model

VectorPainter requires a pretrained Stable Diffusion (SD) model.

🔄 Auto-Download (Recommended)

Set model_download=True in /conf/config.yaml before running VectorPainter. Alternatively, append model_download=True to the execution script.

🎨 Quickstart

Style: Starry Night by van Gogh

  • sydney opera house
python vectorpainter.py x=stroke "prompt='A photo of Sydney opera house'" style="./assets/starry.jpg" canvas_w=1024 canvas_h=1024 result_path='./workspace/starry/sydney_opera_house'
  • mountain and cloud
python vectorpainter.py x=stroke "prompt='A mountain, with clouds in the sky'" style="./assets/starry.jpg" canvas_w=1024 canvas_h=1024 result_path='./workspace/starry/mountain'

Style: Pink Cloud (Le nuage rose by Paul Signac)

  • Sakura tree
python vectorpainter.py x=stroke "prompt='sakura tree.'" style="./assets/starry.jpg" x.num_paths=20000 canvas_w=1024 canvas_h=1024 result_path='./workspace/pink_cloud/sakura'

📚 Acknowledgement

The project is built based on the following repository:

We gratefully thank the authors for their wonderful works.

📎 Citation

If you use this code for your research, please cite the following work:

@article{hu2024vectorpainter,
  title={VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors},
  author={Hu, Juncheng and Xing, Ximing and Zhang, Jing and Yu, Qian},
  journal={arXiv preprint arXiv:2405.02962},
  year={2024}
}

©️ Licence

This work is licensed under a MIT License.

About

[ICME 2025] Official implementation for "VectorPainter: Advanced Stylized Vector Graphics Synthesis Using Stroke-Style Priors" https://arxiv.org/abs/2405.02962

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0