CN107169920A - A kind of intelligence repaiies drawing method and terminal - Google Patents
A kind of intelligence repaiies drawing method and terminal Download PDFInfo
- Publication number
- CN107169920A CN107169920A CN201710273033.7A CN201710273033A CN107169920A CN 107169920 A CN107169920 A CN 107169920A CN 201710273033 A CN201710273033 A CN 201710273033A CN 107169920 A CN107169920 A CN 107169920A
- Authority
- CN
- China
- Prior art keywords
- user
- face
- repairing
- picture
- scheme
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000001815 facial effect Effects 0.000 claims abstract description 33
- 230000008676 import Effects 0.000 claims abstract description 9
- 230000033001 locomotion Effects 0.000 claims description 27
- 230000008439 repair process Effects 0.000 claims description 26
- 238000003825 pressing Methods 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 4
- 238000013480 data collection Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 13
- 230000006870 function Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000003860 storage Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008921 facial expression Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000003255 anti-acne Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/04—Context-preserving transformations, e.g. by using an importance map
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the present invention provides a kind of intelligence and repaiies drawing method and terminal, and wherein method includes:Import the face picture for needing to beautify;The facial characteristics of face in the face picture is recognized, and the face samples pictures matched with the facial characteristics of the face are searched from the sample database pre-established;The face picture is contrasted with the face samples pictures, calculates and repaiies figure scheme;The figure scheme of repairing is prompted to user, makes user carry out repairing figure according to the figure scheme of repairing.The embodiment of the present invention can be prompted to user according to the rational picture editor's scheme of selection of the facial characteristics intelligence of personage in picture, make user according to prompting manual editing's picture, both the subjective control ability of user had been enhanced, the operation difficulty of professional editor picture is reduced again, and is also improved and repaiied figure effect.
Description
Technical field
The embodiment of the present invention belongs to technical field of image processing, more particularly to a kind of intelligence repaiies drawing method and terminal.
Background technology
With the lifting of taking photograph of intelligent mobile phone function, either circle of friends or microwave, which are substantially all, becomes cell-phone camera
The match meeting-place of contest, all kinds of U.S. figure softwares have started upsurge in the whole world.
At present, picture editor's mode of the U.S. figure software of in the market is generally divided into two kinds, and one kind is to automatically adjust, and in addition one
It is manual regulation to plant.Although both picture editor's modes can solve the problem that basic demand of the user to photo post-processing, still
Both picture editor's modes are short of on result or mode of operation is realized there are still some:
The picture editor's mode automatically adjusted, although mode of operation is simple, but operation is not accurate enough, obtains repairing figure result
It is not satisfactory enough, and can not carry out repairing figure according to the wish of user.Such as thin face function, it can not be according to each use
The uniqueness of family facial characteristics, the ratio of face and facial expression carry out comprehensive adjustment, and generally only face is contracted
It is small, and do not coordinate the ratio of face simultaneously, therefore, make to repair in this way after figure, the diminution of face frequently can lead to face
The imbalance of ratio, causes U.S. figure effect unsatisfactory;
The picture editor's mode adjusted manually so that user can based on the face of personage in picture, face feature and
Facial expression is beautified, and picture is controlled more flexible, and it is professional stronger to repair figure, and U.S. figure effect is perfect lively.However, this
Kind of picture editor's mode is engaged in for the specialty of design industry repaiies figure personage for some, repairs a perfect picture naturally not
It is difficult matter, but for some are not engaged in the domestic consumer of Specialty Design work, operation difficulty is larger, is difficult to grasp hand
The dynamic using skill for repairing figure.For example, needing to complete with brush using thin face function, the size of brush, brush in operation
Movement locus and the dynamics etc. of thin face have corresponding requirement, and common user does not grasp these specialties repaiies figure and know
Know, the ability of figure is repaiied without specialty.
To sum up, existing U.S. figure software, which there are, repaiies that figure effect is unsatisfactory or operation difficulty is larger, it is necessary to repair figure people
That grasps specialty repaiies figure knowledge, the problem of not being suitable for domestic consumer.
The content of the invention
The embodiment of the present invention provides a kind of intelligence and repaiies drawing method and terminal, can be according to the facial characteristics intelligence of personage in picture
The rational picture editor's scheme of selection of energy is prompted to user, makes user according to prompting manual editing's picture, both enhances user
Subjective control ability, reduces the operation difficulty of professional editor picture again, and also improves and repair figure effect.
On the one hand the embodiment of the present invention provides a kind of intelligence and repaiies drawing method, and the intelligence, which repaiies drawing method, to be included:
Import the face picture for needing to beautify;
Recognize the facial characteristics of face in the face picture, and search from the sample database pre-established with it is described
The face samples pictures that the facial characteristics of face matches;
The face picture is contrasted with the face samples pictures, calculates and repaiies figure scheme;
The figure scheme of repairing is prompted to user, makes user carry out repairing figure according to the figure scheme of repairing.
On the other hand the embodiment of the present invention also provides a kind of terminal, including:
Import unit, for importing the face picture for needing to beautify;
Matching unit, the facial characteristics for recognizing face in the face picture, and from the sample data pre-established
The face samples pictures matched with the facial characteristics of the face are searched in storehouse;
Computing unit, for the face picture to be contrasted with the face samples pictures, calculates and repaiies figure side
Case;
Figure unit is repaiied, for the figure scheme of repairing to be prompted into user, makes user carry out repairing figure according to the figure scheme of repairing.
The embodiment of the present invention is by importing the face picture for needing to beautify;Recognize that the face of face in the face picture is special
Levy, and the face samples pictures matched with the facial characteristics of the face are searched from the sample database pre-established;Will
The face picture is contrasted with the face samples pictures, is calculated and is repaiied figure scheme;The figure scheme of repairing is prompted to
User, makes user carry out repairing figure according to the figure scheme of repairing, so as to the choosing according to the facial characteristics intelligence of personage in picture
Take rational picture editor's scheme to be prompted to user, make user according to prompting manual editing's picture, both enhance user's subjectivity control
Ability processed, reduces the operation difficulty of professional editor picture again, and also improves and repair figure effect.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached
Figure.
Fig. 1 is the schematic flow diagram that a kind of intelligence provided in an embodiment of the present invention repaiies drawing method;
Fig. 2 is the schematic flow diagram that a kind of intelligence that another embodiment of the present invention is provided repaiies drawing method;
Fig. 3 be a kind of intelligence that another embodiment of the present invention is provided repair step S205 in drawing method implement flow
Figure;
Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram for terminal that another embodiment of the present invention is provided;
Fig. 6 is a kind of schematic block diagram for terminal that yet another embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated
Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use such as touch sensitive surface at least one is public
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 is that the embodiment of the present invention provides the schematic flow diagram that a kind of intelligence repaiies drawing method, and the executive agent of this method is
Terminal described in the embodiment of the present invention.Referring to as shown in figure 1, the present embodiment provide one kind intelligence repair drawing method may include with
Lower step:
Step S101, imports the face picture for needing to beautify.
In the present embodiment, importing needs the face picture beautified to refer to the face picture that needs beautify importeding into U.S. figure
In software.The face picture of the importing can be the face picture selected from the memory of terminal, or pass through end
End camera shoots the picture of acquisition immediately, can also be the picture downloaded by terminal from the webserver.
Step S102, recognizes the facial characteristics of face in the face picture, and from the sample database pre-established
Search the face samples pictures matched with the facial characteristics of the face.
In the present embodiment, the facial characteristics of the face includes but is not limited to the face ratio of face face, people's face
The angle of expression and the face face in portion.Further, it is described to be searched and the people from the sample database pre-established
The face samples pictures that the facial characteristics of face matches include:
Face with the face is found out from the sample database pre-established according to the facial characteristics of the face
The close face samples pictures of feature.
Wherein, the face samples pictures close with the facial characteristics of the face specifically refer to the face ratio of face face
Example, expression and the angle picture similar to the face features in the face picture, and the face sample graph
The picture after landscaping treatment that piece prestores.
Step S103, the face picture is contrasted with the face samples pictures, calculates and repaiies figure scheme.
In the present embodiment, because the face samples pictures are the figures close with the face picture after beautification
Which kind of beautification operation piece, therefore after both are contrasted, can obtain needing carrying out the face picture according to comparing result
Repair figure scheme, for example:If the face cheek in the face picture is relative to the face cheek in the face sample image
More fat, then now terminal can calculate specific thin face scope according to both difference;If the eyes in the face picture
It is smaller relative to eyes in the face sample image, then need to be amplified the eyes in the face picture, now
Terminal can calculate the scope of eyes amplification according to the difference of both eyes.
Step S104, user is prompted to by the figure scheme of repairing, and makes user carry out repairing figure according to the figure scheme of repairing.
In the present embodiment, by it is described repair figure scheme be prompted to that user can include will be described by way of word is guided
Repair figure scheme and export to user, by way of voice is guided and export the figure scheme of repairing to user or by word and language
Sound guides the mode that is combined to export the figure scheme of repairing to user, and such user just can repair figure scheme and hold according to described
Row repaiies graphic operation accordingly, without user there is stronger specialty to repair figure ability, you can the preferable picture of figure effect is repaiied in acquisition.
Above as can be seen that a kind of intelligence that the present embodiment is provided repaiies drawing method due to by importing the face for needing to beautify
Picture;The facial characteristics of face in the face picture is recognized, and is searched and the people from the sample database pre-established
The face samples pictures that the facial characteristics of face matches;The face picture is contrasted with the face samples pictures, counted
Calculation, which is drawn, repaiies figure scheme;The figure scheme of repairing is prompted to user, makes user carry out repairing figure according to the figure scheme of repairing, so as to
To be prompted to user according to the rational picture editor's scheme of selection of the facial characteristics intelligence of personage in picture, make user according to carrying
Show manual editing's picture, both enhanced the subjective control ability of user, the operation difficulty of professional editor picture is reduced again, and also
Improve and repair figure effect.
Fig. 2 is the schematic flow diagram that a kind of intelligence that another embodiment of the present invention is provided repaiies drawing method, the execution of this method
Main body is the terminal described in another embodiment of the present invention.Shown in Figure 2, one kind intelligence that the present embodiment is provided repaiies drawing method
Including:
Step S201, imports the face picture for needing to beautify.
Step S202, recognizes the facial characteristics of face in the face picture, and from the sample database pre-established
Search the face samples pictures matched with the facial characteristics of the face.
Step S203, the face picture is contrasted with the face samples pictures, calculates and repaiies figure scheme.
It should be noted that step S201~step S203 in the present embodiment is due to step S101~step S103's
Implementation is identical, therefore, will not be repeated here.
Step S204, according to it is described repair figure scheme and light repair the icon that figure is needed to use.
In the present embodiment, U.S. figure software can first disable each U.S. figure function, got in the terminal and repair figure scheme
Afterwards, the current icon repaiied and used required for figure is lighted further according to the figure scheme of repairing, so prevents user from using unnecessary
Beautifying functions, influence landscaping effect, while Consumer's Experience can further be improved with user-friendly.
Step S205, instruction user carries out repairing graphic operation by the icon lighted.Fig. 3 shows step S205 tool
Body implementation process, shown in Figure 3, step S205 specifically includes following steps:
Step S301, obtains the region to be beautified that user selects in the face picture.
In the present embodiment, the region to be beautified is divided into five parts by the face of face, and the acquisition user is in institute
The region to be beautified selected in face picture is stated to specifically include:Institute is selected according to touch location of the user in the face picture
Region to be beautified is stated, for example:If touch location is cheek, cheek is defined as region to be beautified;If touch location is nose,
Nose is then defined as region to be beautified.
Step S302, beautifies according to the history of the region to be beautified and the pre-recorded face samples pictures and operates
Information is that user recommends brush model and brush movement locus used in the beautification region to be beautified.
In the present embodiment, not only including the face sample image after beautification in the sample database, but also including
History beautification operation information corresponding to the face sample image, the terminal is it is determined that in the facial image that user currently selects
Can be according to the history beautification operation information corresponding to region beautify and the face sample image when region is beautified
To recommend brush model and brush track used in the beautification region to be beautified for user.Wherein, the face sample graph
The history beautification operation information of picture includes each position of face used brush type in beautification in the face sample image
Number and brush movement locus.
Step S303, instruction user is carried out according to the brush model and brush movement locus of recommendation to the region to be beautified
Beautification.
In the present embodiment, the terminal is used needed for the region to be beautified is got brush model and brush fortune
The brush model and brush movement locus can be recommended to user during dynamic rail mark, user is pointed out according to the brush model of recommendation
Beautification operation is carried out with brush movement locus, user can choose whether to make after prompt message is got according to personal inclination
The brush model and brush movement locus recommended with terminal carry out beautification operation, if brush model and fortune that dissatisfied terminal is recommended
Dynamic rail mark, then manually select other brush models according to personal inclination and other brush movement locus perform beautification operation.
In addition, it is necessary to explanation, during the beautification of facial image, because region to be beautified is change, therefore
Whether terminal automatic detection region to be beautified changes, and when beautification region changes, is treated again according to current
It is that user recommends brush model and brush movement locus to beautify region, for example:If user enters thin face function, repairing according to instruction
If it is the cheek region in face picture that user touch location is detected during figure, brush model is automatically adjusted to be big
Number, and the running orbit of brush described in illustrative user;After user is according to indicating that the beautification for completing cheek part is operated, click on again
Nasal portion in the face picture, then terminal is automatic again is adjusted to consumption by the brush, and illustrative user brush
Movement locus, operates the beautification that user completes nasal portion further according to current instruction, in beautification operating process, if user
Brush model or brush movement locus after dissatisfied terminal regulation, then can manually change brush model and brush motion rail
Mark.
Further, in the present embodiment, except can be according to the region to be beautified and the face sample image institute
Corresponding history beautification operation information is that user recommends outside brush model and brush movement locus, is carrying out flaw processing, for example:
Can also be the suitable brush model of user's recommendation according to the size of the flaw detected during anti-acne processing.
Step S304, detection user is when performing beautification operation, pressing dynamics of the finger tip on the region to be beautified.
In the present embodiment, pressure sensor is provided with below the screen of the terminal, can be real during U.S. figure
When pressing dynamics of the monitoring user's finger on screen.
Step S305, the intensity in region to be beautified according to the pressing dynamics controls beautification.
In the present embodiment, the terminal, can be according to this after pressing dynamics of the user's finger on screen is detected
Pressing dynamics beautifies the intensity in region to be beautified to adjust, and pressing dynamics is bigger, and beautification intensity is bigger, and pressing dynamics is smaller, beautiful
Change dynamics is smaller.Further, during beautification, current beautification operation correspondence can be shown in real time on the screen of terminal
Beautification intensity, so can preferably aid in user to realize and preferably repair figure effect.
Step S206, records this operation information for repairing user during figure, and by the operation information of the user and U.S.
Picture after change is stored into the sample database after setting up association as sample data, wherein, the operation letter of the user
Breath includes user used brush model and brush movement locus when beautifying each position of face face.
In the present embodiment, due to further recording this operation information for repairing user during figure after the completion of repairing figure,
And the picture after itself and beautification is set up associate after stored as sample data into the sample database, so as to so that after
Platform repaiies figure custom according to the sample data counting user being collected into, so that the figure custom of repairing subsequently according to user is recommended for user
Figure scheme is repaiied, can so cause that recommends to repair the demand that figure scheme more conforms to user, can further lift the body of user
Test.
Above as can be seen that a kind of intelligence that the present embodiment is provided repair drawing method equally can be according to the face of personage in picture
The rational picture editor's scheme of selection of portion's feature intelligent is prompted to user, makes user according to prompting manual editing's picture, both increased
The strong subjective control ability of user, reduces the operation difficulty of professional editor picture again, and also improves and repair figure effect.
Fig. 4 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention, illustrate only for convenience of description with
The related part of the present embodiment.
It is shown in Figure 4, a kind of terminal 100 that the present embodiment is provided, including:
Import unit 1, for importing the face picture for needing to beautify;
Matching unit 2, the facial characteristics for recognizing face in the face picture, and from the sample data pre-established
The face samples pictures matched with the facial characteristics of the face are searched in storehouse;
Computing unit 3, for the face picture to be contrasted with the face samples pictures, calculates and repaiies figure side
Case;
Figure unit 4 is repaiied, for the figure scheme of repairing to be prompted into user, user is repaiied according to the figure scheme of repairing
Figure.
Optionally, shown in Figure 5, in another embodiment, the figure unit 4 of repairing includes:
Icon lighting unit 41, the icon that figure is needed to use is repaiied for repairing figure scheme according to and lighting;
Figure Tip element 42 is repaiied, carries out repairing graphic operation by the icon lighted for instruction user.
Optionally, the figure Tip element 42 of repairing includes:
Beautify area acquisition unit 421, for obtaining the region to be beautified that user selects in the face picture;
Recommendation information acquiring unit 422, for according to the region to be beautified and the pre-recorded face sample graph
The history beautification operation information of piece is that user recommends brush model used in the beautification region to be beautified and brush motion rail
Mark;
Graphic operation indicating member 423 is repaiied, for instruction user according to the brush model and brush movement locus of recommendation to institute
Region to be beautified is stated to be beautified.
Optionally, the figure unit 4 of repairing also includes:
Pressing dynamics detection unit 43, for detecting user when performing beautification operation, finger tip is in the region to be beautified
On pressing dynamics;
Beautify intensity control unit 44, the intensity for the region to be beautified according to pressing dynamics control beautification.
Optionally, the terminal 400 also includes:
Sample Data Collection unit 5, for recording this operation information for repairing user during figure, and by the user's
Operation information is stored into the sample database after being associated with the picture foundation after beautification as sample data, wherein, it is described
The operation information of user includes user used brush model and brush motion rail when beautifying each position of face face
Mark.
It should be noted that the unit in above-mentioned terminal provided in an embodiment of the present invention, due to the inventive method
Embodiment is based on same design, and its technique effect brought is identical with the inventive method embodiment, and particular content can be found in this hair
Narration in bright embodiment of the method, here is omitted.
Thus, it will be seen that the present embodiment provide terminal equally can according in picture personage facial characteristics intelligence
The rational picture editor's scheme of selection be prompted to user, make user according to prompting manual editing's picture, both enhanced and used householder
Control ability is seen, the operation difficulty of professional editor picture is reduced again, and also improves and repaiies figure effect.
It is a kind of terminal schematic block diagram that yet another embodiment of the invention is provided referring to Fig. 6.The present embodiment as shown in Figure 6
In terminal 100 can include:One or more processors 601;One or more input equipments 602, one or more outputs
Equipment 603 and memory 604.Above-mentioned processor 601, input equipment 602, output equipment 603 and memory 604 pass through bus
605 connections.Memory 602 is used for store instruction, and processor 601 is used for the instruction for performing the storage of memory 602.Wherein, it is described
Processor 601 is used for:
Import the face picture for needing to beautify;
Recognize the facial characteristics of face in the face picture, and search from the sample database pre-established with it is described
The face samples pictures that the facial characteristics of face matches;
The face picture is contrasted with the face samples pictures, calculates and repaiies figure scheme;
The figure scheme of repairing is prompted to user, makes user carry out repairing figure according to the figure scheme of repairing.
The processor 601 is additionally operable to:
According to it is described repair figure scheme and light repair the icon that figure is needed to use;
Instruction user carries out repairing graphic operation by the icon lighted.
The processor 601 is additionally operable to:
Obtain the region to be beautified that user selects in the face picture;
Beautify operation information to use according to the history of the region to be beautified and the pre-recorded face samples pictures
Recommend brush model and brush movement locus used in the beautification region to be beautified in family;
Instruction user is beautified according to the brush model and brush movement locus of recommendation to the region to be beautified.
The processor 601 is additionally operable to:
User is detected when performing beautification operation, pressing dynamics of the finger tip on the region to be beautified;
The intensity in region to be beautified according to the pressing dynamics controls beautification.
The processor 601 is additionally operable to:
Record this operation information for repairing user during figure, and by the picture after the operation information of the user and beautification
Stored after setting up association as sample data into the sample database, wherein, the operation information of the user includes user
Used brush model and brush movement locus when beautifying each position of face face.
It should be appreciated that in embodiments of the present invention, alleged processor 601 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 602 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone etc., output equipment 603 can include display (LCD etc.), loudspeaker etc..
The memory 604 can include read-only storage and random access memory, and to processor 601 provide instruction and
Data.The a part of of memory 604 can also include nonvolatile RAM.For example, memory 604 can also be deposited
Store up the information of device type.
In the specific implementation, processor 601, input equipment 602, the output equipment 603 described in the embodiment of the present invention can
The implementation described in the first embodiment and second embodiment of method provided in an embodiment of the present invention is performed, also be can perform
The implementation of terminal described by the embodiment of the present invention, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, foregoing description【System
System】, terminal and unit specific work process, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
In several embodiments provided herein, it should be understood that disclosed【System】, terminal and method, can
To realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Division, only a kind of division of logic function can have other dividing mode when actually realizing, such as multiple units or group
Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.In addition, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communication connection or electricity, mechanical or other forms are connected.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of intelligence repaiies drawing method, it is characterised in that including:
Import the face picture for needing to beautify;
The facial characteristics of face in the face picture is recognized, and is searched and the face from the sample database pre-established
The face samples pictures that match of facial characteristics;
The face picture is contrasted with the face samples pictures, calculates and repaiies figure scheme;
The figure scheme of repairing is prompted to user, makes user carry out repairing figure according to the figure scheme of repairing.
2. intelligence as claimed in claim 1 repaiies drawing method, it is characterised in that described that the figure scheme of repairing is prompted into user,
User is set according to the figure scheme of repairing repair figure and include:
According to it is described repair figure scheme and light repair the icon that figure is needed to use;
Instruction user carries out repairing graphic operation by the icon lighted.
3. intelligence as claimed in claim 2 repaiies drawing method, it is characterised in that the instruction user passes through the icon lighted
Graphic operation is repaiied in progress to be included:
Obtain the region to be beautified that user selects in the face picture;
Beautify operation information according to the history of the region to be beautified and the pre-recorded face samples pictures to push away for user
Recommend brush model and brush movement locus used in the beautification region to be beautified;
Instruction user is beautified according to the brush model and brush movement locus of recommendation to the region to be beautified.
4. intelligence as claimed in claim 3 repaiies drawing method, it is characterised in that the instruction user is according to the brush model of recommendation
Also include after being beautified with brush movement locus to the region to be beautified:
User is detected when performing beautification operation, pressing dynamics of the finger tip on the region to be beautified;
The intensity in region to be beautified according to the pressing dynamics controls beautification.
5. intelligence as claimed in claim 4 repaiies drawing method, it is characterised in that described that the figure scheme of repairing is prompted into user,
User is set according to the figure scheme of repairing after repairing figure also include:
This operation information for repairing user during figure is recorded, and the picture after the operation information of the user and beautification is set up
Stored after association as sample data into the sample database, wherein, the operation information of the user includes user in U.S.
Used brush model and brush movement locus when changing each position of face face.
6. a kind of terminal, it is characterised in that including:
Import unit, for importing the face picture for needing to beautify;
Matching unit, the facial characteristics for recognizing face in the face picture, and from the sample database pre-established
Search the face samples pictures matched with the facial characteristics of the face;
Computing unit, for the face picture to be contrasted with the face samples pictures, calculates and repaiies figure scheme;
Figure unit is repaiied, for the figure scheme of repairing to be prompted into user, makes user carry out repairing figure according to the figure scheme of repairing.
7. terminal as claimed in claim 6, it is characterised in that the figure unit of repairing includes:
Icon lighting unit, the icon that figure is needed to use is repaiied for repairing figure scheme according to and lighting;
Figure Tip element is repaiied, carries out repairing graphic operation by the icon lighted for instruction user.
8. terminal as claimed in claim 7, it is characterised in that the figure Tip element of repairing includes:
Beautify area acquisition unit, for obtaining the region to be beautified that user selects in the face picture;
Recommendation information acquiring unit, for the history according to the region to be beautified and the pre-recorded face samples pictures
It is that user recommends brush model and brush movement locus used in the beautification region to be beautified to beautify operation information;
Graphic operation indicating member is repaiied, waits to beautify to described according to the brush model and brush movement locus of recommendation for instruction user
Region is beautified.
9. terminal as claimed in claim 8, it is characterised in that the figure unit of repairing also includes:
Pressing dynamics detection unit, for detect user perform beautification operation when, finger tip on the region to be beautified by
Surging;
Beautify intensity control unit, the intensity for the region to be beautified according to pressing dynamics control beautification.
10. terminal as claimed in claim 9, it is characterised in that also include:
Sample Data Collection unit, for recording this operation information for repairing user during figure, and by the operation of the user
Information is stored into the sample database after being associated with the picture foundation after beautification as sample data, wherein, the user
Operation information include user's used brush model and brush movement locus when beautifying each position of face face.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710273033.7A CN107169920A (en) | 2017-04-24 | 2017-04-24 | A kind of intelligence repaiies drawing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710273033.7A CN107169920A (en) | 2017-04-24 | 2017-04-24 | A kind of intelligence repaiies drawing method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107169920A true CN107169920A (en) | 2017-09-15 |
Family
ID=59813346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710273033.7A Withdrawn CN107169920A (en) | 2017-04-24 | 2017-04-24 | A kind of intelligence repaiies drawing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107169920A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107730449A (en) * | 2017-11-07 | 2018-02-23 | 深圳市云之梦科技有限公司 | A kind of method and system of human face five-sense-organ landscaping treatment |
CN107945135A (en) * | 2017-11-30 | 2018-04-20 | 广东欧珀移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN108447026A (en) * | 2018-01-31 | 2018-08-24 | 上海思愚智能科技有限公司 | Acquisition methods, terminal and the computer readable storage medium of U.S. face parameter attribute value |
CN108564541A (en) * | 2018-03-28 | 2018-09-21 | 麒麟合盛网络技术股份有限公司 | A kind of image processing method and device |
CN108986051A (en) * | 2018-07-23 | 2018-12-11 | 刘素青 | Cheek Xiu Tu mechanism based on face detection |
CN109865283A (en) * | 2019-03-05 | 2019-06-11 | 网易(杭州)网络有限公司 | Virtual role face method of adjustment, device, electronic equipment and medium in game |
CN110335207A (en) * | 2019-06-04 | 2019-10-15 | 苏州浩哥文化传播有限公司 | A kind of intelligent imaging optimization method and its system based on images of a group of characters selection |
CN111797754A (en) * | 2020-06-30 | 2020-10-20 | 上海掌门科技有限公司 | Image detection method, device, electronic equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105096241A (en) * | 2015-07-28 | 2015-11-25 | 努比亚技术有限公司 | Face image beautifying device and method |
CN105118019A (en) * | 2015-09-11 | 2015-12-02 | 广东欧珀移动通信有限公司 | Image processing method and user terminal |
CN105139357A (en) * | 2015-08-26 | 2015-12-09 | 深圳市金立通信设备有限公司 | Image editing method and terminal |
CN105303523A (en) * | 2014-12-01 | 2016-02-03 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
CN106503606A (en) * | 2015-09-08 | 2017-03-15 | 宏达国际电子股份有限公司 | Face image adjustment system and face image method of adjustment |
-
2017
- 2017-04-24 CN CN201710273033.7A patent/CN107169920A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105303523A (en) * | 2014-12-01 | 2016-02-03 | 维沃移动通信有限公司 | Image processing method and mobile terminal |
CN105096241A (en) * | 2015-07-28 | 2015-11-25 | 努比亚技术有限公司 | Face image beautifying device and method |
CN105139357A (en) * | 2015-08-26 | 2015-12-09 | 深圳市金立通信设备有限公司 | Image editing method and terminal |
CN106503606A (en) * | 2015-09-08 | 2017-03-15 | 宏达国际电子股份有限公司 | Face image adjustment system and face image method of adjustment |
CN105118019A (en) * | 2015-09-11 | 2015-12-02 | 广东欧珀移动通信有限公司 | Image processing method and user terminal |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107730449A (en) * | 2017-11-07 | 2018-02-23 | 深圳市云之梦科技有限公司 | A kind of method and system of human face five-sense-organ landscaping treatment |
CN107730449B (en) * | 2017-11-07 | 2021-12-14 | 深圳市云之梦科技有限公司 | Method and system for beautifying facial features |
CN107945135A (en) * | 2017-11-30 | 2018-04-20 | 广东欧珀移动通信有限公司 | Image processing method, device, storage medium and electronic equipment |
CN107945135B (en) * | 2017-11-30 | 2021-03-02 | Oppo广东移动通信有限公司 | Image processing method, image processing apparatus, storage medium, and electronic device |
CN108447026A (en) * | 2018-01-31 | 2018-08-24 | 上海思愚智能科技有限公司 | Acquisition methods, terminal and the computer readable storage medium of U.S. face parameter attribute value |
CN108564541A (en) * | 2018-03-28 | 2018-09-21 | 麒麟合盛网络技术股份有限公司 | A kind of image processing method and device |
CN108564541B (en) * | 2018-03-28 | 2022-04-15 | 麒麟合盛网络技术股份有限公司 | Image processing method and device |
CN108986051A (en) * | 2018-07-23 | 2018-12-11 | 刘素青 | Cheek Xiu Tu mechanism based on face detection |
CN109865283A (en) * | 2019-03-05 | 2019-06-11 | 网易(杭州)网络有限公司 | Virtual role face method of adjustment, device, electronic equipment and medium in game |
CN110335207A (en) * | 2019-06-04 | 2019-10-15 | 苏州浩哥文化传播有限公司 | A kind of intelligent imaging optimization method and its system based on images of a group of characters selection |
CN110335207B (en) * | 2019-06-04 | 2022-01-21 | 重庆七腾科技有限公司 | Intelligent image optimization method and system based on group image selection |
CN111797754A (en) * | 2020-06-30 | 2020-10-20 | 上海掌门科技有限公司 | Image detection method, device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107169920A (en) | A kind of intelligence repaiies drawing method and terminal | |
US11227599B2 (en) | Methods and user interfaces for voice-based control of electronic devices | |
JP7297940B2 (en) | Multimodal activity tracking user interface | |
CN103218148B (en) | For configuration and the affined device for interacting of user interface, method and graphical user interface | |
EP4068078A1 (en) | Continuous dialog with a digital assistant | |
CN104903834B (en) | For equipment, method and the graphic user interface in touch input to transition between display output relation | |
US20170357716A1 (en) | Data driven natural language event detection and classification | |
CN110109592A (en) | Head portrait creation and editor | |
CN106843711A (en) | The apparatus and method of touch input are processed for the intensity based on touch input | |
CN108369574A (en) | Smart machine identifies | |
WO2017204843A1 (en) | Unit-selection text-to-speech synthesis based on predicted concatenation parameters | |
CN111653265B (en) | Speech synthesis method, device, storage medium and electronic equipment | |
CN108351750A (en) | Equipment, method and graphic user interface for handling strength information associated with touch input | |
CN108089727A (en) | For the touch keypad of screen | |
CN107257951A (en) | For being interacted with control object while dragging equipment, method and the graphic user interface of another pair elephant | |
CN110058775A (en) | Display and update application view group | |
EP4089685A1 (en) | Digital assistant for health requests | |
CN102566740A (en) | Electronic device with emotion recognition function, and output control method of such electronic device | |
EP3593346B1 (en) | Graphical data selection and presentation of digital content | |
CN106651338A (en) | Method for payment processing and terminal | |
CN107193571A (en) | Method, mobile terminal and storage medium that interface is pushed | |
CN107908349A (en) | Display interface amplification method, terminal and computer-readable recording medium | |
CN104317392B (en) | A kind of information control method and electronic equipment | |
CN107329760A (en) | Information cuing method, device, terminal and storage medium | |
CN107145221A (en) | A kind of information processing method and electronic equipment |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170915 |