Git Product home page Git Product logo

facerig's Introduction

Face Rig

The aim of this project is to create an open source C++ solution for face rigging. The solution should be minimalistic and fast, modular, cross-platform, with simple API.

Current State

The project currently includes the Input Pipeline that retrieves images from a camera, detects faces and determines a head pose of dominant face using facial landmark detection. Further, there is lightweight render based on Phong reflection model. Models are loaded via Assimp therefore various object formats are supported.

Application rigs detected head pose to head model. The render has rather general-purpose nature but a facade for face rigging is defined. See the examples below.

Requirements

  • OpenCV for face detection.

  • Dlib for facial landmark detection. (Will be downloaded & compiled automatically by CMake.)

  • OpenGl for render implementation.

Usage

You are most likely interested in FaceRigNoGUI target, hence do:

cmake . && make 
bin/FaceRigNoGUI

Target FaceRig includes Qt based UI but for the time being it is just camera with landmark detection.

Project Goals

There will be two ways how to use project code. First as library through input/output streams. Second as stand-alone application that process webcam input and routes rendered output into virtual device that can be set as default. This will allow to stream rigged face into application like Skype.

Application should also include:

  • Mesh Transformation: Possibility to map facial landmark points to model bones and transform the mesh according to weights of vertices.

  • Gaze detection: Eyes rigging.

  • Configuration via UI: Ability to load different models, choose scene and its lighting and more during runtime via user friendly UI.

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.