Optionally, the obtaining depth information, and adding the depth information to the first image, to obtain a processed image may include: obtaining a feature point of the face image; obtaining depth information of the feature point of the face image from a preset standard template; and mapping the depth information to the feature point of the face image, to obtain the processed image.
Optionally, the obtaining depth information of the feature point of the face image from a preset standard template may include: determining a first standard template among preset standard templates, wherein coordinates of a feature point in the first standard template satisfies a preset relationship with coordinates of the feature point of the face image; and determining the depth information of the feature point of the face image based on the depth information of the feature point in the first standard template.
In a second aspect, a face image processing apparatus is provided according to an embodiment of the present disclosure. The apparatus includes: an image obtaining module, a detection module, a first processing module, and a depth module.
The image obtaining module is configured to obtain a to-be-processed image.
The detection module is configured to determine if a face image is detected in the to-be-processed image.
The first processing module is configured to, in response a detected face image, perform a first processing on the face image, to obtain a first image.
The depth module is configured to obtain depth information, and add the depth information to the first image, to obtain a processed image.