CN107369126A - A kind of face image processing process and device - Google Patents

A kind of face image processing process and device Download PDF

Info

Publication number
CN107369126A
CN107369126A CN201710424035.1A CN201710424035A CN107369126A CN 107369126 A CN107369126 A CN 107369126A CN 201710424035 A CN201710424035 A CN 201710424035A CN 107369126 A CN107369126 A CN 107369126A
Authority
CN
China
Prior art keywords
facial image
image
processing
facial
processing mode
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
CN201710424035.1A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710424035.1A priority Critical patent/CN107369126A/en
Publication of CN107369126A publication Critical patent/CN107369126A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-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)
  • Image Processing (AREA)

Abstract

The invention provides a kind of face image processing process and device.Methods described includes:Identify at least one first facial image in preview interface;Judge whether first facial image matches with the second facial image to prestore;If matching, image procossing is carried out to first facial image according to the first processing mode that second facial image is set.By the embodiment of the present invention, mobile terminal can realize the image procossing that customization is provided for different user's requests.Further, due to the face characteristic information that have recorded multiple users and corresponding customized treatment, the photo for making owner all satisfied is taken when more people are in step with.

Description

A kind of face image processing process and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of face image processing process and device.
Background technology
Present U.S. face has turned into the standard configuration function of major mobile terminal manufacturer, is applied also increasingly using the U.S. face in shop More, not only women, many males also begin to fall in love with self-timer.
U.S. face effect is all general not handled for different being customized of user at this stage, and by a large amount of Pay a return visit user and find that many users wish to retain the characteristic point that oneself face does not affect the appearance and has identification, such as dispel mole when be Except the mole of full face, it can not accomplish that part mole member-retaining portion mole removes.
The content of the invention
The embodiment of the present invention provides a kind of face image processing process and device, and user's progress can not be directed to solve U.S. face The problem of customized treatment.
One side according to the embodiment of the present invention, there is provided a kind of face image processing process, methods described include:
Identify at least one first facial image in preview interface;
Judge whether first facial image matches with the second facial image to prestore;
If matching, figure is carried out to first facial image according to the first processing mode that second facial image is set As processing.
Another aspect according to the embodiment of the present invention, there is provided a kind of face image processing device, described device include:
Facial image identification module, for identifying at least one first facial image in preview interface;
Facial image judge module, for judge first facial image and the second facial image for prestoring whether Match somebody with somebody;
First facial image processing module, if for matching, according to the first processing side of second facial image setting Formula carries out image procossing to first facial image.
Another aspect according to the embodiment of the present invention, there is provided a kind of mobile terminal, including:
Processor and memory;
The memory is used to store the program for performing above-mentioned face image processing process;
The processor is configurable for performing the program stored in the memory.
According to the embodiment of the present invention, mobile terminal identifies at least one first facial image in preview interface;Judge Whether one facial image matches with the second facial image to prestore;If matching, according to the first processing of the second facial image setting Mode carries out image procossing to the first facial image.By the embodiment of the present invention, mobile terminal can be realized for different use Family demand provides customization image procossing.Further, due to the face characteristic information that have recorded multiple users and corresponding customization Image procossing, the photo for making owner all satisfied can be taken when more people are in step with.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of face image processing process of the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of face image processing process of the embodiment of the present invention two;
Fig. 3 is a kind of one of block diagram of face image processing device of the embodiment of the present invention three;
Fig. 4 is the two of the block diagram of a kind of face image processing device of the embodiment of the present invention three;
Fig. 5 is the block diagram of the mobile terminal of the embodiment of the present invention four;
Fig. 6 is the structural representation of the mobile terminal of the embodiment of the present invention five.
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 describes, it is clear that described embodiment is part of the embodiment of the present 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.
Embodiment one
A kind of face image processing process provided in an embodiment of the present invention is discussed in detail.
Reference picture 1, shows a kind of face image processing process in the embodiment of the present invention, and methods described includes:
Step 101, at least one first facial image in preview interface is identified.
In the present embodiment, mobile terminal gathers one or more facial images by camera, and enters in preview interface Row displaying, then identify a facial image or multiple facial images in preview interface.Specifically, from one in preview interface The sign data of user corresponding to facial image is extracted in individual or multiple facial images, for follow-up judgment step.For example, move Dynamic terminal collection user X facial image, and be shown in preview interface, extraction is to application from user X facial image Family X sign data, such as iris data.
Step 102, judge whether first facial image matches with the second facial image to prestore.
Can prestore multiple second facial images in the present embodiment, in mobile terminal, judge what is identified from preview interface Whether the first facial image matches with the second facial image to prestore.Specifically, by the first facial image and prestore multiple the Two facial images are compared one by one, so that it is determined that whether there is and the first facial image phase in the second facial image to prestore The facial image matched somebody with somebody.For example, identify the first facial image A, mobile terminal prestores second facial image B, C, D, by A and B, C, D is compared one by one, judges whether A matches with B, C, D.
Step 103, if matching, the first processing mode set according to second facial image is to the first face figure As carrying out image procossing.
In the present embodiment, corresponding processing mode, i.e. pin are set for the second facial image to prestore in mobile terminal Customization image procossing is provided user corresponding to the second facial image.Judge the first facial image and the second facial image to prestore Matching, then image procossing is carried out to the first facial image according to the first processing mode that the second facial image is set.Mobile terminal In can prestore multiple second facial images, can set different processing modes for each second facial image.For example, move Prestore second facial image B, C, D in dynamic terminal, and the processing mode for B is whitening, and the processing mode for C is mole, pin Processing mode to D is thin face, judges that the first facial image A matches with the second facial image B, then the first facial image A is adopted Image procossing is carried out with the processing mode for B, i.e., whitening processing is carried out to the first facial image A.The embodiment of the present invention is to each The processing mode of individual second facial image setting does not limit in detail, can be configured according to actual conditions.
In summary, in the embodiment of the present invention, at least one first facial image in mobile terminal identification preview interface; Judge whether the first facial image matches with the second facial image to prestore;If matching, set according to the second facial image First processing mode carries out image procossing to the first facial image.By the embodiment of the present invention, mobile terminal can be realized and is directed to Different user's requests provides customization image procossing.
Embodiment two
Reference picture 2, show a kind of flow chart of face image processing process in another embodiment of the present invention.It is described Method includes:
Step 201, at least one first facial image in preview interface is identified.
Step 202, the processing region that user selects in current face's image is received.
In the present embodiment, customization image procossing is provided for different users, receives user first in current face's image The processing region of selection.For example, receive the mole of the canthus selected in current face's image, the bridge of the nose, ad-hoc location etc..The present invention Embodiment does not limit the processing region of selection in detail, can be selected according to actual conditions.
Step 203, the processing mode that user chooses to each processing region is received.
In the present embodiment, complete selection processing region the step of after, different processing can be chosen to each processing region Mode.Preferably, the processing mode that the user chooses is at least one of light including retaining, removing, subtracting.For example, it is directed to eye Angular zone chooses the processing mode removed, so as to remove crow's foot;Chosen for nasal bridge region and subtract light processing mode, so as to Desalinate the spot on the bridge of the nose;The processing mode retained is chosen for the mole of ad-hoc location, so as to remove the mole of other positions, is retained special Position the mole put.The embodiment of the present invention does not limit processing mode in detail, can be configured according to actual conditions.
Step 204, current face's image is stored as second facial image, and the corresponding storage treatment region Processing mode corresponding to domain and the processing region.
In the present embodiment, processing region is selected, and after choosing corresponding processing mode for each processing region, will be current Facial image be stored as the second facial image, and by processing mode corresponding to the processing region of selection and each processing region Storage corresponding with the second facial image.For example, current face's image is stored as the second facial image B, by the canthus of selection, nose Beam, and processing mode corresponding to processing mode removal corresponding to canthus and the bridge of the nose subtract light storage corresponding with the second facial image B.
Step 205, judge whether first facial image matches with the second facial image to prestore.
In the present embodiment, judge whether the first facial image matches with the second facial image to prestore and there can be a variety of sides Formula, it is preferable that whether the sign data for comparing first facial image is consistent with the sign data of second facial image. Specifically, the sign data that the first facial image is extracted during the first facial image, such as iris data are identified;Store the second face During image, the sign data of the second facial image is stored.When judging whether the first facial image matches with the second facial image, Whether the sign data for comparing the first facial image is consistent with the sign data of the second facial image.For example, compare the first face Whether image A iris data is consistent with the second facial image B iris data.The embodiment of the present invention is not made in detail to sign data It is thin to limit, it can be configured according to actual conditions.
There can be first facial image in preview interface, it is possibility to have multiple first facial images.If preview There are multiple first facial images in interface, judge whether each first facial image matches with the second facial image to prestore.Tool Body, each first facial image is compared one by one with multiple second facial images to prestore.For example, identification preview interface In multiple first facial images be respectively M, N, O, P, the second facial image to prestore is respectively B, C, D, judges that M is with B, C, D No matching, judges whether N matches with B, C, D.If M matches with B, judge whether N matches with C, D.
Step 206, if matching, the first processing mode set according to second facial image is to the first face figure As carrying out image procossing.
In the present embodiment, it is preferable that if multiple first facial images in the preview interface are multiple with prestoring Second facial image matches, then the institute according to corresponding to second facial image that each first facial image matches The first processing mode is stated, image procossing is carried out to each first facial image.Specifically, when multiple first facial images are equal When the second matching facial image be present, to each first facial image using place corresponding to the second facial image of matching Reason mode is handled.For example, multiple first facial images are respectively M, N, O, P in identification preview interface, judge M, N respectively with Second facial image B, C matchings to prestore, then the processing mode of the second facial image B settings is used for the first facial image M Image procossing is carried out, image procossing is carried out using the processing mode of the second facial image C settings for the first facial image N, can See, M and N realizes the image procossing of customization in first facial image M, N, O, P.
Step 207, if mismatching, image procossing is carried out to first facial image according to second processing mode.
In the present embodiment, if in the second facial image that mobile terminal prestores, do not match with the first facial image Image, then using second processing mode in mobile terminal to the first facial image carry out image procossing, second processing mode can Be mobile terminal acquiescence a kind of processing mode, the facial image suitable for not being customized image procossing.It is for example, mobile whole Second processing mode in end is the whitening of mobile terminal acquiescence and grinds skin processing, and M and N is deposited in first facial image M, N, O, P In the second facial image of matching, customization image procossing is carried out M and N;And the first facial image O and P is not present the of matching Two facial images, then using general whitening and the processing mode of skin is ground to O and P.
In summary, the embodiment of the present invention, mobile terminal identify at least one first facial image in preview interface;Connect Receive selection processing region and for each processing region choose processing mode and stored;Judge the first facial image Whether matched with the second facial image to prestore;If matching, the first processing mode set according to the second facial image is to first Facial image carries out image procossing.By the embodiment of the present invention, mobile terminal can be realized for different user's request offers Processing mode corresponding to different processing regions and each processing region, i.e., be customized processing to image according to user's request.Enter One step, due to the face characteristic information that have recorded multiple users and corresponding customized treatment, can be taken when more people are in step with Allow all satisfied photo of owner.
It should be noted that for foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know, Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
Embodiment three
Reference picture 3, a kind of block diagram of face image processing device in the embodiment of the present invention is shown,
A kind of face image processing device provided in an embodiment of the present invention is discussed in detail, embodiment one can be realized to embodiment The details of face image processing process in two, and reach identical effect.Described device include facial image identification module 301, Facial image judge module 302, the first facial image processing module 303:
Facial image identification module 301, for identifying at least one first facial image in preview interface;
Facial image judge module 302, for judging whether are first facial image and the second facial image for prestoring Matching;
First facial image processing module 303, if for matching, according to the first processing of second facial image setting Mode carries out image procossing to first facial image.
On the basis of Fig. 3, alternatively, described device also includes the second face image processing module 304, sees Fig. 4:
Second face image processing module 304, if for mismatching, according to second processing mode to the first face figure As carrying out image procossing.
On the basis of Fig. 3, alternatively, before the facial image judge module 302, described device also includes:
Processing region receiving module 305, the processing region selected for receiving user in current face's image;
Processing mode receiving module 306, the processing mode chosen for receiving user to each processing region;
Facial image memory module 307, for current face's image to be stored as into second facial image, and it is right Processing mode corresponding to the processing region and the processing region should be stored.
On the basis of Fig. 3, alternatively, the facial image judge module 302, specifically for comparing first face Whether the sign data of image is consistent with the sign data of second facial image.
On the basis of Fig. 3, alternatively, the first face processing module 303, if specifically in the preview interface Multiple first facial images matched with multiple second facial images to prestore, then according to each first face First processing mode corresponding to second facial image of images match, figure is carried out to each first facial image As processing.
In summary, in the embodiment of the present invention, at least one first facial image in mobile terminal identification preview interface; Receive selection processing region and for each processing region choose processing mode and stored;Judge the first face figure As whether being matched with the second facial image to prestore;If matching, according to the first processing mode that the second facial image is set to the One facial image carries out image procossing.By the embodiment of the present invention, mobile terminal can be realized to be carried for different user's requests For processing mode corresponding to different processing regions and each processing region, i.e., processing is customized to image according to user's request. Further, due to the face characteristic information that have recorded multiple users and corresponding customized treatment, can be clapped when more people are in step with Sell all satisfied photo of owner.
Example IV
The embodiments of the invention provide a kind of mobile terminal, including:Processor and memory;
The memory is used to store the face image processing side described in perform claim requirement embodiment one to embodiment two The program of method;
The processor is configurable for performing the program stored in the memory.
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in Fig. 5 includes:At least One processor 501, memory 502, at least one network interface 504 and user interface 503.It is each in mobile terminal 500 Component is coupled by bus system 505.It is understood that bus system 505 is used to realize that the connection between these components is led to Letter.Bus system 505 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But it is For the sake of clear explanation, in Figure 5 various buses are all designated as bus system 505.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In these memories with any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 5022, include various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application The program stored in program 5022 or instruction, processor 501 are used to identify at least one first facial image in preview interface; Judge whether first facial image matches with the second facial image to prestore;If matching, according to second facial image First processing mode of setting carries out image procossing to first facial image.
The method that the embodiments of the present invention disclose can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammable GateArray, FPGA) either other PLDs, discrete gate or transistor logic Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only storage can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, register.The storage Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed with reference to its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for performing herein described function In member or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can To realize within a processor or outside processor.
Alternatively, the processor 501 is additionally operable to:If mismatch, according to second processing mode to the first face figure As carrying out image procossing.
Alternatively, the processor 501 is additionally operable to:Receive the processing region that user selects in current face's image;Connect Receive the processing mode that user chooses to each processing region;Current face's image is stored as the second face figure Picture, and processing mode corresponding to the corresponding storage processing region and the processing region.
Alternatively, the processor 501 is additionally operable to:Compare the sign data of first facial image and second people Whether the sign data of face image is consistent.
Alternatively, the processor 501 is additionally operable to:If multiple first facial images in the preview interface with it is pre- The multiple second facial image matchings deposited, then second facial image matched according to each first facial image Corresponding first processing mode, image procossing is carried out to each first facial image.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.In the embodiment of the present invention, at least one first facial image in mobile terminal identification preview interface;Receive selection Processing region and for each processing region choose processing mode and stored;Judge the first facial image with prestoring The second facial image whether match;If matching, the first processing mode set according to the second facial image is to the first face figure As carrying out image procossing.By the embodiment of the present invention, mobile terminal can be realized different for different user's request offers Processing mode corresponding to processing region and each processing region, i.e., be customized processing to image according to user's request.Further, Due to the face characteristic information that have recorded multiple users and corresponding customized treatment, it can take allowing owner when more people are in step with All satisfied photos.
Embodiment five
Fig. 6 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 Can be mobile phone, tablet personal computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 610, memory 620, input block 630th, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 and power supply 690.
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 630 can be with Including contact panel 631.Contact panel 631, collecting touch operation of the user on or near it, (for example user uses hand The operation of any suitable object such as finger, stylus or annex on contact panel 631), and driven according to formula set in advance Corresponding attachment means.Optionally, contact panel 631 may include both touch detecting apparatus and touch controller.Wherein, Touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch control Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 660, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with And the polytype such as surface acoustic wave realizes contact panel 631.Except contact panel 631, input block 630 can also include other Input equipment 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 640 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission The forms such as diode (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.Touch display screen includes application program Interface display area and conventional control viewing area.The arrangement mode of the Application Program Interface viewing area and the conventional control viewing area is simultaneously Do not limit, can be arranged above and below, left-right situs etc. can distinguish the arrangement modes of two viewing areas.The Application Program Interface shows Show that area is displayed for the interface of application program.Each interface can include at least one application program icon and/or The interface elements such as widget desktop controls.The Application Program Interface viewing area can also be the empty interface not comprising any content. The conventional control viewing area is used to show the higher control of utilization rate, for example, settings button, interface numbering, scroll bar, phone directory Application icons such as icon etc..
Wherein processor 660 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone Individual part, by running or performing the software program and/or module that are stored in first memory 621, and call and be stored in Data in second memory 622, the various functions and processing data of mobile terminal are performed, it is overall so as to be carried out to mobile terminal Monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 are used to identify at least one first facial image in preview interface; Judge whether first facial image matches with the second facial image to prestore;If matching, according to second facial image First processing mode of setting carries out image procossing to first facial image.
Alternatively, the processor 660 is additionally operable to:If mismatch, according to second processing mode to the first face figure As carrying out image procossing.
Alternatively, the processor 660 is additionally operable to:Receive the processing region that user selects in current face's image;Connect Receive the processing mode that user chooses to each processing region;Current face's image is stored as the second face figure Picture, and processing mode corresponding to the corresponding storage processing region and the processing region.
Alternatively, the processor 660 is additionally operable to:Compare the sign data of first facial image and second people Whether the sign data of face image is consistent.
Alternatively, the processor 660 is additionally operable to:If multiple first facial images in the preview interface with it is pre- The multiple second facial image matchings deposited, then second facial image matched according to each first facial image Corresponding first processing mode, image procossing is carried out to each first facial image.
It can be seen that in the embodiment of the present invention, at least one first facial image in mobile terminal identification preview interface;Receive The processing region of selection and the processing mode chosen for each processing region are simultaneously stored;Judge the first facial image with Whether the second facial image to prestore matches;If matching, the first processing mode set according to the second facial image is to the first Face image carries out image procossing.By the embodiment of the present invention, mobile terminal can be realized to be provided not for different user's requests Processing mode corresponding to same processing region and each processing region, i.e., be customized processing to image according to user's request.Enter one Step, due to the face characteristic information that have recorded multiple users and corresponding customized treatment, it can take and allow when more people are in step with The all satisfied photo of owner.
For the embodiment of above-mentioned mobile terminal, because it is substantially similar to embodiment of the method, so the ratio of description Relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It would have readily occurred to a person skilled in the art that be:Any combination application of above-mentioned each embodiment is all feasible, therefore Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
Face image processing scheme is not intrinsic with any certain computer, virtual system or miscellaneous equipment provided herein It is related.Various general-purpose systems can also be used together with teaching based on this.As described above, construction has the present invention Structure required by the system of scheme is obvious.In addition, the present invention is not also directed to any certain programmed language.Should be bright In vain, various programming languages can be utilized to realize the content of invention described herein, and that is done above to language-specific retouches State is to disclose the preferred forms of the present invention.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the embodiment, wherein the conduct of each claim in itself The separate embodiments of the present invention.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show 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 the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, face image processing technical scheme of the invention The part substantially to be contributed in other words to prior art or the part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with The medium of store program codes.
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, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (11)

1. a kind of face image processing process, it is characterised in that methods described includes:
Identify at least one first facial image in preview interface;
Judge whether first facial image matches with the second facial image to prestore;
If matching, first facial image is carried out at image according to the first processing mode that second facial image is set Reason.
2. according to the method for claim 1, it is characterised in that methods described also includes:
If mismatching, image procossing is carried out to first facial image according to second processing mode.
3. according to the method for claim 1, it is characterised in that it is described judge first facial image and prestore the Before whether two facial images match, methods described also includes:
Receive the processing region that user selects in current face's image;
Receive the processing mode that user chooses to each processing region;
Current face's image is stored as second facial image, and the corresponding storage processing region and the place Manage processing mode corresponding to region.
4. according to the method for claim 1, it is characterised in that judgement first facial image and prestore second Whether facial image matches, including:
Whether the sign data for comparing first facial image is consistent with the sign data of second facial image.
5. according to the method for claim 1, it is characterised in that if the matching, set according to second facial image The first processing mode to first facial image carry out image procossing include:
If multiple first facial images in the preview interface match with multiple second facial images to prestore, First processing mode corresponding to second facial image matched according to each first facial image, to each institute State the first facial image and carry out image procossing.
6. a kind of face image processing device, it is characterised in that described device includes:
Facial image identification module, for identifying at least one first facial image in preview interface;
Facial image judge module, for judging whether first facial image matches with the second facial image to prestore;
First facial image processing module, if for matching, according to the first processing mode pair of second facial image setting First facial image carries out image procossing.
7. device according to claim 6, it is characterised in that described device also includes:
Second face image processing module, if for mismatching, first facial image is carried out according to second processing mode Image procossing.
8. device according to claim 6, it is characterised in that before the facial image judge module, described device Also include:
Processing region receiving module, the processing region selected for receiving user in current face's image;
Processing mode receiving module, the processing mode chosen for receiving user to each processing region;
Facial image memory module, for current face's image to be stored as into second facial image, and corresponding storage Processing mode corresponding to the processing region and the processing region.
9. device according to claim 6, it is characterised in that
The facial image judge module, specifically for the sign data for comparing first facial image and second face Whether the sign data of image is consistent.
10. device according to claim 6, it is characterised in that
The first face processing module, if specifically for multiple first facial images in the preview interface with prestoring Multiple second facial images matchings, then second facial image pair matched according to each first facial image First processing mode answered, image procossing is carried out to each first facial image.
A kind of 11. mobile terminal, it is characterised in that including:
Processor and memory;
The memory is used to store the face image processing process any one of perform claim requirement 1 to claim 5 Program;
The processor is configurable for performing the program stored in the memory.
CN201710424035.1A 2017-06-07 2017-06-07 A kind of face image processing process and device Pending CN107369126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710424035.1A CN107369126A (en) 2017-06-07 2017-06-07 A kind of face image processing process and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710424035.1A CN107369126A (en) 2017-06-07 2017-06-07 A kind of face image processing process and device

Publications (1)

Publication Number Publication Date
CN107369126A true CN107369126A (en) 2017-11-21

Family

ID=60305313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710424035.1A Pending CN107369126A (en) 2017-06-07 2017-06-07 A kind of face image processing process and device

Country Status (1)

Country Link
CN (1) CN107369126A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359508A (en) * 2018-08-27 2019-02-19 贵阳朗玛信息技术股份有限公司 A kind of head portrait processing method and processing device
CN112052806A (en) * 2020-09-10 2020-12-08 广州繁星互娱信息科技有限公司 Image processing method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103413270A (en) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 Method and device for image processing and terminal device
CN103885706A (en) * 2014-02-10 2014-06-25 广东欧珀移动通信有限公司 Method and device for beautifying face images
CN104715236A (en) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 Face beautifying photographing method and device
CN105872252A (en) * 2016-05-30 2016-08-17 珠海市魅族科技有限公司 Image processing method and device
CN106210521A (en) * 2016-07-15 2016-12-07 深圳市金立通信设备有限公司 A kind of photographic method and terminal
CN106412458A (en) * 2015-07-31 2017-02-15 中兴通讯股份有限公司 Image processing method and apparatus
CN106791394A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 Image processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103413270A (en) * 2013-08-15 2013-11-27 北京小米科技有限责任公司 Method and device for image processing and terminal device
CN103885706A (en) * 2014-02-10 2014-06-25 广东欧珀移动通信有限公司 Method and device for beautifying face images
CN104715236A (en) * 2015-03-06 2015-06-17 广东欧珀移动通信有限公司 Face beautifying photographing method and device
CN106412458A (en) * 2015-07-31 2017-02-15 中兴通讯股份有限公司 Image processing method and apparatus
CN105872252A (en) * 2016-05-30 2016-08-17 珠海市魅族科技有限公司 Image processing method and device
CN106210521A (en) * 2016-07-15 2016-12-07 深圳市金立通信设备有限公司 A kind of photographic method and terminal
CN106791394A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 Image processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359508A (en) * 2018-08-27 2019-02-19 贵阳朗玛信息技术股份有限公司 A kind of head portrait processing method and processing device
CN112052806A (en) * 2020-09-10 2020-12-08 广州繁星互娱信息科技有限公司 Image processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106326710B (en) A kind of quickly starting payment interface method and mobile terminal
CN106681623B (en) A kind of sharing method and mobile terminal of screenshotss image
CN107145348B (en) A kind of application program split screen processing method and mobile terminal
CN107368150A (en) A kind of photographic method and mobile terminal
CN106406656B (en) A kind of control method and mobile terminal of application tool bar
CN107103304A (en) The display methods and mobile terminal in a kind of fingerprint recognition region
CN106648382B (en) A kind of picture browsing method and mobile terminal
CN106020613A (en) Operation method and mobile terminal for unread messages
CN106447324A (en) Presentation method of payment methods and mobile terminal
CN106408290A (en) Payment interface start method and mobile terminal
CN106325753B (en) A kind of display methods and mobile terminal of payment interface
CN105867830B (en) A kind of processing method and mobile terminal based on fingerprint recognition
CN106354303B (en) A kind of photographic method and mobile terminal of mobile terminal
CN107643912A (en) A kind of information sharing method and mobile terminal
CN107172346A (en) A kind of weakening method and mobile terminal
CN107193482A (en) The operating method and mobile terminal of a kind of mobile terminal screen
CN106355395A (en) Payment method and mobile terminal
CN106339436A (en) Picture-based shopping method and mobile terminal
CN106125884B (en) A kind of processing method and mobile terminal of the background task of mobile terminal
CN107665434A (en) A kind of method of payment and mobile terminal
CN106354373A (en) Icon moving method and mobile terminal
CN106886894A (en) One kind pays strategy and suggestion method and mobile terminal
CN107959789A (en) A kind of image processing method and mobile terminal
CN107450799A (en) The display methods and mobile terminal of a kind of message
CN106874046A (en) The operating method and mobile terminal of a kind of application program

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171121