In step S205, a face feature point of the first image is obtained, depth information of the feature point is obtained from a preset standard template, and the depth information is mapped to the feature point of the first image, to obtain a processed image.
After the first image is obtained, the face feature point on the first image is obtained. The feature point is obtained by using a preset algorithm. The depth information of the feature point is obtained from a preset standard template. The standard template includes a standard face image and standard feature points on the face image, where the feature points include respective depth information and have respective numbers. The first image is divided in a same manner as that of the standard template, and each feature point in the first image has a corresponding feature point in the standard template. The depth information of the feature point in the standard template is mapped to the corresponding feature point in the first image, to obtain the processed image. There may be multiple standard templates, which may be face images captured at different angles, to adapt to faces of different angles in the image, so that the depth information is more accurate. In a case of multiple templates at different angles, the coordinates of the feature points are recorded. If coordinates of the feature point in the first image satisfies a predetermined relationship with the coordinates of the feature point in the standard template, the depth information of the feature point in the standard template is obtained, wherein the predetermined relationship may be that the difference between the coordinates of the feature point in the first image and the coordinates of the feature point in the standard template is within a threshold.