Comments (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 functioncv2.remap()
. The rendered view is basicallyref_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.
Thank you! Will try to work with this info.
from face_specific_augm.
Related Issues (20)
- cv2 error in remap when running demo.py HOT 1
- ValueError: too many values to unpack (expected 2) HOT 1
- Question about 3D head model HOT 1
- Error:ValueError: too many values to unpack HOT 1
- Error HOT 1
- Question about downloading the model HOT 4
- MATLAB 3D Model Renderer HOT 5
- when i run the demo, there occured an error in function warpImg, can anyone help? thx HOT 1
- errors when render
- ValueError: too many values to unpack HOT 3
- 3D models HOT 1
- Error when 'background=no' in the config.ini file HOT 2
- Do we have synthetic lighting rendering in this repo? HOT 1
- face expression HOT 2
- landmark position in facemask
- going from profile to frontal HOT 2
- question on "extreme poses and viewing conditions" and resnetON = yes HOT 1
- Dlib, opencv and imutils version HOT 2
- Opencv 4.2.0 error HOT 1
- adding more angles and directions HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from face_specific_augm.