Electronic sticker packs generated by artificial intelligence based on user prompt
A data processing system includes a processor; and a memory in communication with the processor, the memory storing executable instructions that, when executed by the processor alone or in combination with other processors, cause the data processing system to perform functions of: receiving user input in text form describing a sticker pack a user wants to generate, a user interface prompting the user to enter the user input; generating a prompt using the user input and a prompt template that is specific to sticker pack generation; submitting the prompt to a generative artificial intelligence (GAI) to generate an image for the sticker pack; and segmenting and filtering the image from the GAI with a post-processing system to produce a completed pack of stickers usable by the user.
1 . A data processing system comprising:
a processor; and
a memory in communication with the processor, the memory comprising executable instructions that, when executed by the processor alone or in combination with other processors, cause the data processing system to perform functions of:
receiving, via a user interface, user input in text form describing a sticker pack a user wants to generate, wherein:
the user input includes a theme and a desired number of unique electronic stickers, and
the sticker pack comprises a plurality of unique electronic stickers that share the theme;
generating a prompt using a prompt template that includes instructions to generate the sticker pack according to the desired number of unique electronic stickers and the theme to be shared among the desired number of unique electronic stickers;
submitting the prompt to a generative artificial intelligence (GAI) to generate an image for the sticker pack;
receiving the image for the sticker pack generated by the GAI;
processing, by intelligent binary thresholding, the image to produce a segmented image;
processing, by hierarchical contouring, the segmented image to produce a contoured image;
processing, by non-leaf node contour filtering, the contoured image to produce a filtered contoured image;
processing, with cut-off filtering, the filtered contoured image to remove superfluous objects from the filtered contoured image;
processing, with transparency and area-based filtering, the filtered contoured image to filter objects from the filtered contoured image based on transparency levels and areas;
processing, with edge smoothing with a Gaussian blur, the filtered contoured image to obtain edge smoothing of the objects in the filtered contoured image to produce a set of segmented stickers; and
displaying the set of segmented stickers on the user interface.
2 . The data processing system of claim 1 , wherein the user interface comprises a text box to receive text describing the sticker pack with the prompt to the user to enter a description of the sticker pack.
3 . The data processing system of claim 2 , wherein the user interface further comprises a generate button to initiate generation of the prompt.
4 . The data processing system of claim 1 , the user interface including a control to allow the user to expand and inspect the sticker pack in a pop-up view.
5 . The data processing system of claim 4 , wherein the pop-up view comprises an enlarged view of one of the unique electronic stickers of the sticker pack and controls to move each of the unique electronic stickers of the sticker pack into the enlarged view.
6 . The data processing system of claim 4 , wherein the pop-up view comprises controls to download the unique electronic stickers of the sticker pack for use on a platform utilized by the user for communication.
7 . The data processing system of claim 1 , wherein a post-processing system comprises intelligent binary thresholding.
8 . The data processing system of claim 7 , wherein the post-processing system further comprises hierarchical contouring.
9 . The data processing system of claim 8 , wherein the post-processing system further comprises non-leaf node contour filtering.
10 . The data processing system of claim 9 , wherein the post-processing system further comprises cut off filtering.
11 . The data processing system of claim 10 , wherein the post-processing system further comprises transparency and area-based filtering.
12 . The data processing system of claim 11 , wherein the post-processing system further comprises edge smoothing with Gaussian blur.
13 . A data processing system comprising a data center implementing a sticker pack generation service, the sticker pack generation service further comprising:
a network interface for receiving user input in text form describing a sticker pack a user wants to generate, the user input from a user interface indicating a function to generate electronic stickers based on a theme of the user input for customizing the electronic stickers of the sticker pack, wherein the user input includes a theme and a desired number of unique electronic stickers, and the sticker pack comprises a plurality of unique electronic stickers that share the theme;
a prompt generator for generating a prompt using a prompt template that includes instructions to generate the sticker pack according to the desired number of unique electronic stickers and the theme to be shared among the desired number of unique electronic stickers and for submitting the prompt to a generative artificial intelligence (GAI) to generate an image for the sticker pack; and
a post-processing system, further including:
receiving the image for the sticker pack generated by the GAI;
processing, by intelligent binary thresholding, the image to produce a segmented image;
processing, by hierarchical contouring, the segmented image to produce a contoured image;
processing, by non-leaf node contour filtering, the contoured image to produce a filtered contoured image;
processing, with cut-off filtering, the filtered contoured image to remove superfluous objects from the filtered contoured image;
processing, with transparency and area-based filtering, the filtered contoured image to filter objects from the filtered contoured image based on transparency levels and areas;
processing, with edge smoothing with a Gaussian blur, the filtered contoured image to obtain edge smoothing of the objects in the filtered contoured image to produce a set of segmented stickers; and
displaying the set of segmented stickers on the user interface.
14 . The data processing system of claim 13 , wherein the user interface further includes a text box to receive text describing the sticker pack with the prompt to the user to enter a description of the sticker pack.
15 . The data processing system of claim 14 , wherein the user interface further a generate button to initiate generation of the prompt.
16 . The data processing system of claim 13 , the user interface further including a control to allow the user to expand and inspect the sticker pack in a pop-up view,
wherein the pop-up view comprises an enlarged view of one of the unique electronic stickers of the sticker pack and controls to move each of the unique electronic stickers of the sticker pack into the enlarged view; and controls to download the unique electronic stickers of the sticker pack for use on a platform utilized by the user for communication.
17 . The data processing system of claim 13 , wherein the post-processing system comprises intelligent binary thresholding, hierarchical contouring, non-leaf node contour filtering, cut off filtering, transparency and area-based filtering and edge smoothing with Gaussian blur.
18 . A method of producing a completed pack of electronic stickers based on a user description, the method comprising:
receiving, via a user interface, user input in text form describing a sticker pack a user wants to generate, the user interface prompting the user to enter the user input and indicating a function to generate unique electronic stickers based on a theme of the user input for customizing the electronic stickers of the sticker pack wherein the sticker pack comprises a plurality of unique electronic stickers that share the theme;
generating a prompt using a prompt template that includes instructions to generate the sticker pack according to a desired number of unique electronic stickers and the theme to be shared among the desired number of unique electronic stickers;
submitting the prompt to a generative artificial intelligence (GAI) to generate an image for the sticker pack;
receiving the image for the sticker pack generated by the GAI;
processing, by intelligent binary thresholding, the image to produce a segmented image;
processing, by hierarchical contouring, the segmented image to produce a contoured image;
processing, by non-leaf node contour filtering, the contoured image to produce a filtered contoured image;
processing, with cut-off filtering, the filtered contoured image to remove superfluous objects from the filtered contoured image;
processing, with transparency and area-based filtering, the filtered contoured image to filter objects from the filtered contoured image based on transparency levels and areas;
processing, with edge smoothing with a Gaussian blur, the filtered contoured image to obtain edge smoothing of the objects in the filtered contoured image to produce a set of segmented stickers; and
displaying the set of segmented stickers on the user interface.
19 . The method of claim 18 , wherein the user interface further includes a control to allow the user to expand and inspect the sticker pack in a pop-up view that comprises an enlarged view of one of the unique electronic stickers of the sticker pack and controls to move each of the unique electronic stickers of the sticker pack into the enlarged view to download the unique electronic stickers of the sticker pack for use on a platform utilized by the user for communication.
20 . The method of claim 18 , wherein post-processing comprises intelligent binary thresholding, hierarchical contouring, non-leaf node contour filtering, cut off filtering, transparency and area-based filtering and edge smoothing with Gaussian blur.