CPC G06V 20/20 (2022.01) [G06T 13/40 (2013.01); G06V 20/64 (2022.01); G06V 40/168 (2022.01)] | 20 Claims |
1. An electronic device comprising:
a camera;
a display;
a processor; and
memory storing instructions that, when executed by the processor, cause the electronic device to:
obtain, using the camera, a preview image including an object;
track the object in the obtained preview image;
determine whether or not the object includes a face of a user;
produce an avatar image including an avatar which has features corresponding to the user's face and/or which simulates a motion of the object based on the tracking of the object;
synthesize the avatar image with at least a portion of the object in the preview image;
output, through the display, the preview image such that the avatar image replaces the user's face in the preview image; and
select between providing a facial avatar and providing a body avatar according to whether a first portion or a second portion of a body of the user is a predetermined size relative to the object in the preview image.
|