The memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, cause the at least one processor to perform the face image processing method according to any one of the first aspect.
In a fourth aspect, a non-transient computer-readable storage medium is provided according to an embodiment of the present disclosure. The non-transient computer-readable storage medium stores computer instructions, the computer instructions are configured to cause a computer to perform the face image processing method according to any one of the first aspect.
A face image processing method, a face image processing apparatus, an electronic device, and a computer readable storage medium are provided according to the embodiments of the present disclosure. The face image processing method includes: obtaining a to-be-processed image; determining if a face image is detected in the to-be-processed image; in response to a detected face image, performing first processing on the face image, to obtain a first image; and obtaining depth information, and adding the depth information to the first image, to obtain a processed image. With the technical solution of the embodiments of the present disclosure, the problem in the conventional technology that an image appears unrealistic due to image information loss after image processing can be solved. Image depth information is added to a processed image through a simple user operation, such that the image have a three-dimensional effect.