CN109614902A - Face image processing process, device, electronic equipment and computer storage medium - Google Patents

Face image processing process, device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN109614902A
CN109614902A CN201811457969.6A CN201811457969A CN109614902A CN 109614902 A CN109614902 A CN 109614902A CN 201811457969 A CN201811457969 A CN 201811457969A CN 109614902 A CN109614902 A CN 109614902A
Authority
CN
China
Prior art keywords
adjusted
processed
facial image
adjustment
modification information
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.)
Pending
Application number
CN201811457969.6A
Other languages
Chinese (zh)
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.)
Shenzhen Face Meng Technology Co Ltd
Original Assignee
Shenzhen Face Meng Technology 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 Shenzhen Face Meng Technology Co Ltd filed Critical Shenzhen Face Meng Technology Co Ltd
Priority to CN201811457969.6A priority Critical patent/CN109614902A/en
Publication of CN109614902A publication Critical patent/CN109614902A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

Embodiment of the disclosure provides a kind of face image processing process, device, electronic equipment and computer storage medium, this method comprises: obtaining facial image to be processed;The adjustment instruction to facial image to be processed is received, includes the adjustment index of the parameter modification information based on facial image to be processed in adjustment instruction;According to adjustment index, facial image to be processed is adjusted, the facial image to be processed after being adjusted;Show the facial image to be processed adjusted.The scheme of the present embodiment, when receiving adjustment instruction, processing is adjusted to position corresponding in facial image to be processed according to the adjustment index of parameter modification information, realize the function of user's face display effect in key adjustment image, facial image is edited manually without user, the time for greatly reducing image procossing improves the interactive experience of user.

Description

Face image processing process, device, electronic equipment and computer storage medium
Technical field
This disclosure relates to technical field of image processing, specifically, this disclosure relates to a kind of face image processing process, dress It sets, electronic equipment and computer storage medium.
Background technique
In U.S. face class camera, user can carry out U.S. face special effect processing to image, to promote the aesthetic feeling of image.
But in existing U.S. face class camera, user needs each position to face in image to manually adjust, Image after U.S. face just can be obtained, for example, adjustment shape of face, user need to manually adjust face mask, can just be adjusted The corresponding image of shape of face after whole.Generally for the unskilled user of image is manually adjusted, carried out by way of manually adjusting The U.S. face of image is handled, and is not only extremely difficult to the purpose of U.S. face, and U.S. face processing short time consumption is long, reduces the interaction body of user It tests.
As it can be seen that needing user that the mode for realizing image U.S. face, user's operation mistake is manually operated in existing U.S. face class camera Journey is complicated, and the U.S. face processing time is long, and the interactive experience of user is poor, and it is impossible to meet the practical application requests of user.
Summary of the invention
The purpose of the disclosure is intended at least can solve above-mentioned one of technological deficiency, promotes the usage experience of user.This public affairs Open the technical solution adopted is as follows::
In a first aspect, present disclose provides a kind of face image processing process, this method comprises:
Obtain facial image to be processed;
The adjustment instruction to facial image to be processed is received, includes the parameter based on facial image to be processed in adjustment instruction The adjustment index of modification information, adjustment index are used for the adjustment intensity of identification parameter modification information;
According to adjustment index, facial image to be processed is adjusted, the facial image to be processed after being adjusted;
Show facial image to be processed adjusted.
In embodiment of the disclosure, according to adjustment index, facial image to be processed is adjusted, the people to be processed after being adjusted Face image, comprising:
Detect the human face characteristic point of facial image to be processed;
According to adjustment index, the adjustment amount of the parameter to be adjusted of human face characteristic point is determined, parameter to be adjusted is to modify to believe with parameter The corresponding index parameter of manner of breathing;
According to parameter to be adjusted adjustment amount, human face characteristic point is adjusted and to facial image to be processed adjusted into Row rendering, the facial image to be processed after being adjusted.
In embodiment of the disclosure, parameter modification information is shape of face parameter modification information or skin parameters modification information;
When parameter modification information is shape of face parameter modification information, special efficacy adjusting parameter includes characteristic point to be adjusted, wait adjust ginseng Several adjustment amounts includes the mobile vector of characteristic point to be adjusted;
The adjustment amount of the parameter to be adjusted of human face characteristic point is determined according to adjustment index for shape of face parameter modification information, is wrapped It includes:
Determine the characteristic point to be adjusted at face corresponding with the shape of face parameter modification information position in human face characteristic point;
According to adjustment index, the mobile vector of characteristic point to be adjusted is determined;
When parameter modification information is skin parameters modification information, parameter to be adjusted includes skin parameters, the tune of parameter to be adjusted Whole amount includes the adjustment amount of skin parameters;
The adjustment amount of the parameter to be adjusted of human face characteristic point is determined according to adjustment index for skin parameters modification information, is wrapped It includes:
Determine the skin parameters at face corresponding with the skin parameters modification information position in human face characteristic point;
According to adjustment index, the adjustment amount of skin parameters is determined.
In embodiment of the disclosure, face corresponding with the shape of face parameter modification information position in human face characteristic point is determined Characteristic point to be adjusted, comprising:
Determine the reference characteristic point at face corresponding with the shape of face parameter modification information position in human face characteristic point;
Interpolation processing is carried out to reference characteristic point, obtains interpolation characteristic point, using interpolation characteristic point and reference characteristic point as Characteristic point to be adjusted.
It further include the colour system parameter modification letter based on facial image to be processed in embodiment of the disclosure, in adjustment instruction Breath;This method further include:
According to colour system parameter modification information, facial image to be processed is adjusted, colour system face figure to be processed adjusted is obtained Picture;
Show colour system facial image to be processed adjusted.
In embodiment of the disclosure, this method further include:
It receives image and saves instruction and/or images share instruction;
It is saved and is instructed according to image, save facial image to be processed adjusted, and/or, it is instructed according to images share, it will Facial image to be processed adjusted is shared.
In embodiment of the disclosure, facial image to be processed be the user captured in real time present image or user from this The facial image chosen in ground image library.
Second aspect, present disclose provides a kind of face image processing device, which includes:
Facial image obtains module, for obtaining facial image to be processed;
Intensity determining module is adjusted, includes base in adjustment instruction for receiving the adjustment instruction to facial image to be processed In the adjustment index of the parameter modification information of facial image to be processed, the adjustment for adjusting index for identification parameter modification information is strong Degree;
Image adjustment module, for adjusting facial image to be processed, the people to be processed after being adjusted according to adjustment index Face image;
Image display, for showing facial image to be processed adjusted.
In embodiment of the disclosure, image adjustment module adjusts facial image to be processed, is adjusted according to adjustment index When facial image to be processed after whole, it is specifically used for;
Detect the human face characteristic point of facial image to be processed;
According to adjustment index, the adjustment amount of the parameter to be adjusted of human face characteristic point is determined, parameter to be adjusted is to modify to believe with parameter The corresponding index parameter of manner of breathing;
According to parameter to be adjusted adjustment amount, human face characteristic point is adjusted and to facial image to be processed adjusted into Row rendering, the facial image to be processed after being adjusted.
In embodiment of the disclosure, parameter modification information is shape of face parameter modification information or skin parameters modification information;
When parameter modification information is shape of face parameter modification information, special efficacy adjusting parameter includes characteristic point to be adjusted, wait adjust ginseng Several adjustment amounts includes the mobile vector of characteristic point to be adjusted;
For shape of face parameter modification information, image adjustment module according to index is adjusted, determine human face characteristic point wait adjust When the adjustment amount of parameter, it is specifically used for:
Determine the characteristic point to be adjusted at face corresponding with the shape of face parameter modification information position in human face characteristic point;
According to adjustment index, the mobile vector of characteristic point to be adjusted is determined;
When parameter modification information is skin parameters modification information, parameter to be adjusted includes skin parameters, the tune of parameter to be adjusted Whole amount includes the adjustment amount of skin parameters;
For skin parameters modification information, image adjustment module according to index is adjusted, determine human face characteristic point wait adjust When the adjustment amount of parameter, it is specifically used for:
Determine the skin parameters at face corresponding with the skin parameters modification information position in human face characteristic point;
According to adjustment index, the adjustment amount of skin parameters is determined.
In embodiment of the disclosure, image adjustment module determine in human face characteristic point with shape of face parameter modification information phase Corresponding face position when adjusting characteristic point, be specifically used for:
Determine the reference characteristic point at face corresponding with the shape of face parameter modification information position in human face characteristic point;
Interpolation processing is carried out to reference characteristic point, obtains interpolation characteristic point, using interpolation characteristic point and reference characteristic point as Characteristic point to be adjusted.
It further include the colour system parameter modification letter based on facial image to be processed in embodiment of the disclosure, in adjustment instruction Breath;The device further include:
Image colour system adjusts module, for adjusting facial image to be processed, obtaining colour system according to colour system parameter modification information Facial image to be processed adjusted;Show colour system facial image to be processed adjusted.
In embodiment of the disclosure, the device further include:
Images share module saves instruction and/or images share instruction for receiving image;It is saved and is instructed according to image, Save facial image to be processed adjusted, and/or, instructed according to images share, by facial image to be processed adjusted into Row is shared.
In embodiment of the disclosure, facial image to be processed be the user captured in real time present image or user from this The facial image chosen in ground image library.
The third aspect, present disclose provides a kind of electronic equipment, which includes processor and memory;
Memory, for storing operational order;
Processor is executed as shown in any embodiment of the first aspect of the disclosure for being instructed by call operation Method.
Fourth aspect, present disclose provides a kind of computer readable storage medium, storage medium is stored at least one finger It enables, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, code set or instruction set are by handling Device is loaded and is executed in the method as shown in any embodiment of the first aspect of the disclosure of realization.
The technical solution that the embodiment of the present disclosure provides has the benefit that
Face image processing process, device, electronic equipment and the computer readable storage medium of the embodiment of the present disclosure are needing When handling facial image, by the adjustment index of the parameter modification information to facial image to be processed, it can be realized and treat place Reason facial image is adjusted correspondingly processing, to realize the processing of corresponding U.S. face special efficacy, with this solution, is receiving adjustment When instruction, processing is adjusted to position corresponding in facial image to be processed according to the adjustment index of parameter modification information, i.e., The function of realizing user's face display effect in key adjustment image, manually compiles facial image without user Volume, the time of image procossing is greatly reduced, the interactive experience of user is improved.
Detailed description of the invention
In order to illustrate more clearly of technical solution in embodiment of the disclosure, the embodiment of the present disclosure will be described below Needed in attached drawing be briefly described.
Fig. 1 is a kind of flow diagram for face image processing process that embodiment of the disclosure provides;
Fig. 2 is a kind of display interface schematic diagram that embodiment of the disclosure provides;
Fig. 3 a is another display interface schematic diagram that embodiment of the disclosure provides;
Fig. 3 b is another display interface schematic diagram that embodiment of the disclosure provides;
Fig. 4 a is another display interface schematic diagram that embodiment of the disclosure provides;
Fig. 4 b is another display interface schematic diagram that embodiment of the disclosure provides;
Fig. 5 is a kind of structural schematic diagram for face image processing device that embodiment of the disclosure provides;
Fig. 6 is the structural schematic diagram for a kind of electronic equipment that embodiment of the disclosure provides.
Specific embodiment
Embodiment of the disclosure is described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein phase from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached drawing The embodiment of description is exemplary, and is only used for explaining the Sense of Technology of the disclosure, and cannot be construed to the limitation to the disclosure.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, "one" It may also comprise plural form with "the".It is to be further understood that wording " comprising " used in the specification of the disclosure is Refer to that there are this feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition it is one or more its His feature, integer, step, operation, element, component and/or their group.It should be understood that when we claim element be " connected " or When " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be intermediary elements.This Outside, " connection " or " coupling " used herein may include being wirelessly connected or wirelessly coupling.Wording "and/or" packet used herein Include one or more associated wholes for listing item or any cell and all combination.
How the technical solution of the disclosure and the technical solution of the disclosure are solved with specifically embodiment below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiment of the disclosure is described.
Fig. 1 is a kind of flow diagram for face image processing process that embodiment of the disclosure provides, as shown in Figure 1, This method may include:
Step S110 obtains facial image to be processed.
It wherein, include corresponding face position in facial image to be processed, for example, eyes, nose, mouth etc.;People to be processed Face image can be shot by the terminal device with shooting function and be obtained, and terminal device refers to such as beauty Yan Xiangji, intelligence The electronic product with image camera function of mobile phone and tablet computer etc.User can pass through such as touching in terminal device The input equipment input camera enabled instruction of screen or physical button etc is touched, the camera of controlling terminal equipment is in mould of taking pictures Formula obtains the collected facial image to be processed of camera.
Wherein, camera can be the built-in camera of terminal device, can also be with such as front camera and rear camera It is the external camera of terminal device, such as rotating camera, optionally front camera.
Step S120 receives the adjustment instruction to facial image to be processed, includes being based on face to be processed in adjustment instruction The adjustment index of the parameter modification information of image, adjustment index are used for the adjustment intensity of identification parameter modification information.
Wherein, parameter modification information expression needs to need to adjust to which of facial image to be processed or which parameter, To realize effect corresponding to parameter modification information, what the selected parameter modification information of user indicated is to face figure to be processed As the mode that is adjusted, that is to say, that being handled based on different parameter modification informations facial image to be processed can be with It is equivalent to and adds different beautiful Yan Texiao for facial image to be processed, it is different that different parameter modification informations can correspond to pre-configuration Processing strategie, then can be based on processing strategie corresponding to the selected parameter modification information of user, to face figure to be processed As being handled, for example, carrying out processing to face's overall profile in facial image to be processed or to some portion in face Position is handled.That is, adjusting face figure to be processed based on different parameter modification informations, can correspond to obtain difference U.S. face special effect processing effect, i.e., different U.S. face special effect processings is carried out to facial image to be processed.
Wherein, adjustment instruction can be based on the instruction that U.S. face selection operation of the user to terminal interface generates, beautiful Yan Texiao Selection operation indicates that user wants the beautiful Yan Texiao that selection is added to facial image to be processed, i.e. user is used for triggering selection U.S. face The movement of special efficacy addition, the concrete form of the operation configures as needed, for example, it may be application program of the user in client Interface on operating position trigger action, be based on the beauty face special efficacy selection operation, the U.S. face special efficacy of generation can be corresponded to and select to refer to It enables, server carries out relevant treatment after receiving the U.S. face special efficacy selection instruction.
In practical applications, it can be identified and be triggered in the operation, such as client end interface by the associated trigger of client Specified trigger button or input frame, can also be the phonetic order of user, specifically, can be on the display interface of client The virtual push button of " the U.S. face " of display, the operation that user clicks the button are the U.S. face special efficacy selection operation of user.
Wherein, adjustment index can be the numerical value or numberical range according to practical adjustment demand configuration, be also possible to other The adjustment intensity that can be used in identification parameter modification information index, to the specific implementation of adjustment index in the embodiment of the present disclosure Mode is without limitation.Different adjustment indexs can correspond to different adjustment intensity, that is to say, that the same parameter is modified Information, i.e., the beautiful Yan Texiao at same position can be based on the parameter modification information when user selects different adjustment indexs, The processing of different adjustment intensity is carried out to facial image to be processed.
In an optinal plan, adjustment index can be presented to the user in the form of numberical range list, numberical range column Different numerical value in table can represent different adjustment intensity, and user can pass through the sliding button on the display interface of client To realize the selection of adjustment index, a kind of client display interface as shown in Figure 2, wherein image preview area can be used for people Face image (can be facial image to be processed, the facial image being also possible in treatment process is also possible to adjust treated people Face image), the corresponding numberical range list of adjustment index can be -50 to 50, user can be adjusted by sliding index button come Selection adjustment index.
Since numerical value different in adjustment index can correspond to different adjustment intensity, in order to understand user, oneself is selected The corresponding adjustment intensity effect of the adjustment index selected, can also provide preview function, select any in -50 to 50 in user When a adjustment index, such as when 25, facial image to be processed is performed corresponding processing based on adjustment index 25, by the index pair Facial image is shown in image preview area after the adjustment answered.
Step S130 adjusts facial image to be processed, the facial image to be processed after being adjusted according to adjustment index.
Wherein, facial image to be processed adjusted indicates to carry out the facial image to be processed after special effect processing.
Step S140 shows facial image to be processed adjusted.
Scheme in embodiment of the disclosure passes through the ginseng to facial image to be processed when needing to handle facial image The adjustment index of number modification information, can be realized and be adjusted correspondingly processing to facial image to be processed, to realize corresponding beauty The processing of face special efficacy, with this solution, when receiving adjustment instruction, according to the adjustment index of parameter modification information to be processed Corresponding position is adjusted processing in facial image, that is, realizes the function of user's face display effect in key adjustment image Can, facial image is edited manually without user, greatly reduces the time of image procossing, improves the friendship of user Mutually experience.
In embodiment of the disclosure, in step S130, according to adjustment index, facial image to be processed is adjusted, is adjusted Facial image to be processed afterwards may include:
Detect the human face characteristic point of facial image to be processed;
According to adjustment index, the adjustment amount of the parameter to be adjusted of human face characteristic point is determined, parameter to be adjusted is to modify to believe with parameter The corresponding index parameter of manner of breathing;
According to parameter to be adjusted adjustment amount, human face characteristic point is adjusted and to facial image to be processed adjusted into Row rendering, the facial image to be processed after being adjusted.
Wherein, different adjustment indexs can configure different index parameters according to actual needs, and index parameter indicates people Parameter corresponding from different U.S. face special efficacys in face image, for example, the parameter modification information about skin brightness, corresponding index ginseng The brightness that the brightness of several pixels for face entire in facial image, i.e. index parameter are pixel.Then based on selected by user The adjustment amount of the parameter to be adjusted of corresponding adjustment the determined human face characteristic point of index of the parameter modification information selected, indicates selected by user What kind of adjustment the corresponding index parameter of adjustment index selected needs to carry out, and can just obtain effect corresponding to the adjustment index; It is then determining after the adjustment amount for adjusting parameter, according to the adjustment amount of parameter to be adjusted, human face characteristic point is being adjusted and is exchanged Facial image to be processed after whole is rendered, and effect picture corresponding with parameter modification information can be obtained.
Wherein, the specific method of the human face characteristic point in facial image to be processed is detected, embodiment of the disclosure, which is not done, to be had Body limits, and can such as exist in practical applications with reference to the method for detecting human face characteristic point in the prior art, embodiment of the disclosure This is just repeated no more.
In actual application, in order to make facial image to be processed adjusted more true nature, in the disclosure Facial image to be processed adjusted can be rendered in embodiment, obtain effect picture corresponding with parameter modification information.This In open embodiment without limitation to the specific implementation of rendering.
Wherein, a kind of optional rendering embodiment are as follows: it is corresponding with texture coordinate to preset each human face characteristic point Relationship can determine face area adjusted after being adjusted to human face characteristic point according to human face characteristic point adjusted The representative points coordinate in domain is then based on the corresponding relationship of preconfigured each human face characteristic point and texture coordinate, determines The corresponding texture of obtained texture coordinate is attached to face area adjusted later by texture coordinate corresponding to representative points coordinate On the corresponding position in domain, effect picture corresponding with parameter modification information is obtained.
Certainly, in actual application, the corresponding relationship of each human face characteristic point and texture coordinate can not also be preset, After determining representative points coordinate, it is corresponding representative points coordinate can be calculated by the calculation of pre-configuration in real time Then the corresponding texture of the texture coordinate being calculated is attached to after adjusting on the corresponding position of human face region by texture coordinate, Obtain effect picture corresponding with parameter modification information.
It should be noted that being merely illustrative among the above to the rendering embodiment of facial image to be processed, in reality Application in the mode that implements can set according to the actual needs, disclosure example does not do specific restriction.
In embodiment of the disclosure, parameter modification information is shape of face parameter modification information or skin parameters modification information.
Wherein, shape of face parameter modification information refers to what the selected shape of face display effect to face of user was adjusted Processing strategie corresponding to the selected shape of face adjustment special efficacy of processing strategie, i.e. user, for example, the shape of face tune of face is thin etc.;Skin Skin parameter modification information refers to the processing strategie that the selected skin display effect to face of user is adjusted, i.e. user Processing strategie corresponding to selected skin makeup special efficacy, for example the colour of skin of face is bleached.
It in practical applications, can in skin makeup special efficacy in order to meet user to the adjustment demand at position each in facial image With include mill at least one of skin special efficacy and whitening special efficacy, shape of face adjustment special efficacy in may include thin face special efficacy, chin special efficacy, At least one of small face special efficacy, narrow face special efficacy, thin mandibular special efficacy and thin cheekbone special efficacy.
In embodiment of the disclosure, for the processing plan of U.S. face special efficacy different corresponding to different parameter modification informations Slightly, according to the adjustment index of parameter modification information, the adjustment amount of the parameter to be adjusted of determining human face characteristic point is different, then for not The adjustment index of same parameter modification information, the concrete mode of the corresponding adjustment amount for determining parameter to be adjusted are as follows:
The first, when parameter modification information is shape of face parameter modification information, special efficacy adjusting parameter includes characteristic point to be adjusted, The adjustment amount of parameter to be adjusted may include the mobile vector of characteristic point to be adjusted;
The adjustment amount of the parameter to be adjusted of human face characteristic point is determined according to adjustment index for shape of face parameter modification information, it can To include:
Determine the characteristic point to be adjusted at face corresponding with the shape of face parameter modification information position in human face characteristic point;
According to adjustment index, the mobile vector of characteristic point to be adjusted is determined.
Wherein, when parameter modification information is shape of face parameter modification information, i.e.,;When U.S. face special efficacy is that shape of face adjusts special efficacy, For shape of face adjustment special efficacy be substantially the profile of face is adjusted, i.e. the position of human face characteristic point is adjusted, then to The adjustment amount for handling parameter to be adjusted in facial image can be the mobile vector of characteristic point to be adjusted, wherein the shifting of characteristic point to be adjusted It may include the moving direction and moving distance of characteristic point to be adjusted in dynamic vector.
In one example, for example shape of face adjustment special efficacy is thin face special efficacy, only need to be special to the facial contour in human face characteristic point The position of sign point is adjusted, then parameter to be adjusted is the facial contour feature point in human face characteristic point, the tune of parameter to be adjusted Whole amount is the mobile vector of face contour feature point.
In another example, for example shape of face adjustment special efficacy is chin special efficacy, only need to position to the characteristic point at chin into Row adjustment, then parameter to be adjusted is the profile characteristic point in human face characteristic point, and the adjustment amount of parameter to be adjusted is chin The mobile vector of contour feature point.
Second, when parameter modification information is skin parameters modification information, parameter to be adjusted includes skin parameters, wait adjust ginseng Several adjustment amounts includes the adjustment amount of skin parameters;
The adjustment amount of the parameter to be adjusted of human face characteristic point is determined according to adjustment index for skin parameters modification information, it can To include:
Determine the skin parameters at face corresponding with the skin parameters modification information position in human face characteristic point;
According to adjustment index, the adjustment amount of skin parameters is determined.
Wherein, when parameter modification information is skin parameters modification information, i.e., when U.S. face special efficacy is skin makeup special efficacy, skin makeup is special Effect is the adjustment to skin display effect, is substantially to be adjusted to the skin parameters in facial image, skin parameters refer to Be influence facial image in skin display effect parameter, then the adjustment amount of parameter to be adjusted can be skin parameters adjustment Amount.
In one example, for example skin makeup special efficacy is whitening special efficacy, need to be only adjusted to the brightness of human face characteristic point, i.e. skin Skin parameter is the brightness of human face characteristic point, then the adjustment amount of skin parameters is the brightness adjustment amount of human face characteristic point.In the example In, if the brightness of human face characteristic point is 20 in facial image to be processed, the corresponding face of the selected adjustment index of user is special The brightness of sign point is 50, then the brightness adjustment amount determined according to adjustment index is 30.
In another example, for example skin makeup special efficacy is mill skin special efficacy, only need to be to the mould of the human face characteristic point in facial image Paste degree is adjusted, i.e., skin parameters are the fuzziness of human face characteristic point, then the adjustment amount of skin parameters is human face characteristic point The adjustment amount of fuzziness.In this example, if the fuzziness of the human face characteristic point in facial image to be processed is a, Yong Husuo The fuzziness of the corresponding human face characteristic point of adjustment index selected is b, then the mould of the human face characteristic point determined according to adjustment index Paste degree adjustment amount is b-a.
In embodiment of the disclosure, face corresponding with the shape of face parameter modification information position in human face characteristic point is determined Characteristic point to be adjusted, may include:
Determine the reference characteristic point at face corresponding with the shape of face parameter modification information position in human face characteristic point;
Interpolation processing is carried out to reference characteristic point, obtains interpolation characteristic point, using interpolation characteristic point and reference characteristic point as Characteristic point to be adjusted.
In actual application, due to being usually discrete point between each human face characteristic point, and then in image procossing During, the display effect that may result in image is unsmooth.Therefore, embodiment of the disclosure can click through reference characteristic Row interpolation processing, obtains the interpolation characteristic point of face, so that when handling image, making that treated, image appears to compare Smoothly, completely.Wherein, reference characteristic point is the human face characteristic point that detection facial image to be processed obtains, and is clicked through to reference characteristic The specific method of row interpolation processing, embodiment of the disclosure are not specifically limited, and can such as join Robert Cowell rice in practical applications The methods of special, Suresh Kumar or trigonometric function carry out interpolation processing, and details are not described herein again for embodiment of the disclosure.
Correspondingly, can be selected based on user after the reference characteristic point of known facial image to be processed and interpolation characteristic point The adjustment index selected determines the mobile vector of reference characteristic point and interpolation characteristic point, later based on determining mobile vector to benchmark Characteristic point and interpolation characteristic point are adjusted, the facial image to be processed after being adjusted.
In embodiment of the disclosure, in step S120, the adjustment instruction to facial image to be processed is received, may include:
Receive the adjustment triggering command to facial image to be processed;
In response to adjusting triggering command, display parameters modification information selection interface is shown in parameter modification information selection interface It is shown with parameter modification information option and facial image to be processed;
By parameter modification information selection interface, adjustment instruction is received.
Wherein, adjustment triggering command can be the finger based on user to the U.S. face trigger action generation of facial image to be processed It enables, U.S. face trigger action indicates that user wants to add facial image to be processed special efficacy, i.e. user starts to carry out beauty for triggering The movement of face special efficacy addition, the concrete form of the operation can according to need configuration, for example, it may be user's answering in client With the trigger action of feature operating position on the interface of program, it is also possible to specific virtual push button etc..In the program, detecting To after the U.S. face special efficacy trigger action, parameter modification information selection interface can be shown based on the operation of user, with It allows users to carry out the selection operation of parameter modification information at the interface.
In practical applications, user can be identified by the associated trigger of client and trigger the U.S. face trigger action, such as visitor Specified trigger button or input frame on the interface of family end, can also be the phonetic order etc. of user.For example, in an optional way In, it can be the virtual push button of " the U.S. face " that shows on the display interface of client, the operation that user clicks the button is The U.S. face trigger action of user.
Wherein, parameter modification information selection interface is for interaction between electronic equipment and user, can be with by the interface Receive relevant operation of the user in the adjustment treatment process of facial image to be processed.
As an example, a kind of display interface of client in a kind of electronic equipment is shown in Fig. 3 a, i.e. user hands over The schematic diagram at mutual interface shows pending facial image in the interface, and the virtual push button of " the U.S. face " that shows on interface is i.e. For U.S. face special efficacy trigger button, user clicks the beauty of the operation as user of " U.S. face " virtual push button shown on the display interface Face trigger action after receiving the trigger action, can show U.S. face special efficacy selection interface.
As an example, a kind of schematic diagram of parameter modification information selection interface is shown in Fig. 3 b, it is shown in figure A, B, C, D, E are respectively virtual push button corresponding to different parameter modification informations, i.e., void corresponding to different U.S. face special efficacys Quasi- button, user can complete the parameter modification information selection operation of user, such as point by clicking one of virtual push button Virtual push button A is hit, then the parameter modification information chosen in the selection operation of user is the modification of parameter corresponding to virtual push button A Information, after receiving the operation, the parameter modification information that can be chosen based on user in the operation carries out phase to facial image The parameter adjustment processing answered.In practical applications, user can also according to identical mode of operation, select virtual push button A, B, C, D, the corresponding one or more parameter modification informations of E, realize and add one or more ginsengs in the same facial image to be processed The function of the one or more U.S. face special efficacys of the function of number modification information, i.e. addition.
In practical applications, since the type of parameter modification information is more, i.e., the type of U.S. face special efficacy is more, corresponding virtually to press Button quantity is more, since the display screen of electronic equipment is limited, possibly disposably can not all show all virtual push buttons, at this point, Then it can allow users to check whole virtual push buttons, for example, user can by the list or other modes of setting virtual push button To check more parameter modification information options by way of sliding virtual push button in the corresponding display area of virtual push button.
It include first choice interface and the second selection circle in embodiment of the disclosure, in parameter modification information selection interface Face, adjustment instruction include the first adjustment instruction and second adjustment instruction;
By parameter modification information selection interface, adjustment instruction is received, may include:
By first choice interface, the first adjustment instruction is received;
It is instructed in response to the first adjustment, shows the second selection interface, first choice interface includes the choosing of parameter modification information ?;
By the second selection interface, second adjustment instruction is received.
Wherein, in order to realize the division to different parameters modification information, in order to which user is to different parameters modification information Selection is realized and carries out U.S. face special effect processing to each position of face, parameter modification information can be classified, be joined Number modification information type, wherein the specific mode classification of parameter modification information can be configured according to actual demand, for example, Classify according to the different parts of face, obtains different parameter modification information types.Based on different user to same face The U.S. face demands of the difference at position may include one or more parameter modification informations in one parameter modification information type, then use Family can first pass through first choice interface, and determining needs parameter modification information type to be added, then pass through the second selection interface, choosing Select the parameter modification information in the parameter modification information type.
In practical applications, parameter modification information type can be shown to by user by first choice interface, by this Interface receives the first adjustment instruction of user, so that the selected parameter modification information type of user is obtained, it later, can be by user The option of parameter modification information under the parameter modification information type of selection determines that interface is presented to the user by special efficacy, makes user Can be by the option of the parameter modification information shown in the interface, the parameter modification information for selecting oneself desired is wanted to add The special efficacy added.
As an example, a kind of schematic diagram at first choice interface is shown in Fig. 4 a, is shown not on the interface The same corresponding virtual push button of parameter modification information type: " Class1 " and " type 2 " as illustrated in the drawing, user can pass through a little " Class1 " or " type 2 " selection parameter modification information type is hit, for example, after clicking " Class1 ", then it will be corresponding to " Class1 " Second selection interface is shown, a kind of schematic diagram of second selection interface is shown in Fig. 4 b, as shown in fig 4b, in interface Show that option A1, B1 and the C1 of parameter modification information corresponding in " Class1 ", user can be by selection A1, B1 and C1 One or more select oneself to think parameter modification information to be added, i.e. beauty Yan Texiao.
It is understood that in practical applications, first choice interface and the second selection interface can be the same user Interface, or different user interfaces, the embodiment of the present disclosure is without limitation.
It further include the colour system parameter modification letter based on facial image to be processed in embodiment of the disclosure, in adjustment instruction Breath;This method can also include:
According to colour system parameter modification information, facial image to be processed is adjusted, colour system face figure to be processed adjusted is obtained Picture;
Show colour system facial image to be processed adjusted.
Wherein, in order to meet user to more U.S. face demands of same facial image to be processed, filter spy can also be provided Effect addition function, i.e., be adjusted the colour system parameter of facial image to be processed, so that facial image to be processed can be presented Different filtering effects out, in practical applications, user can select to be added in the interface where facial image to be processed The filter special efficacy added, i.e. colour system parameter modification information can be to the faces currently edited by selected filter special efficacy Image increases selected filter special efficacy.Filter special efficacy may include multiple types, such as pure and fresh filter, pale filter and nature Filter etc..
In practical applications, filter addition operation can pass through user couple, the concrete operations of parameter modification information selection interface Movement is realized, for example, horizontally slip, the corresponding region of facial image to be processed in parameter modification information selection interface Realize the addition and switching of filter special efficacy.
In embodiment of the disclosure, this method further include:
It receives image and saves instruction and/or images share instruction;
It is saved and is instructed according to image, save facial image to be processed adjusted, and/or, it is instructed according to images share, it will Facial image to be processed adjusted is shared.
Wherein, it after the facial image to be processed after being adjusted, can provide a user this is adjusted wait locate The function that reason facial image is shared and/or saved, i.e., operated by the images share of user, generate corresponding images share Instruction is instructed based on the images share, which is shared into specified platform or be shared with Specified someone, to realize the sharing to the facial image to be processed adjusted;Or operation is saved by the image of user, It generates corresponding image and saves instruction, instruction is saved based on the image, which is stored in this Ground is checked with providing the user.
In embodiment of the disclosure, facial image to be processed be the user captured in real time present image or user from this The facial image chosen in ground image library.
In practical applications, facial image to be processed can be to be obtained in real time by the terminal device with camera function The facial image of video frame is also possible to the image of the selection from image library, wherein image library can store local or Server, if being stored in server, facial image to be processed is to send the image that image acquisition request is got to server.
Based on the same principle with method shown in Fig. 1, a kind of face image processing is additionally provided in embodiment of the disclosure Device 20 adjusts intensity determining module 220, figure as shown in figure 5, the device 20 may include: that facial image obtains module 210 As adjustment module 230 and image display 240, wherein
Facial image obtains module 210, for obtaining facial image to be processed;
Intensity determining module 220 is adjusted for receiving the adjustment instruction to facial image to be processed includes in adjustment instruction The adjustment index of parameter modification information based on facial image to be processed, adjustment index are used for the adjustment of identification parameter modification information Intensity;
Image adjustment module 230, for according to adjustment index, adjust facial image to be processed, after being adjusted wait locate Manage facial image;
Image display 240, for showing facial image to be processed adjusted.
Scheme in embodiment of the disclosure passes through the ginseng to facial image to be processed when needing to handle facial image The adjustment index of number modification information, can be realized and be adjusted correspondingly processing to facial image to be processed, to realize corresponding beauty The processing of face special efficacy, with this solution, when receiving adjustment instruction, according to the adjustment index of parameter modification information to be processed Corresponding position is adjusted processing in facial image, that is, realizes the function of user's face display effect in key adjustment image Can, facial image is edited manually without user, greatly reduces the time of image procossing, improves the friendship of user Mutually experience.
It further include the adjustment index that user is directed to U.S. face special efficacy in embodiment of the disclosure, in U.S. face special efficacy selection operation, Adjustment index is used to identify the adjustment intensity of U.S. face special efficacy;
U.S. face special efficacy processing module 230 carries out corresponding beauty Yan Texiao to facial image to be processed according to beauty Yan Texiao When processing, it is specifically used for:
According to adjustment index, corresponding U.S. face special effect processing is carried out to facial image to be processed.
In embodiment of the disclosure, image adjustment module 230 adjusts facial image to be processed, obtains according to adjustment index When to facial image to be processed adjusted, it is specifically used for;
Detect the human face characteristic point of facial image to be processed;
According to adjustment index, the adjustment amount of the parameter to be adjusted of human face characteristic point is determined, parameter to be adjusted is to modify to believe with parameter The corresponding index parameter of manner of breathing;
According to parameter to be adjusted adjustment amount, human face characteristic point is adjusted and to facial image to be processed adjusted into Row rendering, the facial image to be processed after being adjusted.
In embodiment of the disclosure, parameter modification information is shape of face parameter modification information or skin parameters modification information;
When parameter modification information is shape of face parameter modification information, special efficacy adjusting parameter includes characteristic point to be adjusted, wait adjust ginseng Several adjustment amounts includes the mobile vector of characteristic point to be adjusted;
For shape of face parameter modification information, image adjustment module 230 according to index is adjusted, determine human face characteristic point to When adjusting the adjustment amount of parameter, it is specifically used for:
Determine the characteristic point to be adjusted at face corresponding with the shape of face parameter modification information position in human face characteristic point;
According to adjustment index, the mobile vector of characteristic point to be adjusted is determined;
When parameter modification information is skin parameters modification information, parameter to be adjusted includes skin parameters, the tune of parameter to be adjusted Whole amount includes the adjustment amount of skin parameters;
For skin parameters modification information, image adjustment module 230 according to index is adjusted, determine human face characteristic point to When adjusting the adjustment amount of parameter, it is specifically used for:
Determine the skin parameters at face corresponding with the skin parameters modification information position in human face characteristic point;
According to adjustment index, the adjustment amount of skin parameters is determined.
In embodiment of the disclosure, image adjustment module 230 is determining believing in human face characteristic point with the modification of shape of face parameter The corresponding face position of manner of breathing when adjusting characteristic point, be specifically used for:
Determine the reference characteristic point at face corresponding with the shape of face parameter modification information position in human face characteristic point;
Interpolation processing is carried out to reference characteristic point, obtains interpolation characteristic point, using interpolation characteristic point and reference characteristic point as Characteristic point to be adjusted.
It further include the colour system parameter modification letter based on facial image to be processed in embodiment of the disclosure, in adjustment instruction Breath;The device can also include:
Image colour system adjusts module, for adjusting facial image to be processed, obtaining colour system according to colour system parameter modification information Facial image to be processed adjusted;Show colour system facial image to be processed adjusted.
In embodiment of the disclosure, which can also include:
Images share module saves instruction and/or images share instruction for receiving image;It is saved and is instructed according to image, Save facial image to be processed adjusted, and/or, instructed according to images share, by facial image to be processed adjusted into Row is shared.
In embodiment of the disclosure, facial image to be processed be the user captured in real time present image or user from this The facial image chosen in ground image library.
A kind of face figure provided by embodiment of the disclosure can be performed in the face image processing device of the embodiment of the present disclosure As processing method, realization principle is similar, and each module in face image processing device in each embodiment of the disclosure is held Capable movement be it is corresponding with the step in the face image processing process in each embodiment of the disclosure, at facial image Manage each module of device detailed functions description specifically may refer to hereinbefore shown in corresponding face image processing process Description, details are not described herein again.
Based on principle identical with the face image processing process in embodiment of the disclosure, gone back in embodiment of the disclosure A kind of electronic equipment is provided, which can include but is not limited to: processor and memory;Memory, for storing Computer operation instruction;Processor, for by calling computer operation instruction to execute method shown in embodiment.
Based on principle identical with the face image processing process in embodiment of the disclosure, gone back in embodiment of the disclosure A kind of computer readable storage medium is provided, which is stored at least one operation, at least a Duan Chengxu, code set Or operation set, at least one operation, at least a Duan Chengxu, code set or operation set are loaded by processor and are executed above-mentioned to realize Method shown in embodiment, details are not described herein.
Embodiment of the disclosure compared with prior art,
Scheme in embodiment of the disclosure passes through the ginseng to facial image to be processed when needing to handle facial image The adjustment index of number modification information, can be realized and be adjusted correspondingly processing to facial image to be processed, to realize corresponding beauty The processing of face special efficacy, with this solution, when receiving adjustment instruction, according to the adjustment index of parameter modification information to be processed Corresponding position is adjusted processing in facial image, that is, realizes the function of user's face display effect in key adjustment image Can, facial image is edited manually without user, greatly reduces the time of image procossing, improves the friendship of user Mutually experience.
Below with reference to Fig. 6, it illustrates the structural representations for the electronic equipment 700 for being suitable for being used to realize the embodiment of the present disclosure Figure, which can be terminal device or server.Wherein, terminal device can include but is not limited to such as move Phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable more matchmakers Body player), the mobile terminal of car-mounted terminal (such as vehicle mounted guidance terminal) etc. and number TV, desktop computer etc. Deng fixed terminal.Electronic equipment shown in Fig. 6 is only an example, function to the embodiment of the present disclosure and should not use model Shroud carrys out any restrictions.
As shown in fig. 6, electronic equipment 700 may include processing unit (such as central processing unit, graphics processor etc.) 701, random access can be loaded into according to the program being stored in read-only memory (ROM) 702 or from storage device 708 Program in memory (RAM) 703 and execute various movements appropriate and processing.In RAM 703, it is also stored with electronic equipment Various programs and data needed for 700 operations.Processing unit 701, ROM 702 and RAM 703 pass through the phase each other of bus 704 Even.Input/output (I/O) interface 705 is also connected to bus 704.
In general, following device can connect to I/O interface 705: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 706 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 707 of dynamic device etc.;Storage device 708 including such as tape, hard disk etc.;And communication device 709.Communication device 709, which can permit electronic equipment 700, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6 shows tool There is the electronic equipment 700 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 709, or from storage device 708 It is mounted, or is mounted from ROM 702.When the computer program is executed by processing unit 701, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment executes method shown in above method embodiment;Alternatively, above-mentioned computer-readable Jie Matter carries one or more program, when said one or multiple programs are executed by the electronic equipment, so that the electronics Equipment executes method shown in above method embodiment.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of face image processing process characterized by comprising
Obtain facial image to be processed;
The adjustment instruction to the facial image to be processed is received, includes being based on the face figure to be processed in the adjustment instruction The adjustment index of the parameter modification information of picture, the adjustment index are used to identify the adjustment intensity of the parameter modification information;
According to the adjustment index, the facial image to be processed, the facial image to be processed after being adjusted are adjusted;
Show the facial image to be processed adjusted.
2. adjustment is described to be processed the method according to claim 1, wherein described according to the adjustment index Facial image, the facial image to be processed after being adjusted, comprising:
Detect the human face characteristic point of the facial image to be processed;
According to the adjustment index, the adjustment amount of the parameter to be adjusted of the human face characteristic point is determined, the parameter to be adjusted is and institute State the corresponding index parameter of parameter modification information;
According to the adjustment amount of the parameter to be adjusted, the human face characteristic point is adjusted and to the people to be processed adjusted Face image is rendered, and the facial image to be processed adjusted is obtained.
3. according to the method described in claim 2, it is characterized in that, the parameter modification information be shape of face parameter modification information or Skin parameters modification information;
When the parameter modification information is the shape of face parameter modification information, the special efficacy adjusting parameter includes feature to be adjusted Point, the adjustment amount of the parameter to be adjusted include the mobile vector of the characteristic point to be adjusted;
It is described according to the adjustment index for the shape of face parameter modification information, determine joining wait adjust for the human face characteristic point Several adjustment amounts, comprising:
Determine the characteristic point to be adjusted at the face position corresponding with the shape of face parameter modification information in the human face characteristic point;
According to the adjustment index, the mobile vector of the characteristic point to be adjusted is determined;
When the parameter modification information is the skin parameters modification information, the parameter to be adjusted includes skin parameters, described The adjustment amount of parameter to be adjusted includes the adjustment amount of the skin parameters;
It is described according to the adjustment index for the skin parameters modification information, determine joining wait adjust for the human face characteristic point Several adjustment amounts, comprising:
Determine the skin parameters at the face position corresponding with the skin parameters modification information in the human face characteristic point;
According to the adjustment index, the adjustment amount of the skin parameters is determined.
4. according to the method described in claim 3, it is characterized in that, in the determination human face characteristic point with the shape of face The characteristic point to be adjusted at the corresponding face position of parameter modification information, comprising:
Determine the reference characteristic point at the face position corresponding with the shape of face parameter modification information in the human face characteristic point;
Interpolation processing is carried out to the reference characteristic point, obtains interpolation characteristic point, the interpolation characteristic point and the benchmark is special Sign point is used as characteristic point to be adjusted.
5. method according to claim 1 to 4, which is characterized in that further include being based in the adjustment instruction The colour system parameter modification information of the facial image to be processed;
The method also includes:
According to the colour system parameter modification information, the facial image to be processed is adjusted, it is adjusted described wait locate to obtain colour system Manage facial image;
Show the colour system facial image to be processed adjusted.
6. method according to claim 1 to 4, which is characterized in that further include:
It receives image and saves instruction and/or images share instruction;
It is saved and is instructed according to described image, save the facial image to be processed adjusted, and/or, according to the figure As sharing instruction, the facial image to be processed adjusted is shared.
7. method according to claim 1 to 4, which is characterized in that the facial image to be processed is real-time The facial image that the present image of the user of capture or the user choose from local image library.
8. a kind of face image processing device characterized by comprising
Facial image obtains module, for obtaining facial image to be processed;
Adjustment intensity determining module is wrapped in the adjustment instruction for receiving the adjustment instruction to the facial image to be processed The adjustment index of the parameter modification information based on the facial image to be processed is included, the adjustment index is for identifying the parameter The adjustment intensity of modification information;
Image adjustment module, it is described after being adjusted for adjusting the facial image to be processed according to the adjustment index Facial image to be processed;
Image display, for showing the facial image to be processed adjusted.
9. a kind of electronic equipment characterized by comprising
Processor and memory;
The memory, for storing computer operation instruction;
The processor, for executing any one of the claims 1 to 7 institute by calling the computer operation instruction The method stated.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program instruction, the computer program instructions are used to that computer to be made to execute side described in any one of the claims 1 to 7 Method.
CN201811457969.6A 2018-11-30 2018-11-30 Face image processing process, device, electronic equipment and computer storage medium Pending CN109614902A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811457969.6A CN109614902A (en) 2018-11-30 2018-11-30 Face image processing process, device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811457969.6A CN109614902A (en) 2018-11-30 2018-11-30 Face image processing process, device, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN109614902A true CN109614902A (en) 2019-04-12

Family

ID=66006219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811457969.6A Pending CN109614902A (en) 2018-11-30 2018-11-30 Face image processing process, device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN109614902A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188711A (en) * 2019-06-03 2019-08-30 北京字节跳动网络技术有限公司 Method and apparatus for output information
CN110363718A (en) * 2019-06-28 2019-10-22 北京字节跳动网络技术有限公司 Face image processing process, device, medium and electronic equipment
CN110490828A (en) * 2019-09-10 2019-11-22 广州华多网络科技有限公司 Image processing method and system in net cast
CN110727810A (en) * 2019-10-15 2020-01-24 联想(北京)有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN110992276A (en) * 2019-11-18 2020-04-10 北京字节跳动网络技术有限公司 Image processing method, device, medium and electronic equipment
CN111399730A (en) * 2020-03-12 2020-07-10 北京字节跳动网络技术有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium
CN111967039A (en) * 2020-07-03 2020-11-20 浙江大华技术股份有限公司 Image processing method, device and system
CN112419143A (en) * 2020-11-20 2021-02-26 广州繁星互娱信息科技有限公司 Image processing method, special effect parameter setting method, device, equipment and medium
CN112767241A (en) * 2021-01-29 2021-05-07 北京达佳互联信息技术有限公司 Image processing method and device
CN113419695A (en) * 2021-06-11 2021-09-21 北京达佳互联信息技术有限公司 Method and device for displaying adjustment items of target object and electronic equipment
CN113763287A (en) * 2021-09-27 2021-12-07 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium
CN115115663A (en) * 2022-06-20 2022-09-27 北京达佳互联信息技术有限公司 Face image processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530434A (en) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 Shooting method and terminal
US20170069065A1 (en) * 2015-09-08 2017-03-09 Htc Corporation Facial image adjustment method and facial image adjustment system
CN107292817A (en) * 2017-06-30 2017-10-24 广东欧珀移动通信有限公司 A kind of image processing method, device, storage medium and terminal
CN108876732A (en) * 2018-05-25 2018-11-23 北京小米移动软件有限公司 Face U.S. face method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170069065A1 (en) * 2015-09-08 2017-03-09 Htc Corporation Facial image adjustment method and facial image adjustment system
CN105530434A (en) * 2016-02-01 2016-04-27 深圳市金立通信设备有限公司 Shooting method and terminal
CN107292817A (en) * 2017-06-30 2017-10-24 广东欧珀移动通信有限公司 A kind of image processing method, device, storage medium and terminal
CN108876732A (en) * 2018-05-25 2018-11-23 北京小米移动软件有限公司 Face U.S. face method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘磊: "《零起点手把手教你做直播》", 30 June 2017 *
夏三鳌: "《Photoshop图像处理与平面设计案例教程》", 31 August 2015 *
肖森舟: "《互联网+手机 玩转手机自媒体营销108招》", 31 October 2016, 群言出版社 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188711A (en) * 2019-06-03 2019-08-30 北京字节跳动网络技术有限公司 Method and apparatus for output information
CN110363718A (en) * 2019-06-28 2019-10-22 北京字节跳动网络技术有限公司 Face image processing process, device, medium and electronic equipment
CN110490828B (en) * 2019-09-10 2022-07-08 广州方硅信息技术有限公司 Image processing method and system in video live broadcast
CN110490828A (en) * 2019-09-10 2019-11-22 广州华多网络科技有限公司 Image processing method and system in net cast
CN110727810A (en) * 2019-10-15 2020-01-24 联想(北京)有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN110992276A (en) * 2019-11-18 2020-04-10 北京字节跳动网络技术有限公司 Image processing method, device, medium and electronic equipment
CN111399730A (en) * 2020-03-12 2020-07-10 北京字节跳动网络技术有限公司 Image processing method, image processing device, electronic equipment and computer readable storage medium
CN111967039A (en) * 2020-07-03 2020-11-20 浙江大华技术股份有限公司 Image processing method, device and system
CN112419143A (en) * 2020-11-20 2021-02-26 广州繁星互娱信息科技有限公司 Image processing method, special effect parameter setting method, device, equipment and medium
CN112419143B (en) * 2020-11-20 2024-08-06 广州繁星互娱信息科技有限公司 Image processing method, special effect parameter setting method, device, equipment and medium
CN112767241A (en) * 2021-01-29 2021-05-07 北京达佳互联信息技术有限公司 Image processing method and device
CN113419695A (en) * 2021-06-11 2021-09-21 北京达佳互联信息技术有限公司 Method and device for displaying adjustment items of target object and electronic equipment
WO2022257386A1 (en) * 2021-06-11 2022-12-15 北京卓越乐享网络科技有限公司 Method and apparatus for displaying adjustment item of target object, and electronic device
CN113763287A (en) * 2021-09-27 2021-12-07 北京市商汤科技开发有限公司 Image processing method and device, electronic equipment and storage medium
CN115115663A (en) * 2022-06-20 2022-09-27 北京达佳互联信息技术有限公司 Face image processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109614902A (en) Face image processing process, device, electronic equipment and computer storage medium
CN109583385A (en) Face image processing process, device, electronic equipment and computer storage medium
WO2021218325A1 (en) Video processing method and apparatus, and computer-readable medium and electronic device
CN105593785B (en) Stare auxiliary touch-screen input
US11030733B2 (en) Method, electronic device and storage medium for processing image
CN109584180A (en) Face image processing process, device, electronic equipment and computer storage medium
CN110933334B (en) Video noise reduction method, device, terminal and storage medium
CN108492364A (en) The method and apparatus for generating model for generating image
CN110047124A (en) Method, apparatus, electronic equipment and the computer readable storage medium of render video
WO2022042290A1 (en) Virtual model processing method and apparatus, electronic device and storage medium
JP7383714B2 (en) Image processing method and device for animal faces
CN110782532B (en) Image generation method, image generation device, electronic device, and storage medium
CN109559288A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN109522869A (en) Face image processing process, device, terminal device and computer storage medium
CN107330868A (en) image processing method and device
CN109543646A (en) Face image processing process, device, electronic equipment and computer storage medium
KR20160052309A (en) Electronic device and method for analysis of face information in electronic device
CN107341777A (en) image processing method and device
CN110211030A (en) Image generating method and device
WO2020150691A1 (en) Systems and methods for providing personalized videos featuring multiple persons
CN109784304A (en) Method and apparatus for marking dental imaging
JP2006091948A (en) Controller for electronic equipment
CN110457963A (en) Display control method, device, mobile terminal and computer readable storage medium
CN110111241A (en) Method and apparatus for generating dynamic image
CN108683872A (en) Video call method, device, storage medium and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination