Patent ID: 11893681
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. A two-dimensional (2D) image processing device comprising:
a memory storing one or more instructions; and
a processor configured to execute the one or more instructions,
wherein the processor is configured to:
obtain a 2D image,
process the obtained 2D image by using a trained convolutional neural network (CNN) to obtain at least one camera parameter, at least one face model parameter and at least one emotion parameter from the 2D image,
generate a three-dimensional (3D) face model, based on the obtained at least one camera parameter and at least one face model parameter,
determine a feeling of a user by using the obtained at least one emotion parameter, and
provide an advertisement of a product or service, based on the determined feeling of the user,

wherein the obtained at least one emotion parameter is based on predefined landmarks of the 2D image compared to a 3D morphable face model, and
wherein the processor is further configured to:
process the 2D image by using the trained CNN by adjusting a size of the 2D image,
detect a face from the size-adjusted 2D image,
indicate, with a bounding box, a face region comprising the detected face
cut an image of the face region indicated by the bounding box, from the 2D image,
generate a second image by adjusting a size of the cut image of the face region,
mark at least one landmark of the face on the second image, and

obtain at least one camera parameter and at least one face model parameter that most closely match the at least one landmark.