Giter Site home page Giter Site logo

Comments (2)

iacopomasi avatar iacopomasi commented on July 22, 2024 2

Hi @chamantonio,

for a general overview, you can read this paper:

Masi, I., Hassner, T., Tran, A. T., & Medioni, G. (2017, May). Rapid synthesis of massive face sets for improved face recognition. In Automatic Face & Gesture Recognition (FG 2017), 2017 12th IEEE International Conference on (pp. 604-611). IEEE.

The link is here

Quick reply:

  • proj_matrix: is the 3x4 projection matrix from 3D to 2D; from the 3D face to the 2D image. It is M in Eq. (2) of the paper.
  • ref_U: is the 224x224 unprojected matrix that contains the 3D coordinates in each channel and serves as a look-up table. For a 3D point in ref_U, say ref_U[i,j]you project it to the image, you sample the texture and then you know how to generate the rendered image since the indices of the matrix will tell you where to write the sampled texture (in [i,j]; This is quickly performed using the 2D interpolation function cv2.remap(). The rendered view is basically ref_U but replaced with the texture content. See Eq. (1) in the paper.
  • eyemask and facemask: indices of ref_U that contains the inner part of the faces (without the head) and those of the eyes only. See the config file parameter background to render without the head.

Other very related project you might be interested in:

I hope this helps.

from face_specific_augm.

chamantonio avatar chamantonio commented on July 22, 2024

Thank you! Will try to work with this info.

from face_specific_augm.

Related Issues (20)

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.