GithubHelp home page GithubHelp logo

jackzhousz / face-tracking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from isikmustafa/face-tracking

0.0 0.0 0.0 11.31 MB

RGB Face Tracking and Reconstruction on GPU using CUDA

License: BSD 2-Clause "Simplified" License

JavaScript 1.23% C++ 1.89% C 87.89% Objective-C 4.24% CSS 1.11% Cuda 0.72% HTML 1.95% CMake 0.89% GLSL 0.09%

face-tracking's Introduction

RGB Face Tracking and Reconstruction using CUDA

Results

On the left you can see a face reconstruction based on the input video from the right

Barack Obama

Justin Trudeau

Setup configuration

Environment variables

Side notes: To run the project you will need a parametric face model
Use OpenCV 4.0.0

NAME EXAMPLE VALUE
GLFW3 \face-tracking\3rd\glfw-3.3\bin\lib-vc2017-64bit
OPENCV_DIR \OpenCV\opencv\build\x64\vc15
OPENCV_INCLUDE \OpenCV\opencv\build\include
OPENCV_BIN \OpenCV\opencv\build\x64\vc15\bin
OPENCV_LIB \OpenCV\opencv\build\x64\vc15\lib
DLIB_DIR \Projects\dlib
DLIB_LIB_DEBUG \Projects\dlib\examples\build\dlib_build\Debug
DLIB_LIB_RELEASE \Projects\dlib\examples\build\dlib_build\Release

Extra files

NAME VALUE
shape_predictor_68_face_landmarks.dat \face-tracking\project

DLIB instruction

  1. Download https://github.com/davisking/dlib Commit hash: e30f5e2fe88ff3a9c8265c6265b37956ce535ac2
  2. Build examples and remember to set flags to ON in CMAKE:
    • DLIB_USE_CUDA
    • USE_SSE4_INSTRUCTIONS
    • USE_SSE2_INSTRUCTIONS
    • USE_AVX_INSTRUCTIONS
  3. Build one of the project example in VS to generate dlib_build folder

References

face-tracking's People

Contributors

isikmustafa avatar mirjang avatar zielon 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.