βοΈ SketchAnim: Real-time sketch animation transfer from videos
January 18, 2026 Β· View on GitHub
π Overview
Animation of hand-drawn sketches is an adorable art. It allows the animator to generate animations with expressive freedom and requires significant expertise. In this work, we introduce a novel sketch animation framework designed to address inherent challenges, such as motion extraction, motion transfer, and occlusion. The framework takes an exemplar video input featuring a moving object and utilizes a robust motion transfer technique to animate the input sketch. We show comparative evaluations that demonstrate the superior performance of our method over existing sketch animation techniques. Notably, our approach exhibits a higher level of user accessibility in contrast to conventional sketch-based animation systems, positioning it as a promising contributor to the field of sketch animation.
β¨ Key highlights:
- π₯ Videoβdriven motion transfer
- π§© Robust handling of occlusions
- 𦴠Minimal user input (just a skeleton on the first frame)
- π§ππͺ Works for bipeds, quadrupeds, and even inanimate objects
βοΈ Setup
Clone the repository:
git clone git@github.com:graphics-research-group/SketchAnim.git
cd SketchAnim
π¦ Installation
Create the conda environment:
conda env create -f environment.yml
Next, Install required submodules: co-tracker and DeformationPyramid.
git clone https://github.com/facebookresearch/co-tracker.git
git clone https://github.com/rabbityl/DeformationPyramid.git
𦴠Draw a Skeleton
Draw the skeleton on the first frame (rest pose) of the video.
python gui.py
![]() |
|---|
π¨ Animate a Sketch
Run the following notebook to generate the final animation with their intermediate results. Users can use custom hand-drawn sketches.
python main.ipynb
πΌοΈ Results
Supports:
- π§ Bipeds
- π Quadrupeds
- πͺ Inanimate objects
![]() | ![]() |
|---|---|
![]() | ![]() |
![]() | ![]() |
π Citation
If you find SketchAnim useful in your research, please cite:
@inproceedings{rai2024sketchanim,
title={SketchAnim: Real-time sketch animation transfer from videos},
author={Rai, Gaurav and Gupta, Shreyas and Sharma, Ojaswa},
booktitle={Computer Graphics Forum},
volume={43},
number={8},
pages={e15176},
year={2024},
organization={Wiley Online Library}
}
π Acknowledgements
We have borrowed the code from co-tracker, DeformationPyramid and BBW in our work. We sincerely thank the authors for their valuable contributions to the research community.






