US 12,229,330 B2
Facial image generation method and apparatus, electronic device, and readable storage medium
Lingqu Ouyang, Dongguan (CN); and TikFan Chan, Dongguan (CN)
Assigned to VIVO MOBILE COMMUNICATION CO., LTD., Dongguan (CN)
Filed by VIVO MOBILE COMMUNICATION CO., LTD., Dongguan (CN)
Filed on Nov. 9, 2022, as Appl. No. 17/984,212.
Application 17/984,212 is a continuation of application No. PCT/CN2021/091859, filed on May 6, 2021.
Claims priority of application No. 202010386661.8 (CN), filed on May 9, 2020.
Prior Publication US 2023/0085099 A1, Mar. 16, 2023
Int. Cl. G06F 3/01 (2006.01); G06V 40/16 (2022.01)
CPC G06F 3/011 (2013.01) [G06V 40/174 (2022.01)] 12 Claims
OG exemplary drawing
 
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.