Patent ID: 11908237
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. An electronic device, comprising:
a memory; a processor; and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, causes the electronic device to:
when an obtained first image comprises a human face, perform a first transformation process on the first image to obtain a second image;
determine, based on a first target face key point of the human face in the first image, a target position, in the first image, of a second target face key point of the human face in the second image;
perform a first movement process on the second image based on the target position;
generate a target image based on the first image and the second image processed through the first movement process, and display the target image;
wherein the processor, when executing the computer program, further causes the electronic device to:
subsequent to performing the first movement process on the second image based on the target position, perform a second movement process on the second image processed through the first movement process based on a predetermined movement trajectory;
wherein generating the target image further comprises generating the target image based on the first image and the second image processed through the first movement process and the second movement process;
wherein the processor, when executing the computer program, further causes the electronic device to:
subsequent to the performing the first movement process on the second image based on the target position, add target additional information to a predetermined position of the second image processed through the first movement process to obtain a fifth image; and
wherein the generating the target image based on the first image and the second image processed through the first movement process further comprises: generating the target image based on the first image and the fifth image.