Assistive drawing aims to facilitate the creative process by providing intelligent guidance to artists. Existing solutions often fail to effectively model intricate stroke details or adequately address the temporal aspects of drawing. We introduce hyperstroke, a novel stroke representation designed to capture precise fine stroke details, including RGB appearance and alpha-channel opacity. Using a Vector Quantization approach, hyperstroke learns compact tokenized representations of strokes from real-life drawing videos of artistic drawing. With hyperstroke, we propose to model assistive drawing via a transformer-based architecture, to enable intuitive and user-friendly drawing applications, which are experimented in our exploratory evaluation.
We demonstrate the effectiveness of our hyperstroke representation on both real-life timelapse drawing data and synthetic dataset.
Hyperstroke model result on real-life timelapse drawing data. For each group, the four rows from the top to the bottom stand for the previous frame, the latter frame, the predicted strokes between the two frames, and finally the blended result of the predicted strokes onto the initial frames.
Hyperstroke model result on synthetic dataset. For each group, the five rows from the top to the bottom stand for the original cropped illustration, the generated ground truth stroke images, the blended illustration by the ground truth, the predicted strokes between the two frames, and finally the blended result of the predicted strokes.
Our generation model is trained and evaluated on the QuickDraw dataset.
Results on assistive sketch generation from blank canvas, conditioned on seen text categories.
Results on assistive sketch generation, conditioned the raster canvas images and seen text categories.
conda create -n hyperstroke python=3.10
conda activate hyperstroke
pip install -r requirements.txt
To test Quickdraw generation, run the following command:
python inference/generation.py
To test VQ stroke reconstruction, run the following command:
python inference/representation.py
Coming soon.
@incollection{qin2024hyperstroke,
title={Hyperstroke: A Novel High-quality Stroke Representation for Assistive Artistic Drawing},
author={Qin, Haoyun and Lin, Jian and Liu, Hanyuan and Liu, Xueting and Li, Chengze},
booktitle={SIGGRAPH Asia 2024 Technical Communications},
pages={1--4},
year={2024}
}