扫一扫分享
AnimatedDrawingsMeta AI推出,一个基于论文《A Method for Animating Children's Drawings of the Human Figure》实现的开源项目,旨在将手绘人物图像转化为动画,同时也作为一个创意工具,允许用户灵活地为自己绘制的角色创建动画。
项目推荐使用 Conda 虚拟环境进行安装,已在 macOS Ventura 13.2.1 和 Ubuntu 18.04 系统上测试通过:
# 创建并激活虚拟环境
conda create --name animated_drawings python=3.8.13
conda activate animated_drawings
# 克隆仓库并安装
git clone https://github.com/facebookresearch/AnimatedDrawings.git
cd AnimatedDrawings
pip install -e .
安装完成后,可通过 Python interpreter 快速启动:
from animated_drawings import render
# 启动交互式窗口示例
render.start('./examples/config/mvc/interactive_window_example.yaml')
# 导出 MP4 示例
render.start('./examples/config/mvc/export_mp4_example.yaml')
# 导出 GIF 示例
render.start('./examples/config/mvc/export_gif_example.yaml')
仅供个人学习参考/导航指引使用,具体请以第三方网站说明为准,本站不提供任何专业建议。如果地址失效或描述有误,请联系站长反馈~感谢您的理解与支持!
手机预览