CN105427238A - Image processing method and mobile terminal - Google Patents

Image processing method and mobile terminal Download PDF

Info

Publication number
CN105427238A
CN105427238A CN201510870258.1A CN201510870258A CN105427238A CN 105427238 A CN105427238 A CN 105427238A CN 201510870258 A CN201510870258 A CN 201510870258A CN 105427238 A CN105427238 A CN 105427238A
Authority
CN
China
Prior art keywords
image
face
facial image
attitude
described current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510870258.1A
Other languages
Chinese (zh)
Other versions
CN105427238B (en
Inventor
张新远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NANJING WEIWO SOFTWARE TECHNOLOGY Co.,Ltd.
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201510870258.1A priority Critical patent/CN105427238B/en
Publication of CN105427238A publication Critical patent/CN105427238A/en
Application granted granted Critical
Publication of CN105427238B publication Critical patent/CN105427238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • G06T3/04

Abstract

An embodiment of the invention provides an image processing method. The method comprises: obtaining a human face image of a user who is not made up and a human face image of the user who is made up; comparing the human face image of a user who is not made up with the human face image of the user who is made up to obtain a human face difference image; obtaining a current human face image of the user and determining the current human face image to be a makeup-free image or a makeup image; if the current human face image is the makeup-free image, superposing the human face difference image into the current human face image to obtain a beautified image; and if the current human face image is the makeup image, separating the human face difference image from the current human face image to obtain the beautified image. An embodiment of the invention furthermore provides a mobile terminal. Under the control of the method, the conversion of a facial appearance state of the current human face image of the user can be realized, the user demands are met, and the user experience is improved.

Description

A kind of image processing method and mobile terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of image processing method and mobile terminal.
Background technology
Along with mobile terminal universal with shoot function, the application of image processing software is also more and more extensive.In prior art, image processing software is all beautified by fixing pattern or the facial image of parameter to user, can not change the appearance state of the facial image of user.Such as, user is current for cosmetic state, then to process the facial image obtained still be cosmetic state; Be plain face state as user is current, then processing the facial image obtained still is plain face state.Therefore, existing image processing software is difficult to the user demand meeting user, reduces the experience effect of user.
Summary of the invention
For overcoming the problem of the appearance state that can not change user's facial image in prior art, the object of this invention is to provide a kind of image processing method and mobile terminal.
For achieving the above object, technical scheme provided by the invention is:
On the one hand, the invention provides a kind of image processing method, comprising:
Facial image during acquisition user element face and the facial image after making up;
Facial image after facial image during described plain face and described cosmetic is compared, obtains face differential image;
Obtain the facial image that user is current, determine that described current facial image is plain face image or cosmetic image;
If described current facial image is plain face image, in described current facial image, superposes described face differential image, obtain beautifying picture;
If described current facial image is cosmetic image, in described current facial image, is separated described face differential image, obtains beautifying picture.
On the other hand, the present invention also provides a kind of mobile terminal, comprising:
Acquisition module, for obtain user element face time facial image and make up after facial image;
Comparing module, for being compared by the facial image after facial image during described plain face and described cosmetic, obtains face differential image;
Determining image module, for obtaining the current facial image of user, determining that described current facial image is plain face image or cosmetic image;
Laminating module, if be plain face image for described current facial image, superpose described face differential image, obtains beautifying picture in described current facial image;
Separation module, if be cosmetic image for described current facial image, be separated described face differential image, obtain beautifying picture in described current facial image.
The embodiment of the present invention, by facial image during user's element face and the facial image after making up being compared, obtains face differential image; If current facial image is plain face image, in current facial image, superpose face differential image, obtain beautifying picture, this beautifying picture is cosmetic image; If current facial image is cosmetic image, is separated face differential image, obtains beautifying picture in current facial image, this beautifying picture is plain face image.Like this, namely user changes the appearance state of facial image by the embodiment of the present invention, realize makeup or the makeup removing of current facial image, meet the user demand of user, improve the experience effect of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the first embodiment of image processing method of the present invention;
Fig. 2 is the schematic flow sheet of the second embodiment of image processing method of the present invention;
Fig. 3 is in the second embodiment of image processing method of the present invention, the schematic flow sheet of step S21;
Fig. 4 is in the second embodiment of image processing method of the present invention, the schematic flow sheet of step S26;
Fig. 5 is in the second embodiment of image processing method of the present invention, the schematic flow sheet of step S27;
Fig. 6 is the structural representation of the first embodiment of mobile terminal of the present invention;
Fig. 7 is the structural representation of the second embodiment of mobile terminal of the present invention.
Embodiment
In order to make technical matters solved by the invention, technical scheme and beneficial effect clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1, be the schematic flow sheet of the first embodiment of image processing method of the present invention, the method comprises:
Step S11, facial image during acquisition user element face and the facial image after making up.
In this step, before user uses the embodiment of the present invention, facial image when needing user to obtain plain face by camera also stores; Similarly, user is needed to obtain the facial image after making up by camera and store.
Step S12, compares the facial image after facial image during described plain face and described cosmetic, obtains face differential image.
In this step, face differential image can be obtained by comparing to facial image during the plain face stored and the face image after making up; Facial image when face differential image can show as plain face with make up after the color distortion of facial image.Due to the face characteristic in facial image during plain face with make up after facial image in face characteristic there is color distortion, facial image when can obtain plain face by comparison with make up after the color distortion of facial image.
Step S13, obtains the facial image that user is current, determines that described current facial image is plain face image or cosmetic image.
In this step, namely obtain the facial image of the current true appearance state of user, this facial image directly can take acquisition by mobile terminal.
In this step, can automatically identify that current facial image is plain face image or cosmetic image by mobile terminal, also can be operated by the selection of user, determine that current facial image is plain face image or cosmetic image.
Step S14, if described current facial image is plain face image, superposes described face differential image, obtains beautifying picture in described current facial image.
In this step, if current facial image is plain face image, by the execution of above-mentioned steps, user can obtain beautifying picture, and this beautifying picture is cosmetic image.
In this step, can show as in current facial image, with reference to face differential image, the superposition that current facial image carries out tone be merged, obtain beautifying picture.
Step S15, if described current facial image is cosmetic image, is separated described face differential image, obtains beautifying picture in described current facial image.
In this step, if current facial image is cosmetic image, by the execution of above-mentioned steps, user can obtain beautifying picture, and this beautifying picture is plain face image.
In this step, can show as in current facial image, with reference to face differential image, current facial image be carried out to the separation of tone, obtain beautifying picture.
The embodiment of the present invention can carry out the conversion of appearance state in conjunction with the per-sonalization structures of user's face and feature, the facial image and the real facial image of user that make to beautify gained are more close, improve the experience effect of user further.Facial image as current in user is plain face image, namely can be transformed into cosmetic image by embodiment of the present invention process, and the image that this cosmetic image and user take gained under cosmetic state is more close.In like manner, facial image as current in user is cosmetic image, and the image taking gained under the beautifying picture obtained and user Yu Su face state is more close.
Girl due to majority likes shooting, and by the images share of shooting gained in bitcom.Therefore, the embodiment of the present invention is for this kind of user, and experience effect is more outstanding.Specifically can show as, for the girl infrequently made up, can obtain conveniently and meet personalized cosmetic image; For the girl often made up, can obtain conveniently again and meet personalized plain face image.
The embodiment of the present invention, by facial image during user's element face and the facial image after making up being compared, obtains face differential image; If current facial image is plain face image, in current facial image, superpose face differential image, obtain beautifying picture, this beautifying picture is cosmetic image; If current facial image is cosmetic image, is separated face differential image, obtains beautifying picture in current facial image, this beautifying picture is plain face image.Like this, namely user changes the appearance state of facial image by the embodiment of the present invention, realize makeup or the makeup removing of current facial image, meet the user demand of user, improve the experience effect of user.
Fig. 2, be the schematic flow sheet of the second embodiment of image processing method of the present invention, the method comprises:
Step S21, is in the facial image of different shooting attitude and is in the facial image of different shooting attitude after making up when obtaining user's element face.
In this step, before user uses the embodiment of the present invention, be in the facial image of different shooting attitude when needing user to obtain plain face by camera and store; Similarly, be in the facial image of different shooting attitude after needing user to obtain cosmetic by camera and store.
In this step, shooting attitude can show as the human face expression etc. of shooting angle, user.Being shooting angle as taken attitude, namely often rotating 5 degree at user's face, obtaining a facial image; The human face expression that attitude is user as taken, namely under user's face is smiling face, anxious face, the state such as amimia, respectively obtains a facial image.
Particularly, step S211, step S212 and step S213 is comprised with reference to Fig. 3, step S21.
Step S211, is in the image of different shooting attitude and is in the image of different shooting attitude after making up when obtaining user's element face.
In this step, image during the plain face obtained and the image after making up can comprise: include the landscape image of user, the upper part of the body image of user, the facial image of user etc., as long as include the facial image of user in image.
Step S212, is in the image of different shooting attitude and plucks out facial image when described plain face, is in the facial image of different shooting attitude when obtaining described plain face.
In this step, be in the facial image of different shooting attitude when can obtain plain face, be defined as facial image database during plain face.
Step S213, is in the image of different shooting attitude and plucks out facial image after described cosmetic, is in the facial image of different shooting attitude after obtaining described cosmetic.
In this step, the facial image being in different shooting attitude after making up can be obtained, be defined as the facial image database after making up.
Step S22, compares the facial image after cosmetic identical or close with shooting attitude for the facial image being in different shooting attitude during described plain face, obtains the face differential image being in different shooting attitude.
In this step, in above-mentioned plain face facial image database and above-mentioned cosmetic facial image database, facial image after cosmetic identical or close with shooting attitude for the facial image being in different shooting attitude during plain face is compared, specifically can show as shooting angle identical or close, human face expression is identical or close; Thus obtain the face differential image being in different shooting attitude.
In this step, facial image when face differential image can show as plain face with make up after the color distortion of facial image.Due to the face characteristic in facial image during plain face with make up after facial image in face characteristic there is color distortion, facial image when can obtain plain face by comparison with make up after the color distortion of facial image.
In this step, the face differential image being in different shooting attitude that can will obtain, is defined as face differential image storehouse.
Step S23, obtains the facial image that user is current, determines that described current facial image is plain face image or cosmetic image.
In this step, namely obtain the facial image of the current true appearance state of user, this facial image directly can take acquisition by mobile terminal.
In this step, can automatically identify that current facial image is plain face image or cosmetic image by mobile terminal, also can be operated by the selection of user, determine that current facial image is plain face image or cosmetic image.
Step S24, obtains the shooting attitude of described current facial image, is defined as current shooting attitude.
In this step, current shooting attitude can be obtained by the detection identification of mobile terminal.
Step S25, is in the face differential image of different shooting attitude described, chooses the face differential image that shooting attitude is identical or close with described current shooting attitude, be defined as the face differential image being in coupling attitude.
In this step, in above-mentioned face differential image storehouse, choose the face differential image that shooting attitude is identical or close with current shooting attitude, specifically can show as the face differential image that shooting angle is identical or close, the face differential image that human face expression is identical or close; Thus obtain the face differential image being in coupling attitude.
Step S26, if described current facial image is plain face image, is in the face differential image of coupling attitude, obtains beautifying picture in described current facial image described in superposition.
Step S261 and step S262 is comprised with reference to Fig. 4, step S26.
Step S261, if described current facial image is plain face image, is in the face differential image of coupling attitude described in correction, the face characteristic be in described in making in the face differential image of coupling attitude aligns with the face characteristic in described current facial image.
In this step, ASM (ActiveShapeModel) algorithm, AAM (ActiveAppearanceModels) algorithm scheduling algorithm can be passed through, adjustment correction is carried out to information such as the positions be in residing for the shape of the face differential image mating attitude, each face characteristic, the face characteristic be in the face differential image of coupling attitude is alignd with the face characteristic in the facial image of current state.
Step S262, superposes revised face differential image, obtains beautifying picture in described current facial image.
In this step, if current facial image is plain face image, by the execution of above-mentioned steps, user can obtain beautifying picture, and this beautifying picture is cosmetic image.
In this step, can show as in current facial image, with reference to face differential image, the superposition that current facial image carries out tone be merged, obtain beautifying picture.
Step S27, if described current facial image is cosmetic image, is in the face differential image of coupling attitude, obtains beautifying picture in described current facial image described in being separated.
Step S271 and step S272 is comprised with reference to Fig. 5, step S27.
Step S271, if described current facial image is cosmetic image, revises the face differential image being in coupling attitude, and the face characteristic be in the face differential image of coupling attitude is alignd with the face characteristic in described current facial image.
In this step, ASM (ActiveShapeModel) algorithm, AAM (ActiveAppearanceModels) algorithm scheduling algorithm can be passed through, adjustment correction is carried out to information such as the positions be in residing for the shape of the face differential image mating attitude, each face characteristic, the face characteristic be in the face differential image of coupling attitude is alignd with the face characteristic in the facial image of current state.
Step S272, is separated revised face differential image in described current facial image, obtains beautifying plain face image.
In this step, if current facial image is cosmetic image, by the execution of above-mentioned steps, user can obtain beautifying picture, and this beautifying picture is plain face image.
In this step, can show as in current facial image, with reference to face differential image, current facial image be carried out to the separation of tone, obtain beautifying picture.
The embodiment of the present invention can carry out the conversion of appearance state in conjunction with the per-sonalization structures of user's face and feature; Further, even if user is in different shooting attitudes, the embodiment of the present invention also can be made according to this shooting attitude and being beautified targetedly, and the facial image and the real facial image of user that make to beautify gained are more close, improve the experience effect of user further.Facial image as current in user is plain face image, and shooting attitude is smiling face, namely be can be transformed into smiling face's image of cosmetic by embodiment of the present invention process, and the image that smiling face's image of this cosmetic and user smiling face under cosmetic state takes gained is more close.In like manner, facial image as current in user is cosmetic image, and shooting angle is 45 degree, the beautifying picture obtained and user Yu Su face state, and the image of 45 degree of shooting gained is more close.
Girl due to majority likes shooting, and by the images share of shooting gained in bitcom.Therefore, the embodiment of the present invention is for this kind of user, and experience effect is more outstanding.Specifically can show as, for the girl infrequently made up, can obtain conveniently and meet personalized cosmetic image; For the girl often made up, can obtain conveniently again and meet personalized plain face image.
The embodiment of the present invention, by facial image during user's element face and the facial image after making up being compared, obtains face differential image; If current facial image is plain face image, in current facial image, superpose face differential image, obtain beautifying picture, this beautifying picture is cosmetic image; If current facial image is cosmetic image, is separated face differential image, obtains beautifying picture in current facial image, this beautifying picture is plain face image.Like this, namely user changes the appearance state of facial image by the embodiment of the present invention, realize makeup or the makeup removing of current facial image, meet the user demand of user, improve the experience effect of user.
Detailed introduction is done to the embodiment of image processing method of the present invention above.Below the device (i.e. mobile terminal) corresponding to said method is further elaborated.Wherein, mobile terminal can be mobile phone, panel computer, MP3, MP4 or notebook computer etc.
Fig. 6 is the structural representation of the first embodiment of mobile terminal of the present invention, and this mobile terminal 10 comprises acquisition module 11, comparing module 12, determines image module 13, laminating module 14 and separation module 15.
Wherein, acquisition module 11, is connected with comparing module 12, for obtain user element face time facial image and make up after facial image.
Comparing module 12, and determines that image module 13 is connected, and for being compared by the facial image after facial image during described plain face and described cosmetic, obtains face differential image.
Determining image module 13, be connected with laminating module 14, for obtaining the current facial image of user, determining that described current facial image is plain face image or cosmetic image.
Laminating module 14, is connected with separation module 15, if be plain face image for described current facial image, superpose described face differential image, obtain beautifying picture in described current facial image.
Separation module 15, if be cosmetic image for described current facial image, be separated described face differential image, obtain beautifying picture in described current facial image.
The embodiment of the present invention, by facial image during user's element face and the facial image after making up being compared, obtains face differential image; If current facial image is plain face image, in current facial image, superpose face differential image, obtain beautifying picture, this beautifying picture is cosmetic image; If current facial image is cosmetic image, is separated face differential image, obtains beautifying picture in current facial image, this beautifying picture is plain face image.Like this, namely user changes the appearance state of facial image by the embodiment of the present invention, realize makeup or the makeup removing of current facial image, meet the user demand of user, improve the experience effect of user.
Fig. 7, be the structural representation of the second embodiment of mobile terminal of the present invention, this mobile terminal 20 comprises acquisition module 21, comparing module 22, determines image module 23, determines gesture module 24, chooses module 25, laminating module 26 and separation module 27.
Wherein, acquisition module 21, is connected with comparing module 22, for obtain user element face time facial image and make up after facial image.
Comparing module 22, and determines that image module 23 is connected, and for being compared by the facial image after facial image during described plain face and described cosmetic, obtains face differential image.
Determining image module 23, and determine that gesture module 24 is connected, for obtaining the current facial image of user, determining that described current facial image is plain face image or cosmetic image.
Determining gesture module 24, and choose module 25 and be connected, for obtaining the shooting attitude of described current facial image, being defined as current shooting attitude.
Choose module 25, be connected with laminating module 26, for being in the face differential image of different shooting attitude described, choosing the face differential image that shooting attitude is identical or close with described current shooting attitude, being defined as the face differential image being in coupling attitude.
Laminating module 26, is connected with separation module 27, if be plain face image for described current facial image, superpose described face differential image, obtain beautifying picture in described current facial image.
Separation module 27, if be cosmetic image for described current facial image, be separated described face differential image, obtain beautifying picture in described current facial image.
Further, acquisition module 21 comprises:
Acquiring unit 211, is in the facial image of different shooting attitude and is in the facial image of different shooting attitude after making up during for obtaining user's element face.
Comparing module 22 comprises:
Comparing unit 221, for being compared by the facial image after cosmetic identical or close with shooting attitude for the facial image being in different shooting attitude during described plain face, obtains the face differential image being in different shooting attitude.
Laminating module 26 comprises:
Superpositing unit 261, if be plain face image for described current facial image, be in the face differential image of coupling attitude, obtain beautifying picture in described current facial image described in superposition.
Separation module 27 comprises:
Separative element 271, if be cosmetic image for described current facial image, be in the face differential image of coupling attitude, obtain beautifying picture in described current facial image described in being separated.
Further, acquiring unit 211 comprises:
Obtain subelement 2111, pluck out subelement 2112 be connected with first, be in the image of different shooting attitude during for obtaining user's element face and after making up, be in the image of different shooting attitude.
First plucks out subelement 2112, plucks out subelement 2113 be connected with second, plucking out facial image, being in the facial image of different shooting attitude when obtaining described plain face for being in the image of different shooting attitude when the described plain face.
Second plucks out subelement 2113, plucking out facial image, being in the facial image of different shooting attitude after obtaining described cosmetic for being in different shooting in the image of attitude after described cosmetic.
Superpositing unit 261 comprises:
First revises alignment subelement 2611, be connected with superposition subelement 2612, if be plain face image for described current facial image, be in the face differential image of coupling attitude described in correction, the face characteristic be in described in making in the face differential image of coupling attitude aligns with the face characteristic in described current facial image.
Superposition subelement 2612, for superposing revised face differential image in described current facial image, obtains beautifying picture.
Separative element 271 comprises:
Second revises alignment subelement 2711, be connected with segregant unit 2712, if be cosmetic image for described current facial image, revise the face differential image being in coupling attitude, the face characteristic be in the face differential image of coupling attitude is alignd with the face characteristic in described current facial image.
Segregant unit 2712, for being separated revised face differential image in described current facial image, obtains beautifying plain face image.
The embodiment of the present invention, by facial image during user's element face and the facial image after making up being compared, obtains face differential image; If current facial image is plain face image, in current facial image, superpose face differential image, obtain beautifying picture, this beautifying picture is cosmetic image; If current facial image is cosmetic image, is separated face differential image, obtains beautifying picture in current facial image, this beautifying picture is plain face image.Like this, namely user changes the appearance state of facial image by the embodiment of the present invention, realize makeup or the makeup removing of current facial image, meet the user demand of user, improve the experience effect of user.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Be one or more embodiments provided in conjunction with particular content as mentioned above, do not assert that specific embodiment of the invention is confined to these explanations.Method all and of the present invention, structure etc. are approximate, identical, or for making some technology deduction or replace under concept thereof of the present invention, all should be considered as protection scope of the present invention.

Claims (10)

1. an image processing method, is characterized in that, comprising:
Facial image during acquisition user element face and the facial image after making up;
Facial image after facial image during described plain face and described cosmetic is compared, obtains face differential image;
Obtain the facial image that user is current, determine that described current facial image is plain face image or cosmetic image;
If described current facial image is plain face image, in described current facial image, superposes described face differential image, obtain beautifying picture;
If described current facial image is cosmetic image, in described current facial image, is separated described face differential image, obtains beautifying picture.
2. image processing method according to claim 1, is characterized in that, the step of facial image during described acquisition user element face and the facial image after making up, comprising:
Be in the facial image of different shooting attitude when obtaining user's element face and after making up, be in the facial image of different shooting attitude;
Described facial image after facial image during described plain face and described cosmetic to be compared, obtains the step of face differential image, comprising:
Facial image after cosmetic identical or close with shooting attitude for the facial image being in different shooting attitude during described plain face is compared, obtains the face differential image being in different shooting attitude;
Obtaining the current facial image of user, after determining that described current facial image is the step of plain face image or cosmetic image, also comprising:
Obtain the shooting attitude of described current facial image, be defined as current shooting attitude;
Be in the face differential image of different shooting attitude described, choose the face differential image that shooting attitude is identical or close with described current shooting attitude, be defined as the face differential image being in coupling attitude;
If described current facial image is plain face image, in described current facial image, superposes described face differential image, obtain the step of beautifying picture, comprising:
If described current facial image is plain face image, in described current facial image, described in superposition, is in the face differential image of coupling attitude, obtains beautifying picture;
If described current facial image is cosmetic image, in described current facial image, is separated described face differential image, obtains the step of beautifying picture, comprising:
If described current facial image is cosmetic image, is in the face differential image of coupling attitude described in being separated in described current facial image, obtains beautifying picture.
3. image processing method according to claim 2, it is characterized in that, if described current facial image is plain face image, in described current facial image, described in superposition, be in the face differential image of coupling attitude, obtain the step of beautifying picture, comprising:
If described current facial image is plain face image, be in the face differential image of coupling attitude described in correction, the face characteristic be in described in making in the face differential image of coupling attitude aligns with the face characteristic in described current facial image;
In described current facial image, superpose revised face differential image, obtain beautifying picture.
4. image processing method according to claim 2, it is characterized in that, if described current facial image is cosmetic image, described in being separated in described current facial image, be in the face differential image of coupling attitude, obtain the step of beautifying picture, comprising:
If described current facial image is cosmetic image, revise the face differential image being in coupling attitude, the face characteristic be in the face differential image of coupling attitude is alignd with the face characteristic in described current facial image;
In described current facial image, be separated revised face differential image, obtain beautifying plain face image.
5. image processing method according to claim 2, is characterized in that, the step of the facial image being in different shooting attitude during described acquisition user element face and the facial image being in different shooting attitude after making up, comprising:
Be in the image of different shooting attitude when obtaining user's element face and after making up, be in the image of different shooting attitude;
Be in when described plain face in the image of different shooting attitude and pluck out facial image, when obtaining described plain face, be in the facial image of different shooting attitude;
Be in after described cosmetic in the image of different shooting attitude and pluck out facial image, after obtaining described cosmetic, be in the facial image of different shooting attitude.
6. a mobile terminal, is characterized in that, comprising:
Acquisition module, for obtain user element face time facial image and make up after facial image;
Comparing module, for being compared by the facial image after facial image during described plain face and described cosmetic, obtains face differential image;
Determining image module, for obtaining the current facial image of user, determining that described current facial image is plain face image or cosmetic image;
Laminating module, if be plain face image for described current facial image, superpose described face differential image, obtains beautifying picture in described current facial image;
Separation module, if be cosmetic image for described current facial image, be separated described face differential image, obtain beautifying picture in described current facial image.
7. mobile terminal according to claim 1, is characterized in that, described acquisition module comprises:
Acquiring unit, is in the facial image of different shooting attitude and is in the facial image of different shooting attitude after making up during for obtaining user's element face;
Described comparing module comprises:
Comparing unit, for being compared by the facial image after cosmetic identical or close with shooting attitude for the facial image being in different shooting attitude during described plain face, obtains the face differential image being in different shooting attitude;
Described mobile terminal also comprises:
Determining gesture module, for obtaining the shooting attitude of described current facial image, being defined as current shooting attitude;
Choose module, for being in the face differential image of different shooting attitude described, choosing the face differential image that shooting attitude is identical or close with described current shooting attitude, being defined as the face differential image being in coupling attitude;
Described laminating module comprises:
Superpositing unit, if be plain face image for described current facial image, be in the face differential image of coupling attitude, obtain beautifying picture in described current facial image described in superposition;
Described separation module comprises:
Separative element, if be cosmetic image for described current facial image, be in the face differential image of coupling attitude, obtain beautifying picture in described current facial image described in being separated.
8. mobile terminal according to claim 7, is characterized in that, described superpositing unit comprises:
First revises alignment subelement, if be plain face image for described current facial image, be in the face differential image of coupling attitude described in correction, the face characteristic be in described in making in the face differential image of coupling attitude aligns with the face characteristic in described current facial image;
Superposition subelement, for superposing revised face differential image in described current facial image, obtains beautifying picture.
9. mobile terminal according to claim 7, is characterized in that, described separative element comprises:
Second revises alignment subelement, if be cosmetic image for described current facial image, revise the face differential image being in coupling attitude, the face characteristic be in the face differential image of coupling attitude is alignd with the face characteristic in described current facial image;
Segregant unit, for being separated revised face differential image in described current facial image, obtains beautifying plain face image.
10. mobile terminal according to claim 7, is characterized in that, described acquiring unit comprises:
Obtain subelement, be in the image of different shooting attitude during for obtaining user's element face and after making up, be in the image of different shooting attitude;
First plucks out subelement, for be in different shooting attitude when the described plain face image in pluck out facial image, be in the facial image of different shooting attitude when obtaining described plain face;
Second plucks out subelement, plucking out facial image, being in the facial image of different shooting attitude after obtaining described cosmetic for being in different shooting in the image of attitude after described cosmetic.
CN201510870258.1A 2015-11-30 2015-11-30 A kind of image processing method and mobile terminal Active CN105427238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510870258.1A CN105427238B (en) 2015-11-30 2015-11-30 A kind of image processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510870258.1A CN105427238B (en) 2015-11-30 2015-11-30 A kind of image processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105427238A true CN105427238A (en) 2016-03-23
CN105427238B CN105427238B (en) 2018-09-04

Family

ID=55505420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510870258.1A Active CN105427238B (en) 2015-11-30 2015-11-30 A kind of image processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105427238B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930806A (en) * 2016-04-25 2016-09-07 上海斐讯数据通信技术有限公司 Facial cleanliness detection method and mobile terminal
CN108053365A (en) * 2017-12-29 2018-05-18 百度在线网络技术(北京)有限公司 For generating the method and apparatus of information
CN108509846A (en) * 2018-02-09 2018-09-07 腾讯科技(深圳)有限公司 Image processing method, device, computer equipment and storage medium
CN109165546A (en) * 2018-07-06 2019-01-08 深圳市科脉技术股份有限公司 Face identification method and device
CN109615593A (en) * 2018-11-29 2019-04-12 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1447955A (en) * 2000-08-22 2003-10-08 微裘媒体有限公司 Appts. and method for generating synthetic face image based on shape information about face image
CN102262788A (en) * 2010-05-24 2011-11-30 上海一格信息科技有限公司 Method and device for processing interactive makeup information data of personal three-dimensional (3D) image
CN103180872A (en) * 2010-10-29 2013-06-26 欧姆龙株式会社 Image-processing device, image-processing method, and control program
CN103236066A (en) * 2013-05-10 2013-08-07 苏州华漫信息服务有限公司 Virtual trial make-up method based on human face feature analysis
WO2015127394A1 (en) * 2014-02-23 2015-08-27 Northeastern University System for beauty, cosmetic, and fashion analysis
CN105184249A (en) * 2015-08-28 2015-12-23 百度在线网络技术(北京)有限公司 Method and device for processing face image

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1447955A (en) * 2000-08-22 2003-10-08 微裘媒体有限公司 Appts. and method for generating synthetic face image based on shape information about face image
CN102262788A (en) * 2010-05-24 2011-11-30 上海一格信息科技有限公司 Method and device for processing interactive makeup information data of personal three-dimensional (3D) image
CN103180872A (en) * 2010-10-29 2013-06-26 欧姆龙株式会社 Image-processing device, image-processing method, and control program
CN103236066A (en) * 2013-05-10 2013-08-07 苏州华漫信息服务有限公司 Virtual trial make-up method based on human face feature analysis
WO2015127394A1 (en) * 2014-02-23 2015-08-27 Northeastern University System for beauty, cosmetic, and fashion analysis
CN105184249A (en) * 2015-08-28 2015-12-23 百度在线网络技术(北京)有限公司 Method and device for processing face image

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930806A (en) * 2016-04-25 2016-09-07 上海斐讯数据通信技术有限公司 Facial cleanliness detection method and mobile terminal
CN108053365A (en) * 2017-12-29 2018-05-18 百度在线网络技术(北京)有限公司 For generating the method and apparatus of information
CN108509846A (en) * 2018-02-09 2018-09-07 腾讯科技(深圳)有限公司 Image processing method, device, computer equipment and storage medium
CN108509846B (en) * 2018-02-09 2022-02-11 腾讯科技(深圳)有限公司 Image processing method, image processing apparatus, computer device, storage medium, and computer program product
CN109165546A (en) * 2018-07-06 2019-01-08 深圳市科脉技术股份有限公司 Face identification method and device
CN109165546B (en) * 2018-07-06 2021-04-02 深圳市科脉技术股份有限公司 Face recognition method and device
CN109615593A (en) * 2018-11-29 2019-04-12 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105427238B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN105427238A (en) Image processing method and mobile terminal
CN108986016B (en) Image beautifying method and device and electronic equipment
US10083343B2 (en) Method and apparatus for facial recognition
CN108012081B (en) Intelligent beautifying method, device, terminal and computer readable storage medium
CN104050449A (en) Face recognition method and device
CN104954673A (en) Camera rotating control method and user terminal
CN104657974A (en) Image processing method and device
AU2012227166A1 (en) Face feature vector construction
CN110531853B (en) Electronic book reader control method and system based on human eye fixation point detection
CN108830787A (en) The method, apparatus and electronic equipment of anamorphose
US20170099427A1 (en) Methods and apparatuses for providing improved autofocus using curve-fitting
CN112446322B (en) Eyeball characteristic detection method, device, equipment and computer readable storage medium
CN103472915A (en) Reading control method and reading control device on basis of pupil tracking and display equipment
CN111488759A (en) Image processing method and device for animal face
CN111199169A (en) Image processing method and device
CN103984931A (en) Information processing method and first electronic equipment
US11205066B2 (en) Pose recognition method and device
WO2020042077A1 (en) Voice recognition method and apparatus, photography system, and computer readable storage medium
CN111144374B (en) Facial expression recognition method and device, storage medium and electronic equipment
CN104917961A (en) Camera rotation control method and terminal
CN110619602B (en) Image generation method and device, electronic equipment and storage medium
WO2020155984A1 (en) Facial expression image processing method and apparatus, and electronic device
CN112488054A (en) Face recognition method, face recognition device, terminal equipment and storage medium
CN111079535A (en) Human skeleton action recognition method and device and terminal
CN111008992A (en) Target tracking method, device and system and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201027

Address after: 210000 Five Floors of Building B, 25 Andmen Street, Yuhuatai District, Nanjing City, Jiangsu Province

Patentee after: NANJING WEIWO SOFTWARE TECHNOLOGY Co.,Ltd.

Address before: 283 No. 523000 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right