CN107592457A - A kind of U.S. face method and mobile terminal - Google Patents

A kind of U.S. face method and mobile terminal Download PDF

Info

Publication number
CN107592457A
CN107592457A CN201710831063.5A CN201710831063A CN107592457A CN 107592457 A CN107592457 A CN 107592457A CN 201710831063 A CN201710831063 A CN 201710831063A CN 107592457 A CN107592457 A CN 107592457A
Authority
CN
China
Prior art keywords
face
target
parameter value
exposal model
face parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710831063.5A
Other languages
Chinese (zh)
Other versions
CN107592457B (en
Inventor
陶万林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710831063.5A priority Critical patent/CN107592457B/en
Publication of CN107592457A publication Critical patent/CN107592457A/en
Application granted granted Critical
Publication of CN107592457B publication Critical patent/CN107592457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

The present invention, which provides a kind of U.S. face method and mobile terminal, this method, to be included:Obtain preview image;Determine target exposal model;According to the target exposal model, target U.S. face parameter value is determined;U.S. face processing is carried out to the preview image according to target U.S. face parameter value.So, target U.S. face parameter value can be determined according to target exposal model, and U.S. face processing is carried out to preview image according to target U.S. face parameter value, made U.S. face effect more rich, improve Consumer's Experience.

Description

A kind of U.S. face method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of U.S. face method and mobile terminal.
Background technology
With the progress of science and technology, mobile terminal is increasingly popularized, and mobile terminal possessed function is increasingly Variation.For example, audio-frequency function, camera function, camera function and store function etc. all have become the indispensable work(of mobile terminal Energy.
For camera function, user can use U.S. face function when being taken pictures.Existing U.S. face function, it can adjust U.S. face parameter it is fewer, most U.S. face parameters all immobilize and can not adjusted, and cause the U.S. face under different scenes Effect is more or less the same, more dull.Therefore, in the prior art, U.S. face mode and U.S. face effect are relatively simple.
The content of the invention
The embodiment of the present invention provides a kind of U.S. face method and mobile terminal, to solve in the prior art, U.S. face mode and U.S. The problem of face effect is relatively simple.
In a first aspect, the embodiments of the invention provide a kind of U.S. face method, applied to mobile terminal, including:
Obtain preview image;
Determine target exposal model;
According to the target exposal model, target U.S. face parameter value is determined;
U.S. face processing is carried out to the preview image according to target U.S. face parameter value.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, including:
Acquisition module, for obtaining preview image;
First determining module, for determining target exposal model;
Second determining module, for according to the target exposal model, determining target U.S. face parameter value;
Processing module, for carrying out U.S. face processing to the preview image according to target U.S. face parameter value.
The third aspect, the embodiment of the present invention also provide a kind of mobile terminal, it is characterised in that including processor, memory And the U.S. face program that is stored on the memory and can run on the processor, the U.S. face program is by the processor The step of above-mentioned U.S. face method is realized during execution.
So, in the embodiment of the present invention, preview image is obtained;Determine target exposal model;Taken pictures mould according to the target Formula, determine target U.S. face parameter value;U.S. face processing is carried out to the preview image according to target U.S. face parameter value.So, Target U.S. face parameter value can be determined, and preview image is carried out according to target U.S. face parameter value according to target exposal model U.S. face processing, makes U.S. face effect more rich, improves Consumer's Experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of U.S. face method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the U.S. face method of another kind provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the U.S. face method of another kind provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 5 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 6 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 7 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
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.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of U.S. face method provided in an embodiment of the present invention, applied to mobile terminal.Such as Shown in Fig. 1, comprise the following steps:
Step 101, obtain preview image.
In a step 101, mobile terminal can prestore U.S. face parameter value corresponding to different exposal models.Target is taken pictures Pattern can be " happiness pattern ", " angry pattern " and " sad pattern " etc..Each exposal model all corresponds to one group of U.S.'s face Parameter, and the U.S. face parameter value of same U.S. face parameter can be different corresponding to different exposal models.U.S. face parameter can be with Including " brightness ", " contrast ", " color saturation ", " mill skin grade ", " thin face degree ", " bright eye " and " U.S. lip " etc..
The shooting effect figure that user can be checked under different exposal models, and then can choose whether to carry out U.S. face parameter value Modification.For example, the shooting effect figure that user can be checked under " happiness pattern ", can if user is unsatisfied with to shooting effect With U.S. face parameter value corresponding to manual modification " happiness pattern ".For example, heighten " brightness " grade or heighten " mill skin grade " etc. Deng.After U.S. face parameter value is modified corresponding to " happiness pattern ", mobile terminal can preserve amended " happiness mould U.S. face parameter value corresponding to formula ".If user is satisfied with to shooting effect, U.S. face parameter value can not be modified, it is mobile Terminal still preserves the U.S. face parameter value of acquiescence.
Mobile terminal can first obtain preview image, wherein, the preview image can include face image.
Step 102, determine target exposal model.
In a step 102, mobile terminal can determine target exposal model.Determining the mode of target exposal model can have Two kinds, to show at least one exposal model select, user can select and certainly one kind from these exposal models select The exposal model that oneself mood is consistent.Or mobile terminal can obtain the characteristic information of face image in preview image, root The expression of user is identified according to the characteristic information of face image, and then the mood of user is judged according to the expression identified, finally It is determined that the exposal model being consistent with the mood of user.
For example, multiple face pictures of crying can be obtained first, and the same characteristic features information in multiple face pictures of crying is extracted, and will carried The same characteristic features information of taking-up is as default characteristic information.Default characteristic information can include default face open amplitude information, Default tooth leakage degree information and default canthus fishtail line information etc..
The characteristic information for the face image that acquisition for mobile terminal arrives can include face and open amplitude information, tooth leakage journey Spend information and canthus fishtail line information.The face got can be opened amplitude information and open width with default face by mobile terminal And will compared with degree information is compared, degree information that the tooth got leaks outside leaks outside degree information with default tooth The canthus fishtail line information got is compared with default canthus fishtail line information.
If the face got opens the tooth that amplitude information matches, got with default face opening amplitude information The canthus fishtail line information and default canthus fish that leakage degree information matches and got with default tooth leakage degree information Tail line information match, the then characteristic information for the face image that can determine to get match with default characteristic information.Need Illustrate, characteristic information and the default characteristic information of the face image got match, that is, the face image got Characteristic information and the same characteristic features information match extracted in crying face picture from multiple.The expression that user can now be determined is Cry face, and then the mood of user and unhappy can be determined.
Step 103, according to the target exposal model, determine target U.S. face parameter value;
In step 103, mobile terminal can determine target U.S. face parameter value according to target exposal model.If for example, The target exposal model of determination is " happiness pattern ", then can extract target U.S. face parameter value corresponding to " happiness pattern ".And such as Fruit user did not carry out modification to U.S. face parameter value corresponding to target exposal model, then corresponding to the target exposal model extracted Target U.S. face parameter value is the U.S. face parameter value of acquiescence;If user was carried out to U.S. face parameter value corresponding to target exposal model Modification, then target U.S. face parameter value corresponding to the target exposal model extracted are by the amended U.S. face parameter value of user.
Step 104, U.S. face processing carried out to the preview image according to target U.S. face parameter value.
At step 104, can according to corresponding to the target exposal model of extraction target U.S. face parameter value to preview image Carry out U.S. face processing.
In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet personal computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
The U.S. face method of the embodiment of the present invention, applied to mobile terminal.Obtain preview image;Determine target exposal model; According to the target exposal model, target U.S. face parameter value is determined;According to target U.S. face parameter value to the preview image Carry out U.S. face processing.So, target U.S. face parameter value can be determined according to target exposal model, and according to target U.S. face ginseng Numerical value carries out U.S. face processing to preview image, makes U.S. face effect more rich, improves Consumer's Experience.
Referring to Fig. 2, Fig. 2 is the flow chart of the U.S. face method of another kind provided in an embodiment of the present invention, applied to mobile terminal. The difference of the present embodiment and previous embodiment is to illustrate determines that target is taken pictures according to the characteristic information of face image The mode of pattern.As shown in Fig. 2 comprise the following steps:
Step 201, pre-set target U.S. face parameter value corresponding to the target exposal model.
In step 201, mobile terminal can pre-set target U.S. face parameter value corresponding to target exposal model.It is mobile Terminal can prestore U.S. face parameter value corresponding to different exposal models.Target exposal model can be " happiness pattern ", " anger Anger pattern " and " sad pattern " etc..Each exposal model all corresponds to one group of U.S.'s face parameter, and different exposal models is corresponding The U.S. face parameter value of same U.S. face parameter can be different.U.S. face parameter can include " brightness ", " contrast ", " color Saturation degree ", " mill skin grade ", " thin face degree ", " bright eye " and " U.S. lip " etc..
The shooting effect figure that user can be checked under different exposal models, and then can choose whether to carry out U.S. face parameter value Modification.For example, the shooting effect figure that user can be checked under " angry pattern ", can if user is unsatisfied with to shooting effect With U.S. face parameter value corresponding to manual modification " angry pattern ".For example, reduce " brightness " grade or reduce " mill skin grade " etc. Deng.After U.S. face parameter value is modified corresponding to " angry pattern ", mobile terminal can preserve amended " angry mould U.S. face parameter value corresponding to formula ".If user is satisfied with to shooting effect, U.S. face parameter value can not be modified, it is mobile Terminal still preserves the U.S. face parameter value of acquiescence.
Step 202, the preview image include face image, obtain the feature of the preview image and the face image Information.
In step 202, mobile terminal can obtain the preview image comprising face image, and mobile terminal can obtain The characteristic information of face image.
Whether step 203, the characteristic information for judging the face image match with default characteristic information.
In step 203, mobile terminal may determine that whether the characteristic information of face image matches with default characteristic information. For example, mobile terminal can first obtain multiple smiling face's pictures, and extract the same characteristic features information in multiple smiling face's pictures, and will carry The same characteristic features information of taking-up is as default characteristic information.It should be noted that because default characteristic information is from multiple smiling faces The same characteristic features information extracted in picture, therefore exposal model corresponding to the default characteristic information can be pre-set as " height Emerging pattern ".Default characteristic information can include default face and open amplitude information, default tooth leakage degree information and default eye Angle crow's feet information etc..
The characteristic information for the face image that acquisition for mobile terminal arrives can include face and open amplitude information, tooth leakage journey Spend information and canthus fishtail line information.The face got can be opened amplitude information and open width with default face by mobile terminal And will compared with degree information is compared, degree information that the tooth got leaks outside leaks outside degree information with default tooth The canthus fishtail line information got is compared with default canthus fishtail line information.
If the characteristic information of step 204, the face image matches with the default characteristic information, it is determined that described pre- If target exposal model corresponding to characteristic information.
In step 204, if the face that gets open amplitude information and default face open amplitude information match, The canthus fishtail line information that the tooth leakage degree information got matches and got with default tooth leakage degree information With default canthus fishtail line information match, then the characteristic information and default characteristic information of face image got can be determined Match.Because exposal model corresponding to default characteristic information is " happiness pattern ", thus may determine that target exposal model is " happiness pattern ".
It should be noted that the characteristic information of the face image got matches with default characteristic information, that is, get Face image characteristic information and the same characteristic features information match that is extracted from multiple smiling face's pictures.It can now determine The expression of user is smiling face, and then can determine that the mood of user is happier.And now determine target exposal model for " happiness Target exposal model determined by pattern ", i.e. mobile terminal is consistent with the actual mood of user, therefore shoots the effect come It is more conform with actual conditions.
Step 205, according to the target exposal model, determine target U.S. face parameter value.
In step 205, it is determined that after target exposal model, target U.S. face can be determined according to target exposal model Parameter value.Such as, if it is determined that target exposal model be " happiness pattern ", then can extract target corresponding to " happiness pattern " U.S. face parameter value.And if user did not carry out modification to U.S. face parameter value corresponding to target exposal model, then the mesh extracted Target U.S. face parameter value corresponding to exposal model is marked as the U.S. face parameter value of acquiescence;If user is to corresponding to target exposal model U.S. face parameter value carried out modification, then target U.S. face parameter value corresponding to the target exposal model extracted is after user changes U.S. face parameter value.
Step 206, U.S. face processing carried out to the preview image according to target U.S. face parameter value.
In step 206, can according to corresponding to the target exposal model of extraction target U.S. face parameter value to preview image Carry out U.S. face processing.
The U.S. face method of the embodiment of the present invention, applied to mobile terminal.Target U.S. can be determined according to target exposal model Face parameter value, and U.S. face processing is carried out to preview image according to target U.S. face parameter value, make U.S. face effect more rich, improve and use Experience at family.Further, mobile terminal can obtain the characteristic information of face image, and according to the characteristic information of face image from Dynamic determination target exposal model, it is convenient and swift.
Referring to Fig. 3, Fig. 3 is the flow chart of the U.S. face method of another kind provided in an embodiment of the present invention, applied to mobile terminal. The present embodiment and the difference of previous embodiment are to illustrate the mode that user manually selects target exposal model.Such as figure Shown in 3, comprise the following steps:
Step 301, pre-set target U.S. face parameter value corresponding to the target exposal model.
In step 301, mobile terminal can pre-set target U.S. face parameter value corresponding to target exposal model.It is mobile Terminal can prestore U.S. face parameter value corresponding to different exposal models.Target exposal model can be " happiness pattern ", " anger Anger pattern " and " sad pattern " etc..Each exposal model all corresponds to one group of U.S.'s face parameter, and different exposal models is corresponding The U.S. face parameter value of same U.S. face parameter can be different.U.S. face parameter can include " brightness ", " contrast ", " color Saturation degree ", " mill skin grade ", " thin face degree ", " bright eye " and " U.S. lip " etc..
Optionally, it is described to pre-set target U.S. face parameter value corresponding to the target exposal model, including:
Obtain the U.S. face parameter value of acquiescence corresponding to the target exposal model;
Receive U.S. face parameter value adjustment operational order;
U.S. face parameter value is by institute according to corresponding to the U.S. face parameter value adjustment operational order by the target exposal model State the U.S. face parameter value of acquiescence and be adjusted to target U.S. face parameter value.
Mobile terminal can obtain the U.S. face parameter value of acquiescence corresponding to target exposal model, and now user can check target Shooting effect figure under exposal model.If user is unsatisfied with to shooting effect, mobile terminal can be operated.It is mobile whole End will receive U.S. face parameter value adjustment operational order, and then mobile terminal can adjust according to the U.S. face parameter value received U.S. face parameter value corresponding to target exposal model is adjusted to target U.S. face parameter value by operational order by giving tacit consent to U.S. face parameter value.It is right After U.S. face parameter value is modified corresponding to target exposal model, mobile terminal can preserve amended target exposal model Corresponding U.S. face parameter value.If user is satisfied with to shooting effect, U.S. face parameter value can not be modified, mobile terminal Still the U.S. face parameter value of acquiescence is preserved.
Step 302, obtain preview image.
In step 302, mobile terminal can obtain preview image, wherein, the preview image can include face image.
Step 303, the target bat selected from least one exposal model select according to the instruction of mood selection operation According to pattern.
In step 303, at least one exposal model to be selected can be shown on mobile terminals.User can be according to certainly Body needs to select the exposal model for meeting oneself actual mood from above-mentioned at least one exposal model to be selected.User can also Without the selection of exposal model, now mobile terminal can be given tacit consent to is carried out at U.S. face using common U.S. face mode to preview image Reason.
Mobile terminal can receive the instruction of mood selection operation, and then mobile terminal can instruct according to mood selection operation The selection target exposal model from above-mentioned at least one exposal model to be selected.
Step 304, according to the target exposal model, determine target U.S. face parameter value.
In step 304, mobile terminal can determine target U.S. face parameter value according to target exposal model.If for example, The target exposal model of selection is " happiness pattern ", then can extract target U.S. face parameter value corresponding to " happiness pattern ".And such as Fruit user did not carry out modification to U.S. face parameter value corresponding to target exposal model, then corresponding to the target exposal model extracted Target U.S. face parameter value is the U.S. face parameter value of acquiescence;If user was carried out to U.S. face parameter value corresponding to target exposal model Modification, then target U.S. face parameter value corresponding to the target exposal model extracted are by the amended U.S. face parameter value of user.
Step 305, U.S. face processing carried out to the preview image according to target U.S. face parameter value.
In step 305, mobile terminal can according to corresponding to the target exposal model of extraction target U.S. face parameter value pair Preview image carries out U.S. face processing.
The U.S. face method of the embodiment of the present invention, applied to mobile terminal.User can manually select mesh according to their needs Exposal model is marked, and then mobile terminal can extract target U.S. face parameter value corresponding to target exposal model, and according to target U.S. face parameter value carries out U.S. face processing to preview image, makes U.S. face effect more rich, improves Consumer's Experience.
Referring to Fig. 4, Fig. 4 is the structure chart for the mobile terminal that the present invention implements offer, as shown in figure 4, mobile terminal 400 wraps Acquisition module 401, the first determining module 402, the second determining module 403 and processing module 404 are included, wherein:
Acquisition module 401, for obtaining preview image;
First determining module 402, for determining target exposal model;
Second determining module 403, for according to the target exposal model, determining target U.S. face parameter value;
Processing module 404, for carrying out U.S. face processing to the preview image according to target U.S. face parameter value.
Optionally, as shown in figure 5, the mobile terminal also includes:
Setup module 405, for pre-setting target U.S. face parameter value corresponding to the target exposal model.
Optionally, as shown in fig. 6, the preview image includes face image, the acquisition module 401 is specifically used for obtaining The characteristic information of the preview image and the face image;
First determining module 402 includes:
Judging submodule 4021, for judging whether the characteristic information of the face image matches with default characteristic information;
Determination sub-module 4022, if the characteristic information for the face image matches with the default characteristic information, Then determine target exposal model corresponding to the default characteristic information.
Optionally, first determining module 402 is specifically used for:
The target exposal model is selected from least one exposal model to be selected according to the instruction of mood selection operation.
Optionally, as shown in fig. 7, the setup module 405 includes:
Acquisition submodule 4051, for obtaining the U.S. face parameter value of acquiescence corresponding to the target exposal model;
Receiving submodule 4052, for receiving U.S. face parameter value adjustment operational order;
Submodule 4053 is adjusted, for adjusting operational order by the target exposal model pair according to the U.S. face parameter value The U.S. face parameter value answered is adjusted to target U.S. face parameter value by the U.S. face parameter value of acquiescence.
Mobile terminal 400 can realize each process that mobile terminal is realized in Fig. 1 to Fig. 3 embodiment of the method, to keep away Exempt to repeat, repeat no more here.And mobile terminal 400 can realize the characteristic information for obtaining face image, and schemed according to face The characteristic information of picture automatically determines target exposal model, convenient and swift.Or user can manually select mesh according to their needs Mark exposal model.And then mobile terminal 400 can extract target U.S. face parameter value corresponding to target exposal model, and according to mesh Mark U.S. face parameter value and U.S. face processing is carried out to preview image, make U.S. face effect more rich.
Referring to Fig. 8, Fig. 8 is the structure chart for the mobile terminal that the present invention implements offer, as shown in figure 8, mobile terminal 800 wraps Include:At least one processor 801, memory 802, at least one network interface 804 and user interface 803 and it is stored in memory On 802 and the U.S. face program that can be run on processor 801, U.S. face program realize above-mentioned U.S. face side when being performed by processor 801 The step of method.Each component in mobile terminal 800 is coupled by bus system 805.It is understood that bus system 805 For realizing the connection communication between these components.Bus system 805 in addition to including data/address bus, in addition to power bus, Controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system in fig. 8 805。
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball (track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 802 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- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 802 of system and method described herein be intended to including but not limited to these and it is any its It is adapted to the memory of type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, 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 8022, include various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 802, specifically, can be application The program stored in program 8022 or instruction, U.S. face program can realize following steps when being performed by processor 801:
Obtain preview image;
Determine target exposal model;
According to the target exposal model, target U.S. face parameter value is determined;
U.S. face processing is carried out to the preview image according to target U.S. face parameter value.
The method that the embodiments of the present invention disclose can apply in processor 801, or be realized by processor 801. Processor 801 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 801 or the instruction of software form.Above-mentioned processing Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 802, processor 801 read the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or Realized outside processor.
Optionally, following steps can also be realized when U.S. face program is performed by processor 801:
Pre-set target U.S. face parameter value corresponding to the target exposal model.
Optionally, following steps can also be realized when U.S. face program is performed by processor 801:
The preview image includes face image, obtains the characteristic information of the preview image and the face image;
Judge whether the characteristic information of the face image matches with default characteristic information;
If the characteristic information of the face image matches with the default characteristic information, it is determined that the default feature letter Target exposal model corresponding to breath.
Optionally, following steps can also be realized when U.S. face program is performed by processor 801:
The target exposal model is selected from least one exposal model to be selected according to the instruction of mood selection operation.
Optionally, following steps can also be realized when U.S. face program is performed by processor 801:
Obtain the U.S. face parameter value of acquiescence corresponding to the target exposal model;
Receive U.S. face parameter value adjustment operational order;
U.S. face parameter value is by institute according to corresponding to the U.S. face parameter value adjustment operational order by the target exposal model State the U.S. face parameter value of acquiescence and be adjusted to target U.S. face parameter value.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.And mobile terminal 800 can realize the characteristic information for obtaining face image, and according to the characteristic information of face image Target exposal model is automatically determined, it is convenient and swift.Or user can manually select target exposal model according to their needs. And then mobile terminal 800 can extract target U.S. face parameter value corresponding to target exposal model, and according to target U.S. face parameter Value carries out U.S. face processing to preview image, makes U.S. face effect more rich.
The embodiment of the present invention also provides a kind of computer read/write memory medium, it is characterised in that described computer-readable Take and U.S. face program is stored with storage medium, the U.S. face program realizes the step of above-mentioned fingerprint U.S. face method when being executed by processor Suddenly.
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, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present 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 scheme of the embodiment of the present invention according to the actual needs Purpose.
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, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
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 1. U.S. face method, applied to mobile terminal, it is characterised in that including:
    Obtain preview image;
    Determine target exposal model;
    According to the target exposal model, target U.S. face parameter value is determined;
    U.S. face processing is carried out to the preview image according to target U.S. face parameter value.
  2. 2. the method as described in claim 1, it is characterised in that before the step of acquisition preview image, methods described Also include:
    Pre-set target U.S. face parameter value corresponding to the target exposal model.
  3. 3. method as claimed in claim 1 or 2, it is characterised in that the preview image includes face image, described to obtain in advance Look at image, including:
    Obtain the characteristic information of the preview image and the face image;
    The determination target exposal model, including:
    Judge whether the characteristic information of the face image matches with default characteristic information;
    If the characteristic information of the face image matches with the default characteristic information, it is determined that the default characteristic information pair The target exposal model answered.
  4. 4. method as claimed in claim 1 or 2, it is characterised in that the determination target exposal model, including:
    The target exposal model is selected from least one exposal model to be selected according to the instruction of mood selection operation.
  5. 5. method as claimed in claim 2, it is characterised in that described to pre-set target corresponding to the target exposal model U.S. face parameter value, including:
    Obtain the U.S. face parameter value of acquiescence corresponding to the target exposal model;
    Receive U.S. face parameter value adjustment operational order;
    U.S. face parameter value is by described silent according to corresponding to the U.S. face parameter value adjustment operational order by the target exposal model Recognize U.S. face parameter value and be adjusted to target U.S. face parameter value.
  6. A kind of 6. mobile terminal, it is characterised in that including:
    Acquisition module, for obtaining preview image;
    First determining module, for determining target exposal model;
    Second determining module, for according to the target exposal model, determining target U.S. face parameter value;
    Processing module, for carrying out U.S. face processing to the preview image according to target U.S. face parameter value.
  7. 7. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal also includes:
    Setup module, for pre-setting target U.S. face parameter value corresponding to the target exposal model.
  8. 8. mobile terminal as claimed in claims 6 or 7, it is characterised in that the preview image includes face image, described to obtain Modulus block is specifically used for the characteristic information for obtaining the preview image and the face image;
    First determining module includes:
    Judging submodule, for judging whether the characteristic information of the face image matches with default characteristic information;
    Determination sub-module, if the characteristic information for the face image matches with the default characteristic information, it is determined that institute State target exposal model corresponding to default characteristic information.
  9. 9. mobile terminal as claimed in claims 6 or 7, it is characterised in that first determining module is specifically used for:
    The target exposal model is selected from least one exposal model to be selected according to the instruction of mood selection operation.
  10. 10. mobile terminal as claimed in claim 7, it is characterised in that the setup module includes:
    Acquisition submodule, for obtaining the U.S. face parameter value of acquiescence corresponding to the target exposal model;
    Receiving submodule, for receiving U.S. face parameter value adjustment operational order;
    Adjust submodule, for according to the U.S. face parameter value adjust operational order by the target exposal model corresponding to U.S. face Parameter value is adjusted to target U.S. face parameter value by the U.S. face parameter value of acquiescence.
  11. 11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute The U.S. face program run on processor is stated, the U.S. face program is realized during the computing device as appointed in claim 1 to 5 The step of U.S. face method described in one.
CN201710831063.5A 2017-09-08 2017-09-08 Beautifying method and mobile terminal Active CN107592457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710831063.5A CN107592457B (en) 2017-09-08 2017-09-08 Beautifying method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710831063.5A CN107592457B (en) 2017-09-08 2017-09-08 Beautifying method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107592457A true CN107592457A (en) 2018-01-16
CN107592457B CN107592457B (en) 2020-05-15

Family

ID=61051585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710831063.5A Active CN107592457B (en) 2017-09-08 2017-09-08 Beautifying method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107592457B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430356A (en) * 2019-06-25 2019-11-08 华为技术有限公司 One kind repairing drawing method and electronic equipment
CN111083348A (en) * 2018-10-22 2020-04-28 奇酷互联网络科技(深圳)有限公司 Mobile terminal, photographing method thereof and computer storage medium
WO2020125410A1 (en) * 2018-12-17 2020-06-25 华为技术有限公司 Image processing method and electronic device
CN112565619A (en) * 2020-11-12 2021-03-26 上海龙旗科技股份有限公司 Rainbow photographing method and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853092A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Photographing method and device
CN105825486A (en) * 2016-04-05 2016-08-03 北京小米移动软件有限公司 Beautifying processing method and apparatus
CN106056533A (en) * 2016-05-26 2016-10-26 维沃移动通信有限公司 Photographing method and terminal
CN106101541A (en) * 2016-06-29 2016-11-09 捷开通讯(深圳)有限公司 A kind of terminal, photographing device and image pickup method based on personage's emotion thereof
CN106503658A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 automatic photographing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853092A (en) * 2015-04-30 2015-08-19 广东欧珀移动通信有限公司 Photographing method and device
CN105825486A (en) * 2016-04-05 2016-08-03 北京小米移动软件有限公司 Beautifying processing method and apparatus
CN106056533A (en) * 2016-05-26 2016-10-26 维沃移动通信有限公司 Photographing method and terminal
CN106101541A (en) * 2016-06-29 2016-11-09 捷开通讯(深圳)有限公司 A kind of terminal, photographing device and image pickup method based on personage's emotion thereof
CN106503658A (en) * 2016-10-31 2017-03-15 维沃移动通信有限公司 automatic photographing method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083348A (en) * 2018-10-22 2020-04-28 奇酷互联网络科技(深圳)有限公司 Mobile terminal, photographing method thereof and computer storage medium
WO2020125410A1 (en) * 2018-12-17 2020-06-25 华为技术有限公司 Image processing method and electronic device
CN110430356A (en) * 2019-06-25 2019-11-08 华为技术有限公司 One kind repairing drawing method and electronic equipment
CN112565619A (en) * 2020-11-12 2021-03-26 上海龙旗科技股份有限公司 Rainbow photographing method and equipment

Also Published As

Publication number Publication date
CN107592457B (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN107592457A (en) A kind of U.S. face method and mobile terminal
CN107995415A (en) A kind of image processing method, terminal and computer-readable medium
CN107025629A (en) A kind of image processing method and mobile terminal
CN106503658A (en) automatic photographing method and mobile terminal
CN106250012A (en) Screen intensity and color temperature adjusting method, device and terminal unit
CN106056533A (en) Photographing method and terminal
CN109639973A (en) Shoot image methods of marking, scoring apparatus, electronic equipment and storage medium
CN104346136A (en) Method and device for picture processing
CN107369174A (en) The processing method and computing device of a kind of facial image
CN107392933A (en) A kind of method and mobile terminal of image segmentation
CN106095278A (en) A kind of photographic method and mobile terminal
CN109725948A (en) A kind of configuration method and device of animation resource
CN107450778A (en) A kind of false touch recognition methods and mobile terminal
CN107484018A (en) A kind of video interception method, mobile terminal
CN107610042A (en) A kind of image beautification method and mobile terminal
CN107247508A (en) A kind of data source processing method and terminal device
CN106530222A (en) Picture saving method and mobile terminal
CN108494996A (en) Image processing method, device, storage medium and mobile terminal
CN106780359A (en) A kind of data editing method, device and mobile terminal
CN105653195B (en) Screenshotss method and mobile terminal
CN110189384A (en) Method for compressing image, device, computer equipment and storage medium based on Unity3D
CN101976195B (en) Method and device for setting user interface
CN112243065B (en) Video recording method and device
CN114170472A (en) Image processing method, readable storage medium and computer terminal
CN107247598A (en) Application message acquisition methods and device, computer installation, readable storage medium storing program for executing

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
GR01 Patent grant
GR01 Patent grant