| CPC G06F 3/011 (2013.01) [G06V 40/174 (2022.01)] | 12 Claims |

|
1. A facial image generation method performed by an electronic device, comprising:
obtaining a facial contour of a target user wearing an Augmented Reality (AR) device, wherein the facial contour of the target user is determined by:
performing contour imaging of the face of the target user with different depths of field to obtain multiple contour images of the face of the target user, and
superposing the obtained multiple contour images to obtain the facial contour of the target user;
determining a facial angle of the target user based on the facial contour of the target user while wearing the AR device, wherein the facial angle comprises an angle between a face orientation of the target user and the electronic device, wherein determining the facial angle further comprises:
matching the facial contour of the target user to one of multiple facial contours of the target user that are pre-recorded and stored in a facial contour database, wherein each of the pre-recorded contours of the target user in the facial contour database corresponds to a respective facial angle; and
determining the facial angle at which the one of the multiple facial contours of the target user is matched,
obtaining a target facial expression; and
generating a facial image of the target user based on the target facial expression and the facial angle,
wherein when a plurality of target users each wears an AR device, a facial image is generated for each of the plurality of target users, wherein each target user is bound with a facial image generation function by using a respective preset gesture action,
wherein when the facial image is locked by the target user wearing the AR device, the facial image has no changes.
|