Git Product home page Git Product logo

fast-n-deep-faces's Introduction

Fast And Deep Facial Deformations

Stephen W. Bailey, Dalton Omens, Paul DiLorenzo, and James F. O'Brien

SIGGRAPH 2020

This is the public source code for the paper "Fast and Deep Facial Deformations" (2020).

This code is provided under a BSD license allowing its free use. However we request that where feasible and reasonable you acknowledge use of this code. We also request that any scholarly publications deriving from this code or from the algorithms it describes please cite the following publication:

Stephen W. Bailey, Dalton Omens, Paul Dilorenzo, and James F. O'Brien. "Fast and Deep Facial Deformations”. ACM Transactions on Graphics, 39(4):94:1–15, August 2020. Presented at SIGGRAPH 2020, Washington D.C.

Website: http://graphics.berkeley.edu/papers/Bailey-FDF-2020-07

Installation

This code is tested with Maya 2018 and Python 3.6 on Windows 10 and Ubuntu 16.04

As of the publication date, Maya runs Python 2.7 but the main bulk of our scripts are running independently of Maya in Python 3. You will need a numpy installation for MayaPy (2.7) and all modules listed in requirements.txt can be installed for Python 3.

This link can be helpful to install numpy for maya.

Run pip install -r requirements.txt in the root directory to install required Python modules.

Quickstart Guide

Pretrained models for Ray are provided with this code. You can evaluate the models without installing and running the Ray character rig in Maya.

  • Download the compressed archive of the models here
  • Unpack the contents of the archive in the models subdirectory
  • Control the model through rig parameters by running the following:
python3 visualizeApproximation.py --configFile models/refine_model_leaky.yaml --checkpoint models/refine_model_leaky
  • Control the model through IK control points by running the following:
python3 ikModel/ikControl.py --configFile models/ik_control_model_leaky.yaml --checkpoint models/ik_control_model_leaky --camPos 5

Running the Code

Detailed instructions for training course and refinement models are in models/README.md.

Citation

This citation is also included as a .bib file in the repository.

@article{Bailey:2020:FDF,
  note = {Presented at SIGGRAPH 2020, Washington D.C.},
  doi = {10.1145/3386569.3392397},
  title = {Fast and Deep Facial Deformations},
  journal = {ACM Transactions on Graphics},
  author = {Stephen W. Bailey and Dalton Omens and Paul Dilorenzo and James F. O'Brien},
  number = 4,
  month = aug,
  volume = 39,
  year = 2020,
  pages = {94:1--15},
  url = {http://graphics.berkeley.edu/papers/Bailey-FDF-2020-07/},
}

Acknowledgments

We would like to thank DreamWorks Animation for granting us access to their resources and data during the development of this project. We would also like to thank CGTarian Online School for developing and releasing the Ray character rig.

License


Copyright (c) 2020, Stephen W. Bailey and Dalton Omens

All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
    * Neither the name of {{ project }} nor the names of its contributors
      may be used to endorse or promote products derived from this software
      without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

fast-n-deep-faces's People

Contributors

stephen-unity 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.