Coder Social home page Coder Social logo

calicocat-117 / face-tracking-maya Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oscarwestberg/face-tracking-maya

0.0 1.0 0.0 4.6 MB

A plugin for maya tracking a face using markers and animating a 3D face-mesh based on marker positions. A C++ program using OpenCV will fetch data from the webcam, the program will then use image analysis to find tracking points. These points will be streamed as raw data to Maya using its command port which then modifies the geometry of a 3D model of a face.

CMake 2.12% C++ 97.88%

face-tracking-maya's Introduction

Heads-up

This was done as a school project with very limited time so just about every part of this is made to work for our use case but completely untested for everything else. This project is not being actively worked on.

Face-Tracking-Maya

A plugin for maya tracking a face using markers and animating a 3D face-mesh based on marker positions. A C++ program using OpenCV will fetch data from the webcam, the program will then use image analysis to find tracking points. These points will be streamed as raw data to Maya using its command port which then modifies the geometry of a 3D model of a face.

Members

How to use

  • Open a face-rig in Maya with joints named as follows:

1. leftouterbrow
2. leftinnerbrow
3. rightinnerbrow
4. rightouterbrow
5. leftcheek
6. rightcheek
7. leftnose
8. rightnose
9. leftmouth
10. upperlip
11. rightmouth
12. lowerlip

A ready made rig is provided in Volemort_rigged.mb

  • Add corresponding markers to your own face + markers on your nose and forehead.

  • Run the FaceTracker.mel script in Maya.

  • Run Face-Tracking-Maya.exe

  • The program assumes that you have a neutral expression when it first sees you. To set a new neutral expression press r to reset t tracking.

  • Press p to toggle recording in Maya on and off.

Resources

face-tracking-maya's People

Contributors

arontornberg avatar oscarwestberg 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.