Patent ID: 11922725
Assignee: BEIJING XIAOMI PINECONE ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. A device for generating an emoticon, comprising at least:
a processor; and
a memory configured to store executable instructions executable on the processor,
wherein the processor is configured to execute the executable instructions to implement:
acquiring a first expression tag list corresponding to a face image in a portrait by inputting the face image into an expression recognition model;
determining at least one label text corresponding to the face image based on the first expression tag list and a correspondence between a preset text and a second expression tag list, wherein the at least one label text is configured to indicate content conveyed by a facial expression in the face image;
determining an expression image corresponding to the portrait, wherein the face image is a part of the expression image; and
generating an emoticon by labelling the expression image with the at least one label text,
wherein the processor is further configured to generate the emoticon by labelling the expression image with the at least one label text by:
determining a label location of the at least one label text in the expression image; and
acquiring the emoticon by arranging the at least one label text based on the label location,
wherein the label location comprises a label coordinate of the at least one label text and a label font size of the at least one label text,
wherein the processor is further configured to determine the label location of the at least one label text in the expression image by:
determining the label font size based on a size of the expression image and a length of the at least one label text; and
determining the label coordinate of the at least one label text according to the size of the expression image, the length of the at least one label text, and the label font size.