3D Face Reconstruction
From a photo of a face, service predicts gender, shape blendshapes, UV face texture, hair color, skin color, the presence of glasses.
1. Getting a token
2. Choice of photo
Choose a photo of a person.
Note: Please send a photo of one person.
Note: The quality of the photo must be a fairly good resolution.
Note: The face should not be a full face and not covered by foreign objects.
Note: Lighting should not have hard drops and shadows.
Note: The photo should have neutral lighting. Otherwise the skin color will be unrealistic.
Note: The correct result is issued for persons over 18 years of age. Children may have problems with gender determination.
Note: The best result will be with neutral facial emotions.
Need a successful image? Download a sample
3. Reconstruct 3D Face
Make a request by sending your chosen photo.
Note: Do not forget to replace the details in the request with your own.
Expected output:
After successful execution of the code, you should receive the following type of json in head_config.json
file:
At the moment we have received information about the person. Now let's download the face texture.
4. Download UV face texture
The json we received in the last step contains the url where we can download the texture.
After the completed stages, you get a uv texture uv.png
and information about the face head_config.json
.
5. Visualization
In order to get a 3D model of the head, we will use GLB Constructor:
After the completed stages, you get a glb model head.glb
.
To add hair to the head model please follow to 3D Hair Reconstruction.
Last updated