Facial expression generation method and device, mobile terminal and storage medium
An expression and user technology, applied in the field of image processing, can solve problems such as distortion of expression pictures, mismatch between expression templates and user photos, and poor synthesis effect of custom expression pictures.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flow chart of a method for generating expressions provided in the first embodiment of the present invention. This embodiment can be applied to a mobile terminal that can take pictures. The method is executed by a device that generates expressions, and the device can be implemented by software and / or hardware. Implementation, generally can be integrated in a mobile terminal, the method specifically includes the following steps:
[0029] S110: Acquire an image of the user's face area.
[0030] In the embodiment of the present invention, the user's facial area image is intercepted in the user's self-portrait photo image.
[0031] S120: Acquire facial feature information of the user according to the image.
[0032] In an embodiment of the present invention, optionally, acquiring the facial feature information of the user based on the image includes: selecting multiple feature regions based on the image; using each region as an expression feature unit, and Determin...
Embodiment 2
[0042] figure 2 It is a flowchart of a method for generating an expression provided by the second embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. The method specifically includes the following steps:
[0043] S210: Acquire an image of the user's face area.
[0044] S220: Acquire facial feature information of the user according to the image.
[0045] S230: Predefine an expression template, extract expression feature units of the template according to a template selected by the user, and determine facial feature information of the template, where the template includes at least one expression feature unit.
[0046] In the embodiment of the present invention, the expression template is preset, and the template includes the feature point information of at least one expression feature unit. The user selects the template in the image processing software gallery, and determines the expression adjustment parameters according to ...
Embodiment 3
[0052] image 3 It is a flowchart of a method for generating an expression provided in the third embodiment of the present invention. This embodiment is optimized on the basis of the above-mentioned first embodiment. The method specifically includes the following steps:
[0053] S310: Acquire an image of the user's face area.
[0054] S320: Acquire facial feature information of the user according to the image.
[0055] S330: Determine feature points of each expression feature unit according to the facial feature information of the user.
[0056] S340: Obtain the user's operation for adjusting the feature point and use it as the user's expression adjustment parameter.
[0057] In the embodiment of the present invention, the user can directly input an expression adjustment operation, and obtain expression adjustment parameters according to the user adjustment expression operation. For example, to obtain the operation of adjusting the eyes to smile, the characteristic points of the upper ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


