Code Monkey home page Code Monkey logo

denseface3d's Introduction

DenseFace3D

This is a software for the reconstruction of a real-time 3D face model from a monocular camera.

####Demo: Youtube or Tencent Video

####Feature:

  • Real-time landmark detection, mesh densifying (spline interpolation), triangulation and texture mapping for each frame.

  • Two stages buffering โ€” Both the landmark detection and spline interpolation can fail and the last valid instance is kept in those cases.

  • Fixed location, stabilization and auto-scaling โ€” The the capture is robust to face movements (both in translation and distance) and presented as the average of the locations of last several frames.

If you have any question, feel free to reach me at [email protected]. Research/intern opportunities regarding computer science(computer vision would be greater) are welcomed. I am a senior undergraduate currently, this work was done during my internship at Institute of Automation, Chinese Academy of Sciences. You can learn more about me from my LinkedIn.

#####Dependencies: Boost, Dlib 18.10, OpenCV 2.4, GLUT.

Note: Please make sure conn.txt and landmark.txt and dlib's default face landmarking model file shape_predictor_68_face_landmarks.dat (download here) are in the same directory as the executable.

#####Installation:

mkdir build

cd build

cmake .. -Ddlib_DIR=path/to/dlib/ (make sure the file dlib_DIR/dlib/cmake exists)

make

#####Usage:

the program will use your webcamera by default.

You can specify a video file as the first command line argument.

#####Acknowledgement:

The inspiration comes from IntraFace.

  • Jose Gonzalez-Mora, Fernando De la Torreb, Nicolas Guil, Emilio L.Zapata, 2010

    Learning a generic 3D face model from 2D image databases using incremental structure from motion

  • Vahid Kazemi and Josephine Sullivan

    One Millisecond Face Alignment with an Ensemble of Regression Trees

  • Lorenzo Torresani, Aaron Hertzmann and Christoph Bregler, NIPS 16, 2003

    Learning Non-Rigid 3D Shape from 2D Motion

  • Gianluca Donato and Serge Belongie, 2002

    Approximation Methods for Thin Plate Spline Mappings and Principal Warps

#####License:

Copyright (C) 2016 by Rui Huang [email protected]

The program DenseFace3D is licensed under the GNU General Public License.

DenseFace3D is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

DenseFace3D is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with DenseFace3D. If not, see http://www.gnu.org/licenses/.

denseface3d's People

Contributors

hrlty avatar

Watchers

Billy Rose 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.