Thin-Plate Spline-based Interpolation for Animation Line Inbetweening
August 25, 2024 ยท View on GitHub
Tianyi Zhu, Wei Shang, Dongwei Ren*, Wangmeng Zuo
This repository is the official PyTorch implementation of "Thin-Plate Spline-based Interpolation for Animation Line Inbetweening".
โจ News/TODO
- Examples on MixiamoLine240 of TPS-Inbetween.
- Source code of inference demo and pretrained weight.
- Source code of mannual matching demo.
๐ผ๏ธ Resluts
| Input starting frame | Input ending frame | Inbetweening results |
|
|
|
|
|
|
|
|
|
๐ Overview
An overview of the pipeline.
โ๏ธ Run inference demo
- Download the Gluestick weights and put them in './model/resources'.
- Download the TPS-Inbetween pretrained weights here and then put it in the './ckpt' directory.
- Run the following command to get inbetweening results.
python demo.py --image1 'assets/input1_0.png' --image2 'assets/input1_1.png' --xN 30 --save_path './output'
You can change 'xN' to get arbitrary frame rates results. The reuslts are saved in the folder './output'.