GithubHelp home page GithubHelp logo

sasageyoorg / voca-blender Goto Github PK

View Code? Open in Web Editor NEW
52.0 4.0 4.0 59.99 MB

Blender add-on to implement VOCA neural network.

License: MIT License

Python 93.47% Shell 6.53%
3d-face animation-sequence blender blender-addon computer-graphics computer-vision face-animation flame morphable-model python

voca-blender's Introduction

Blender logo

VOCA Blender Addon

πŸ“ Table of Contents

πŸ“‹About

Voca gif

VOCA is a simple and generic speech-driven facial animation framework that works across a range of identities. This add-on integrates VOCA withing Blender and allows the user to:
  • Run VOCA and synthesize a character animation given an speech signal. VOCA outputs a set meshes with .obj extension which must to be imported.
  • Import the output meshes of VOCA and generate from them a single animated mesh.

For more details please see the scientific publication of the VOCA framework here.

The original VOCA framework repository can be found here here.

πŸ‘©β€πŸ’»Installation and Usage

  1. The add-on works with \Blender v2.92.0 (python 3.7) and requires some dependencies that can be installed directly from the preferences panel.
  2. Download the latest release.
  3. Import the downloaded .zip archive in Blender (Edit > Preferences > Add-ons > Install) and enable the add-on.
  4. Install the dependencies by clicking the dedicated button
  5. The add-on options are accessible in the 3D View side panel named "VOCA"
  6. (optional) If you want to uninstall the addon, you can also uninstall the dependencies from the preferences panel.

To generate a new sequence of meshes:

  1. Expand the 'Run VOCA Model' panel.
  2. Select the right path for the mesh template (.ply) to animate, the audio file with the speech signal and the desired output directory.
  3. Hit 'Run' and wait the end of the process.

To import the VOCA-generated meshes and generate the animated mesh:

  1. Expand the 'Import Mesh' panel.
  2. Select the path to the audio file and the output directory.
  3. Hit 'Import' and wait.

The 'Dev' panel allows you to:

  • Hide/unhide non-VOCA meshes.
  • Remove all meshes from the scene.
  • Remove all non-VOCA meshes from the scene.
  • Edit sequences (flame parameters: head, pose, blink)

πŸ—‚ Project Topology

voca-blender/
β”œβ”€ voca-addon/
β”‚  β”œβ”€ audio/
β”‚  β”‚  β”œβ”€ sentence20.wav
β”‚  β”‚  └─ test_sentence.wav
β”‚  β”œβ”€ flame/
β”‚  β”‚  └─ generic_model.pkl
β”‚  β”œβ”€ model/
β”‚  β”‚  └─ gstep.model.*
β”‚  β”œβ”€ smpl_webuser/
β”‚  β”‚  β”œβ”€ lbs.py
β”‚  β”‚  β”œβ”€ posemapper.py
β”‚  β”‚  β”œβ”€ serialization.py
β”‚  β”‚  └─ verts.py
β”‚  β”œβ”€ template/
β”‚  β”‚  └─ FLAME_sample.ply
β”‚  β”œβ”€ utils/
β”‚  |  β”œβ”€ ctypesloader.py
β”‚  β”‚  β”œβ”€ audio_handler.py
β”‚  β”‚  β”œβ”€ edit_sequences.py
β”‚  β”‚  └─ inference.py
β”‚  β”œβ”€ operators.py
β”‚  β”œβ”€ panels.py
β”‚  └─ __init__.py
β”œβ”€ install-dependencies.command
β”œβ”€ install-dependencies.sh
β”œβ”€ LICENSE
└─ README.md

✍️ Authors

πŸŽ‰ Acknowledgements

voca-blender's People

Contributors

andrian-melnic avatar edoardo-conti avatar lorenzo-federici 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

Watchers

 avatar  avatar  avatar  avatar

voca-blender's Issues

Installed on blender, but don't see the add on

Hi, thank you so much for creating this repo. I added release v1.0.1 using the "Install addons" interface on Blender, but I don't see the addon listed after installation. I tried restarting blender, and installing it multiple times, and installed 1.0.0 as well, but I don't see it. What's the best way to troubleshoot this situation? Thanks!

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.