How to estimate the depth map for a 2D face image?

19 views (last 30 days)
Depth maps are a representation of the 3D shape of the face in a 2D image, which shows the face location and the depth information of different facial areas.
Although there is a way to estimate the disparity map between stereo images in Matlab( https://uk.mathworks.com/help/vision/ref/disparity.html ), but there is no (Matlab built-in) function to estimate the depth of a face in single 2D image.
Does anyone have a solution for that?

Answers (1)

George Abrahams
George Abrahams on 23 Jan 2024
This task is called "monocular depth estimation" and it is a heavily researched field.
For a still image, the most common, traditional method would be shape from shading, but these days deep neural networks are most commonly used. You may even be able to find a pretrained CNN.
Here's an open-access review paper on "Monocular Neural Facial Depth Estimation".

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!