Coder Social home page Coder Social logo

asdlei99 / facemapping2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gametechdev/facemapping2

0.0 0.0 0.0 288.92 MB

This is an improvement on the original FaceMapping code sample. This sample uses Intel RealSense to scan the user's face, and map it onto 3d head mesh.

License: Apache License 2.0

C++ 69.08% C 5.35% HLSL 6.13% Batchfile 0.03% Pascal 18.39% RenderScript 0.08% GLSL 0.69% Rust 0.24% PostScript 0.02%

facemapping2's Introduction

Mapping an Intel® RealSense™ SDK Face Scan to a 3D Head Model

The face mapping sample uses the Intel RealSense™ 3D Scan module to scan the user's face and then map it onto an existing 3D head model. This is an improvement on a previous code sample sample that used a "stone faced" mapping technique. In this sample the following features have been added:

  • Parameterized head. The user can shape the head using a series of sliders. For example, the user can change the width of the head, ears, jaw, and so on.
  • Standardized mesh topology. The mapping algorithm can be applied to a head mesh with a standardized topology and can retain the context of each vertex after the mapping is complete. This paves the way for animating the head, improved blending, and post-mapping effects.
  • Color and shape post processing. Morph targets and additional color blending can be applied after the mapping stages are complete to customize the final result.
  • Hair. There are new hair models created to fit the base head model. A custom algorithm is used to adjust the hair geometry to conform to the user’s chosen head shape.

For detailed information on this sample, please visit: https://software.intel.com/en-us/articles/mapping-an-intel-realsense-sdk-face-scan-to-a-3d-head-model

The previous version of the code sample is available here: https://github.com/GameTechDev/FaceMapping

Build Instructions

The facescan2.sln solution should be built with Visual Studio 2012 or greater. There are 2 build configurations types available, the kind that support scanning faces, and the ones that only supports face mapping of a pre-scanned face. The configurations with the "_NO_RS" prefix don't support face scanning and can be built and run without the RealSense™ SDK or RealSense™ camera

Requirements

  • Windows 8.1 or Windows 10
  • Visual Studio 2012 or higher
  • Intel® RealSense™ SDK (R5 release) or newer *
  • RealSense™ F200 or SR300 Camera*
  • These are only required for scanning new faces. The sample includes a single pre-scanned face for experimenting.

The Intel® RealSense™ SDK can be download here: https://software.intel.com/en-us/intel-realsense-sdk/download

facemapping2's People

Contributors

codergirl42 avatar wheresthecode 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.