GithubHelp home page GithubHelp logo

-ai-emmmm's Introduction

鬼抽-菩提老祖

【AI创造营】参赛作品

鬼畜小视频

这里使用的PaddleGan套件的first order model模型,用于人脸动作迁移

1. 准备好需要迁移的人脸动作视频(视频最好都是头部,头不要瞎动的那种,要不效果不是太好)

2. 准备要动图片(也是只有头部)

3. 运行脚本,等待输出~

菩提老祖: 烧焦了诶~

 

 

解压PaddleGan包,并安装依赖包和ppgan

#!unzip -oq ./PaddleGAN-master.zip 

pip install -r ./PaddleGAN-master/requirements.txt
python3 -m pip install --upgrade ppgan

运行脚本,运行前注意driving_video后面为视频地址,source_image为人脸地址,更改完成后运行即可

cd ./PaddleGAN-master

python -u applications/tools/first-order-demo.py  \
     --driving_video ../1.mp4 \
     --source_image ../2.png \
     --relative --adapt_scale 

最后输出的地址为:PaddleGAN-master/output,文件夹内存放的result.mp4及迁移后的视频

-ai-emmmm's People

Contributors

attackzzw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.