Generating cartoon images from photos
First Claim
Patent Images
1. A computer-implemented method comprising:
- receiving, using one or more computing devices, an image of a user;
determining, using the one or more computing devices, a template for a cartoon avatar;
determining, using the one or more computing devices, attributes needed for the template, wherein the attributes include at least one facial attribute;
processing, using the one or more computing devices, the image with a classifier trained for classifying attributes included in the image, wherein the classifier includes a shallow neural network, wherein the shallow neural network is an attribute specific classifier and is coupled to a selected layer of a pre-trained deep neural network model, and wherein the selected layer of the pre-trained deep neural network model is selected by determining that the selected layer provides discrimination for a selected attribute from different training set images and is invariant to parameters that do not affect the selected attribute;
determining, using the one or more computing devices, labels generated by the classifier for the attributes included in the image;
determining, using the one or more computing devices, cartoon assets for the attributes included in the image, based on the labels; and
rendering, using the one or more computing devices, the cartoon avatar personifying the user using the cartoon assets by;
organizing one or more of the cartoon assets into a position relative to other cartoon assets corresponding to the at least one facial attribute in the template;
stitching and blending edges of the cartoon assets; and
rendering the cartoon avatar based on the organized and stitched cartoon assets.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for generating cartoon images from photos are described. The method includes receiving an image of a user, determining a template for a cartoon avatar, determining an attribute needed for the template, processing the image with a classifier trained for classifying the attribute included in the image, determining a label generated by the classifier for the attribute, determining a cartoon asset for the attribute based on the label, and rendering the cartoon avatar personifying the user using the cartoon asset.
6 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
receiving, using one or more computing devices, an image of a user; determining, using the one or more computing devices, a template for a cartoon avatar; determining, using the one or more computing devices, attributes needed for the template, wherein the attributes include at least one facial attribute; processing, using the one or more computing devices, the image with a classifier trained for classifying attributes included in the image, wherein the classifier includes a shallow neural network, wherein the shallow neural network is an attribute specific classifier and is coupled to a selected layer of a pre-trained deep neural network model, and wherein the selected layer of the pre-trained deep neural network model is selected by determining that the selected layer provides discrimination for a selected attribute from different training set images and is invariant to parameters that do not affect the selected attribute; determining, using the one or more computing devices, labels generated by the classifier for the attributes included in the image; determining, using the one or more computing devices, cartoon assets for the attributes included in the image, based on the labels; and rendering, using the one or more computing devices, the cartoon avatar personifying the user using the cartoon assets by; organizing one or more of the cartoon assets into a position relative to other cartoon assets corresponding to the at least one facial attribute in the template; stitching and blending edges of the cartoon assets; and rendering the cartoon avatar based on the organized and stitched cartoon assets. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising a non-transitory computer readable medium including a computer readable program, wherein the computer readable program when executed on a computer causes the computer to perform operations comprising:
-
receiving an image of a user; determining a template for a cartoon avatar; determining attributes needed for the template; processing the image with a classifier trained for classifying the attributes included in the image, wherein the attributes include at least one facial attribute, wherein the classifier includes a shallow neural network, wherein the shallow neural network is an attribute specific classifier and is coupled to a selected layer of a pre-trained deep neural network model, and wherein the selected layer of the pre-trained deep neural network model is selected by determining that the selected layer provides discrimination for a selected attribute from different training set images and is invariant to parameters that do not affect the selected attribute; determining labels generated by the classifier for the attributes included in the image; determining cartoon assets for the attributes included in the image based on the labels; and rendering the cartoon avatar personifying the user using the cartoon assets by; organizing one or more of the cartoon assets into a position relative to other cartoon assets corresponding to the at least one facial attribute in the template; stitching and blending edges of the cartoon assets; and rendering the cartoon avatar based on the organized and stitched cartoon assets. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system comprising:
-
a processor; and a memory storing instructions that, when executed, cause the system to perform operations comprising; receiving an image of a user; determining a template for a cartoon avatar; determining attributes needed for the template, wherein the attributes include at least one facial attribute; processing the image with a classifier trained for classifying the attributes included in the image, wherein the classifier includes a shallow neural network, wherein the shallow neural network is an attribute specific classifier and is coupled to a selected layer of a pre-trained deep neural network model, and wherein the selected layer of the pre-trained deep neural network model is selected by determining that the selected layer provides discrimination for a selected attribute from different training set images and is invariant to parameters that do not affect the selected attribute; determining labels generated by the classifier for the attributes included in the image; determining cartoon assets for the attributes included in the image based on the labels; and rendering the cartoon avatar personifying the user using the cartoon assets by; organizing one or more of the cartoon assets into a position relative to other cartoon assets corresponding to the at least one facial attribute in the template; stitching and blending edges of the cartoon assets; and rendering the cartoon avatar based on the organized and stitched cartoon assets. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification