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

Claim 12:
13. A non-transitory computer-readable storage medium storing computer-executable instructions which, when executed by a processor, cause the processor to perform acts comprising:
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 generating the emoticon by labelling the expression image with the at least one label text comprises:
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 determining the label location of the at least one label text in the expression image comprises:
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.