CN107959789A - A kind of image processing method and mobile terminal - Google Patents
A kind of image processing method and mobile terminal Download PDFInfo
- Publication number
- CN107959789A CN107959789A CN201711107998.5A CN201711107998A CN107959789A CN 107959789 A CN107959789 A CN 107959789A CN 201711107998 A CN201711107998 A CN 201711107998A CN 107959789 A CN107959789 A CN 107959789A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- information
- user
- stored face
- facial information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/172—Classification, e.g. identification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/62—Control of parameters via user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
An embodiment of the present invention provides a kind of image processing method and mobile terminal, it is related to field of communication technology, to solve the problems, such as that existing image processing method can not meet the individual requirement of user.Wherein, described image processing method is applied to mobile terminal, including:Under shooting preview pattern, area image process instruction is opened if receiving, obtains pre-stored face information;Identify the facial information of all persons in shooting preview interface;The facial information of all persons of identification is compared with the pre-stored face information, and using with the personage of the pre-stored face information match as target person;Image procossing is carried out to the face area of the target person.Image processing method in the embodiment of the present invention is applied in mobile terminal.
Description
Technical field
The present embodiments relate to field of communication technology, more particularly to a kind of image processing method and mobile terminal.
Background technology
At present, most of mobile terminal all has shooting function, because mobile terminal has the advantage such as easy to carry, so that more
Taken pictures come more people's selections using mobile terminal.With the increase of number of users, requirement of the people to shooting effect
More and more, in order to meet the requirement of user, shooting function is also gradually perfect.
For example, in the shooting of mobile terminal, image processing function is added, so that in the image of output, personage etc.
Fare-you-well can be showed, shooting effect firmly gets liking for user, meets user significantly to beautiful pursuit.
And for the increase of above-mentioned function, when carrying out graphics process, image procossing can only be carried out to whole image at the same time,
So as to lead to not the individual requirement for meeting user.
The content of the invention
The embodiment of the present invention provides a kind of image processing method, can not meet user to solve existing image processing method
Individual requirement the problem of.
In a first aspect, an embodiment of the present invention provides a kind of image processing method, applied to mobile terminal, including:Clapping
Take the photograph under preview mode, open area image process instruction if receiving, obtain pre-stored face information;Identify shooting preview interface
The facial information of interior all persons;The facial information of all persons of identification is compared with the pre-stored face information, and
Using with the personage of the pre-stored face information match as target person;Image is carried out to the face area of the target person
Processing.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:Pre-stored face data obtaining module,
For under shooting preview pattern, opening area image process instruction if receiving, obtaining pre-stored face information;Facial information
Identification module, for identifying the facial information of all persons in shooting preview interface;Target person confirms module, for that will identify
The facial information of all persons be compared with the pre-stored face information, and by with the pre-stored face information match
Personage is as target person;Area image processing module, for carrying out image procossing to the face area of the target person.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including processor, memory, are stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is performed by the processor
The step of realizing image processing method as described in relation to the first aspect
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, described computer-readable to deposit
Computer program is stored with storage media, image as described in relation to the first aspect is realized when the computer program is executed by processor
The step of processing method.
In embodiments of the present invention, under shooting preview pattern, user, which can input, opens area image process instruction, to open
The function of area image processing is opened, after mobile terminal, which receives, opens area image process instruction, mobile terminal can realize area
Area image processing function.First, mobile terminal obtains pre-stored face information automatically, and pre-stored face information is deposited in advance for mobile terminal
The facial information of storage, the facial information can optionally be stored by user, can also be stored by mobile terminal automatic identification, prestore face
Portion's information can be the facial information of a particular persons, such as user is in itself, so that after obtaining pre-stored face information, successively to clapping
The facial information for taking the photograph all persons in preview interface is identified, and by the facial information of each personage of identification one by one with it is preceding
The pre-stored face information for stating acquisition is compared, if in comparison result, there is the facial information and pre-stored face information of a personage
Match, then using the personage as target person, that is, the personage set according to the individual demand of user, and then to target
The face area of personage carries out image procossing, meets the individual requirement of user.Compared with the prior art, in the embodiment of the present invention
Image processing method shooting when, processing operation pointedly can be carried out to the regional area in image, as some is specific
The face area of personage, particularly in the shooting of group picture, if user's hope shooting effect of itself is different from other people bat
Effect is taken the photograph, the embodiment of the present invention is that the individual requirement of user can be achieved.
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
Attached drawing to be used is needed to be 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 attached drawings
Obtain other attached drawings.
Fig. 1 is one of flow chart of image processing method of the embodiment of the present invention;
Fig. 2 is the two of the flow chart of the image processing method of the embodiment of the present invention;
Fig. 3 is the three of the flow chart of the image processing method of the embodiment of the present invention;
Fig. 4 is the four of the flow chart of the image processing method of the embodiment of the present invention;
Fig. 5 is the five of the flow chart of the image processing method of the embodiment of the present invention;
Fig. 6 is one of block diagram of mobile terminal of the embodiment of the present invention;
Fig. 7 is the two of the block diagram of the mobile terminal of the embodiment of the present invention;
Fig. 8 is the three of the block diagram of the mobile terminal of the embodiment of the present invention;
Fig. 9 is the four of the block diagram of the mobile terminal of the embodiment of the present invention;
Figure 10 is the five of the block diagram of the mobile terminal of the embodiment of the present invention;
Figure 11 is the six of the block diagram of the mobile terminal of the embodiment of the present invention;
Figure 12 is the structure diagram of the mobile terminal of the embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution 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, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, belongs to the scope of protection of the invention.
Embodiment one
Reference Fig. 1, shows the flow chart of the image processing method of the embodiment of the present invention, which is applied to
Mobile terminal, including:
Step 101:Under shooting preview pattern, area image process instruction is opened if receiving, obtains pre-stored face
Information.
In this step, mobile terminal enters shooting preview pattern, and in this mode, mobile terminal can provide area image
Processing function, while open command load button of the function etc. can be shown on display interface, so that user can input unlatching
Area image process instruction, after mobile terminal receives the instruction, mobile terminal can realize administrative division map under shooting preview pattern
As processing function, pre-stored face information need to be obtained by realizing the premise of the function.
Pre-stored face information is the specific facial information that mobile terminal prestores, which can
Storage is specified by user, such as the facial information of user in itself, can also be and stored automatically by mobile terminal, as mobile terminal according to
Screening etc. is identified in the photo stored in photo library, to obtain the facial information in photo.
Step 102:Identify the facial information of all persons in shooting preview interface.
In this step, before regional processing is carried out to image, the personage in shooting preview interface is identified first, at this
In, the step of can also increasing the quantity of personage existing in detection shooting preview interface.If detect institute in shooting preview interface
The quantity of existing personage is multiple, then it is believed that shooting task at this time is the shooting of group picture, so as to identify successively all
The facial information of personage, to determine the target person of image procossing in multiple personages;If deposited in detection shooting preview interface
The quantity of personage be one, then identify the facial information of the personage, with determine the personage whether be image procossing target
Personage;If not having personage's presence in detection shooting preview interface, area image processing function need not be performed.
Step 103:The facial information of all persons of identification is compared with pre-stored face information, and will be with the face that prestores
The personage of portion's information match is as target person.
In this step, based on the facial information identified in above-mentioned steps, it is compared one by one with pre-stored face information, than
To in result, if in the presence of the facial information with pre-stored face information matches, then it is assumed that the personage for possessing the facial information is to scheme
As the target person of processing, if there is no the facial information with pre-stored face information matches, then it is assumed that without the mesh of image procossing
Mark personage, it is not necessary to carry out image procossing.
Step 104:Image procossing is carried out to the face area of target person.
Based on the target person determined in previous step, image procossing is carried out to the face area of target person.In the step
In rapid, the image procossing of face is only carried out to the target person in shooting preview interface, so that in the image of output, only mesh
The face area of mark personage is through image procossing, realizes topography's processing, while cause target person to may differ from it
Its personage, meets the individual requirement of user.
In the present embodiment, mobile terminal is additionally arranged the function of area image processing, in shooting process, it can be achieved that to figure
The regional area of picture is handled, so as to instead of the image processing method for, being only capable of that disposed of in its entirety is carried out to image in the prior art
Formula.Realizing the detailed process of the function can be:The facial information of personage in the presence of identification shooting preview interface one by one, and will
All facial informations recognized are compared with the pre-stored face information in mobile terminal one by one, with all facial informations
Determine with the facial informations of pre-stored face information matches, and using with the personage of pre-stored face information matches as selected target
Personage, and then image procossing just for property is carried out to the face area of target person, because pre-stored face information is according to user
Set by hobby etc., therefore selected target person realizes the individualized selection of user, is being clapped so as to meet user
In taking the photograph, to the individual requirement of image procossing.Particularly when clapping group picture, user can utilize the image procossing in the present embodiment
Method obtains itself and is different from other people image effect, so that user seems special in group picture, meets the bat of user
Take the photograph demand.
In the present embodiment, before pre-stored face information is obtained, the step for the above-mentioned pre-stored face information that prestores can also be increased
Suddenly, three kinds of steps that prestore to prestore corresponding to mode are enumerated to following exemplary.
The flow chart of mode one is shown with reference to Fig. 2, Fig. 2, and mode one includes:
Step 1051:Identify the facial information of all shooting personages of mobile terminal memory storage.
In this step, the mode of a facial information for obtaining shooting personage is enumerated first, to shoot oneself in personage
Exemplified by bat personage:When mobile terminal is put camera before use and is shot, it is believed that be to carry out self-timer, so as to export self-timer
After image, mobile terminal can store self-timer image automatically, so that all self-timer figures of acquisition for mobile terminal mobile terminal memory storage
The facial information of self-timer personage as in, and then can recognize that the face of all self-timer personages of mobile terminal memory storage in this step
Portion's information.Same method, mobile terminal can store the shooting image of rear camera automatically, so that acquisition for mobile terminal moves
The facial information of shooting personage in all shooting images of terminal memory storage, and then can recognize that in this step in mobile terminal
The facial information of all shooting personages of storage.
Step 1052:The facial information of the highest at least one shooting personage of frequency be will appear from as pre-stored face information.
In this step, after the facial information of all shooting personages is identified, from the highest shooting personage's of the frequency of occurrences
In facial information, at least determine the facial information of a shooting personage, as pre-stored face information, and preserve.
In mode one, make use of the shooting function of mobile terminal, usual user in shooting, especially self-timer when, clap
The shared large percentage of user in itself in the personage taken the photograph, based on this feature, mobile terminal sets and preserves the face that prestores automatically
Portion's information.As it can be seen that this mode can meet the local image procossing to user in itself, meanwhile, if in the image of user's shooting, its
Large percentage shared by its people, this mode can also meet to user in itself beyond other personages local image procossing, should
Other personages can be personage close with customer relationship etc..
The flow chart of mode two is shown with reference to Fig. 3, Fig. 3, and mode two includes:
Step 1061:Obtain the facial information for the user for successfully unlocking mobile terminal.
In order to protect the personal secrets of user, usual mobile terminal is designed with unlocking pin, and user is only in mobile terminal
The upper correct unlocking pin of input could unlock mobile terminal, and enter display interface.One of which identifies the side of unlocking pin
Formula is:The facial information of user is identified to unlock mobile terminal by face recognition technology, and mode two is exactly that make use of this
One process.User unlocks mobile terminal by facial information, to log in display interface, when mobile terminal identifies the face of the user
Portion's information, mobile terminal successfully unlock, and into display interface, user successfully unlocks.In this step, mobile terminal can obtain automatically
Take the facial information for the user for successfully unlocking mobile terminal.
Step 1062:The facial information for the user that success is unlocked is as pre-stored face information.
Using the facial information of the user of the successful unlock mobile terminal of acquisition as pre-stored face information, and preserve.
In mode two, the unlock login feature of mobile terminal is make use of, usual user is aobvious in unlock mobile terminal, login
When showing interface, the facial information of user in itself is only have input, can just be successfully entered display interface, it is mobile based on this feature
Terminal sets and preserves pre-stored face information automatically.This mode can meet the local image procossing to user in itself.
Wherein, the display interface of mobile terminal, it may include main display interface and payment display interface etc., that is to say, that prestore
Facial information can be the facial information of the user of the main display interface of Successful login mobile terminal, can be moved with Successful login
The facial information of the user of the payment interface of terminal.
The flow chart of mode three is shown with reference to Fig. 4, Fig. 4, and mode three includes:
Step 1051:Identify the facial information of all shooting personages of mobile terminal memory storage.
Step 1052:The facial information of the highest at least one shooting personage of frequency be will appear from as pre-stored face information.
The two steps are with the step in mode one, to set pre-stored face information according to shooting function.
Step 1053:If there is user successfully to unlock mobile terminal, the facial information of user is obtained.
On the basis of mode one, increase step 1053, stepped on if mobile terminal is equipped with itself by face recognition to unlock
Record the function at interface, thus it is basic it was determined that the facial information unlocked that can succeed is exactly the facial information of user itself, from
And mobile terminal can obtain the facial information successfully unlocked automatically.
Step 1054:The facial information for the user that success is unlocked is updated to pre-stored face information.
The facial information for the user that success is unlocked directly is updated to pre-stored face information, in this step, instead of step
The pre-stored face information preserved in rapid 1052, so as to improve the accuracy of identification user itself, avoids because of shooting personage simultaneously
The error brought during non-user itself.
In mode three, if mobile terminal not only saves the highest facial information of the frequency of occurrences in shooting, but also save into
The facial information of the user of work(unlock, then the facial information for the user that prioritizing selection successfully unlocks is as pre-stored face information, knowledge
The accuracy higher of other user itself.As it can be seen that mode three can meet the local image procossing to user in itself.
Wherein, in mode three, the highest facial information of the frequency of occurrences in shooting, and the use that success unlocks are particularly suitable for
The facial information at family is not the situation of same facial information, the accuracy higher of the facial information for the user that success unlocks.
As can be seen that above-mentioned three kinds of modes, are all that mobile terminal is set automatically according to some mobile terminals function of itself
Determine pre-stored face information, and the pre-stored face information set can be the facial information of user itself, thus shooting
When, mobile terminal can carry out individually image procossing to the face area of user.In more modes, user can also move
Pre-stored face information is inputted in dynamic terminal, the pre-stored face information of input is not restricted to user, can also be other people, together
When can also be specify it is more personal.
With reference to Fig. 5, step 104 may include:
Step 1041:U.S. face processing is carried out to the face area of target person.
Preferably, image procossing here can be that U.S. face is handled, to carry out U.S. face processing to the face area of target person,
To meet the sense of loving to make up and wearing beautiful clothes of user, especially in group picture, can automatically by user, or with customer relationship toots thing into
The face processing of row U.S..
Embodiment two
Reference Fig. 6, shows the block diagram of the mobile terminal of the embodiment of the present invention, including:
Pre-stored face data obtaining module 10, under shooting preview pattern, area image processing to be opened if receiving
Instruction, then obtain pre-stored face information;
Facial information identification module 20, for identifying the facial information of all persons in shooting preview interface;
Target person confirms module 30, for the facial information of all persons of identification and pre-stored face information to be compared
It is right, and using with the personage of pre-stored face information match as target person;
Area image processing module 40, for carrying out image procossing to the face area of target person.
In the present embodiment, mobile terminal is additionally arranged the function of area image processing, in shooting process, it can be achieved that to figure
The regional area of picture is handled, so as to instead of the image processing method for, being only capable of that disposed of in its entirety is carried out to image in the prior art
Formula.Realizing the detailed process of the function can be:The facial information of personage in the presence of identification shooting preview interface one by one, and will
All facial informations recognized are compared with the pre-stored face information in mobile terminal one by one, with all facial informations
Determine with the facial informations of pre-stored face information matches, and using with the personage of pre-stored face information matches as selected target
Personage, and then image procossing just for property is carried out to the face area of target person, because pre-stored face information is according to user
Set by hobby etc., therefore selected target person realizes the individualized selection of user, is being clapped so as to meet user
In taking the photograph, to the individual requirement of image procossing.Particularly when clapping group picture, user can utilize the image procossing in the present embodiment
Method obtains itself and is different from other people image, so that user seems special in group picture, meeting the shooting of user needs
Ask.
Mobile terminal in Fig. 6 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1, to avoid
Repeat, which is not described herein again.
With reference to Fig. 7, it is preferable that mobile terminal further includes:
Person recognition module 51 is shot, the facial information of all shooting personages for identifying mobile terminal memory storage;
First pre-stored face information determination module 52, for will appear from the face of the highest at least one shooting personage of frequency
Portion's information is as pre-stored face information.
Mobile terminal in Fig. 7 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 2, to avoid
Repeat, which is not described herein again.
With reference to Fig. 8, on the basis of Fig. 7, mobile terminal further includes:
First unlock user acquisition module 53, if for there is user successfully to unlock mobile terminal, obtains the face of user
Information;
Second pre-stored face information determination module 54, the facial information of the user for success to be unlocked are updated to the face that prestores
Portion's information.
Mobile terminal in Fig. 8 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 3, to avoid
Repeat, which is not described herein again.
With reference to Fig. 9, it is preferable that mobile terminal further includes:
Second unlock user acquisition module 61, for obtaining the facial information for the user for successfully unlocking mobile terminal;
3rd pre-stored face information determination module 62, for using the facial information of the user of success unlock as pre-stored face
Information.
Mobile terminal in Fig. 9 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 4, to avoid
Repeat, which is not described herein again.
With reference to Figure 10, area image processing module 40 includes:
Region U.S. face processing unit 41, for carrying out U.S. face processing to the face area of target person.
Mobile terminal in Figure 10 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 5, to keep away
Exempt to repeat, which is not described herein again.
Another embodiment of the present invention additionally provides a kind of mobile terminal, including processor, and memory, storage is on a memory
And the computer program that can be run on a processor, realize that above-mentioned any image such as is handled when computer program is executed by processor
Each process of the embodiment of method, and identical technique effect can be reached, to avoid repeating, which is not described herein again.
Another embodiment of the present invention additionally provides a kind of computer-readable recording medium, is deposited on computer-readable recording medium
Computer program is contained, each of such as embodiment of above-mentioned any image processing method is realized when image procossing is executed by processor
Process, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage
Medium, such as read-only storage (Read-Only Memory, abbreviation ROM), random access memory (RandomAccess
Memory, abbreviation RAM), magnetic disc or CD etc..
Figure 11 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 800 shown in Figure 11 includes:Extremely
Few a processor 801, memory 802, at least one network interface 804 and other users interface 803, focal length camera 806
With wide-angle camera 807.Various components in mobile terminal 800 are coupled by bus system 805.It is understood that bus
System 805 is used for realization the connection communication between these components.Bus system 805 further includes electricity in addition to including data/address bus
Source bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as always in fig. 11
Linear system system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), 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 volatile and non-volatile memories.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 programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), it is used as exterior 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 802 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 802 stores following element, executable modules or data structures, 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., are used for
Realize various basic businesses and the hardware based task of processing.Application program 8022, includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., are used for realization various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 8022.
In embodiments of the present invention, mobile terminal 800 further includes:Storage on a memory 802 and can be on processor 801
The image procossing control program of operation, can be that the image procossing in application program 8022 controls program, image procossing specifically
Control program realizes following steps when being performed by processor 801:Under shooting preview pattern, opened if receiving at area image
Reason instruction, then obtain pre-stored face information;Identify the facial information of all persons in shooting preview interface;By the owner of identification
The facial information of thing is compared with the pre-stored face information, and using with the personage of the pre-stored face information match as
Target person;Image procossing is carried out to the face area of the target person
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, has the disposal ability of signal.During realization, 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 (DigitalSignalProcessor, DSP), application-specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It can realize or perform disclosed each method, step and the logical 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
The computer-readable recording medium of this area such as program read-only memory or electrically erasable programmable memory, register maturation
In.The computer-readable recording medium is located at memory 702, and processor 801 reads the information in memory 802, hard with reference to its
Part completes the step of above method.Specifically, computer program, computer program are stored with the computer-readable recording medium
The step of embodiment such as above-mentioned any image processing method is realized when being performed by processor 801.
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.For hardware realization, 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 is performed by processor.Memory can
With portion realizes within a processor or outside the processor.
Alternatively, following steps can be also realized when computer program is performed by processor 801:Identify in the mobile terminal
The facial information of all shooting personages of storage;It will appear from the facial information of the highest at least one shooting personage of frequency
As pre-stored face information.
Alternatively, following steps can be also realized when computer program is performed by processor 801:If there is user successfully to unlock institute
Mobile terminal is stated, then obtains the facial information of the user;The facial information of the user is updated to the pre-stored face letter
Breath.
Alternatively, as another embodiment, following steps can be also realized when computer program is performed by processor 801:
Obtain the facial information for the user for successfully unlocking the mobile terminal;Believe the facial information of the user as pre-stored face
Breath.
Alternatively, as another embodiment, following steps can be also realized when computer program is performed by processor 801:
U.S. face processing is carried out to the face area of the target person.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
In the present embodiment, mobile terminal is additionally arranged the function of area image processing, in shooting process, it can be achieved that to figure
The regional area of picture is handled, so as to instead of the image processing method for, being only capable of that disposed of in its entirety is carried out to image in the prior art
Formula.Realizing the detailed process of the function can be:The facial information of personage in the presence of identification shooting preview interface one by one, and will
All facial informations recognized are compared with the pre-stored face information in mobile terminal one by one, with all facial informations
Determine with the facial informations of pre-stored face information matches, and using with the personage of pre-stored face information matches as selected target
Personage, and then image procossing just for property is carried out to the face area of target person, because pre-stored face information is according to user
Set by hobby etc., therefore selected target person realizes the individualized selection of user, is being clapped so as to meet user
In taking the photograph, to the individual requirement of image procossing.Particularly when clapping group picture, user can utilize the image procossing in the present embodiment
Method obtains itself and is different from other people image, so that user seems special in group picture, meeting the shooting of user needs
Ask.
Figure 12 is the structure diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile end in Figure 12
End 900 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 900 in Figure 12 includes radio frequency (RadioFrequency, RF) circuit 910, memory 920, input
Unit 930, display unit 940, processor 960, voicefrequency circuit 970, WiFi (WirelessFidelity) module 980, power supply
990th, focal length camera 9100 and wide-angle camera 9200.
Wherein, input unit 930 can be used for receiving numeral input by user or character information, and generation and mobile terminal
The related signal input of 900 user setting and function control.Specifically, in the embodiment of the present invention, which can
With including contact panel 931.Contact panel 931, also referred to as touch-screen, collect user on it or neighbouring touch operation
(for example user uses the operations of any suitable object or annex on contact panel 931 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment device.Optionally, contact panel 931 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 960 is given again, and can be received the order that processor 960 is sent and be performed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input unit
930 can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, operation lever etc..
Wherein, display unit 940 can be used for display by information input by user or be supplied to information and the movement of user
The various menu interfaces of terminal 900.Display unit 940 may include display panel 941, optionally, can use LCD or organic hairs
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined
Measure and on it or after neighbouring touch operation, send processor 960 to determine the type of touch event, be followed by subsequent processing device
960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The common control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as button, interface numbering, scroll bar, phone directory icon etc. are set.
Wherein processor 960 is the control centre of mobile terminal 900, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or performing the software program and/or module that are stored in first memory 921, and call storage
Data in second memory 922, perform the various functions and processing data of mobile terminal 900, so as to mobile terminal 900
Carry out integral monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, mobile terminal 900 further includes:It is stored in memory 920 and can be transported on processor 960
Capable image procossing control program, can be the image procossing control program in application program specifically, image procossing controls journey
Sequence realizes following steps when being performed by processor 960:Under shooting preview pattern, refer to if receiving and opening area image processing
Order, then obtain pre-stored face information;Identify the facial information of all persons in shooting preview interface;By all persons' of identification
Facial information is compared with the pre-stored face information, and using with the personage of the pre-stored face information match as target
Personage;Image procossing is carried out to the face area of the target person.
Alternatively, following steps can be also realized when computer program is performed by processor 960:Identify in the mobile terminal
The facial information of all shooting personages of storage;It will appear from the facial information of the highest at least one shooting personage of frequency
As pre-stored face information.
Alternatively, following steps can be also realized when computer program is performed by processor 960:If there is user successfully to unlock institute
Mobile terminal is stated, then obtains the facial information of the user;The facial information of the user is updated to the pre-stored face letter
Breath.
Alternatively, following steps can be also realized when computer program is performed by processor 960:Obtain and successfully unlock the shifting
The facial information of the user of dynamic terminal;Using the facial information of the user as pre-stored face information.
Alternatively, as another embodiment, following steps can be also realized when computer program is performed by processor 960:
U.S. face processing is carried out to the face area of the target person.
In the present embodiment, mobile terminal is additionally arranged the function of area image processing, in shooting process, it can be achieved that to figure
The regional area of picture is handled, so as to instead of the image processing method for, being only capable of that disposed of in its entirety is carried out to image in the prior art
Formula.Realizing the detailed process of the function can be:The facial information of personage in the presence of identification shooting preview interface one by one, and will
All facial informations recognized are compared with the pre-stored face information in mobile terminal one by one, with all facial informations
Determine with the facial informations of pre-stored face information matches, and using with the personage of pre-stored face information matches as selected target
Personage, and then image procossing just for property is carried out to the face area of target person, because pre-stored face information is according to user
Set by hobby etc., therefore selected target person realizes the individualized selection of user, is being clapped so as to meet user
In taking the photograph, to the individual requirement of image procossing.Particularly when clapping group picture, user can utilize the image procossing in the present embodiment
Method obtains itself and is different from other people image, so that user seems special in group picture, meeting the shooting of user needs
Ask.
Those of ordinary skill in the art may realize that the embodiment with reference to disclosed in the embodiment of the present invention describes each
Exemplary unit and algorithm steps, 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 solution.Specialty
Technical staff can realize described function to each specific application using distinct methods, 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, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can pass through others
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, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.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 integrate 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 contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a computer-readable recording medium, including some instructions are used so that a computer equipment
(can be personal computer, server, or network equipment etc.) perform each embodiment the method for the present invention whole or
Part steps.And foregoing computer-readable recording medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are each
Kind can be with the medium of store program codes.
The above description is merely a specific embodiment, 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 subject to scope of the claims.
Claims (12)
- A kind of 1. image processing method, applied to mobile terminal, it is characterised in that including:Under shooting preview pattern, area image process instruction is opened if receiving, obtains pre-stored face information;Identify the facial information of all persons in shooting preview interface;The facial information of all persons of identification is compared with the pre-stored face information, and will be believed with the pre-stored face The matched personage of manner of breathing is as target person;Image procossing is carried out to the face area of the target person.
- 2. image processing method according to claim 1, it is characterised in that described under shooting preview pattern, if connecing Before the step of receiving and open area image process instruction, then obtaining pre-stored face information, further include:Identify the facial information of all shooting personages of the mobile terminal memory storage;The facial information of the highest at least one shooting personage of frequency be will appear from as pre-stored face information.
- 3. image processing method according to claim 2, it is characterised in that will appear from frequency highest at least one described After the facial information of a shooting personage is as the step of pre-stored face information, further include:If there is user successfully to unlock the mobile terminal, the facial information of the user is obtained;The facial information of the user is updated to the pre-stored face information.
- 4. image processing method according to claim 1, it is characterised in that described under shooting preview pattern, if connecing Before the step of receiving and open area image process instruction, then obtaining pre-stored face information, further include:Obtain the facial information for the user for successfully unlocking the mobile terminal;Using the facial information of the user as pre-stored face information.
- 5. according to Claims 1 to 4 any one of them image processing method, it is characterised in that described to the target person Face area carry out image procossing the step of, including:U.S. face processing is carried out to the face area of the target person.
- A kind of 6. mobile terminal, it is characterised in that including:Pre-stored face data obtaining module, under shooting preview pattern, area image process instruction to be opened if receiving, Obtain pre-stored face information;Facial information identification module, for identifying the facial information of all persons in shooting preview interface;Target person confirms module, for the facial information of all persons of identification and the pre-stored face information to be compared It is right, and using with the personage of the pre-stored face information match as target person;Area image processing module, for carrying out image procossing to the face area of the target person.
- 7. mobile terminal according to claim 6, it is characterised in that the mobile terminal further includes:Person recognition module is shot, the facial information of all shooting personages for identifying the mobile terminal memory storage;First pre-stored face information determination module, for will appear from face's letter of the highest at least one shooting personage of frequency Breath is used as pre-stored face information.
- 8. mobile terminal according to claim 7, it is characterised in that the mobile terminal further includes:First unlock user's acquisition module, if for there is user successfully to unlock the mobile terminal, obtains the face of the user Portion's information;Second pre-stored face information determination module, for the facial information of the user to be updated to the pre-stored face information.
- 9. mobile terminal according to claim 6, it is characterised in that the mobile terminal further includes:Second unlock user's acquisition module, for obtaining the facial information for the user for successfully unlocking the mobile terminal;3rd pre-stored face information determination module, for using the facial information of the user as pre-stored face information.
- 10. according to claim 6~9 any one of them mobile terminal, it is characterised in that the area image processing module bag Include:Region U.S. face processing unit, for carrying out U.S. face processing to the face area of the target person.
- 11. a kind of mobile terminal, it is characterised in that including processor, memory is stored on the memory and can be described The computer program run on processor, is realized when the computer program is performed by the processor as in claim 1 to 5 The step of any one of them image processing method.
- 12. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, realizes the image processing method as any one of claim 1 to 5 when the computer program is executed by processor The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711107998.5A CN107959789B (en) | 2017-11-10 | 2017-11-10 | Image processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711107998.5A CN107959789B (en) | 2017-11-10 | 2017-11-10 | Image processing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107959789A true CN107959789A (en) | 2018-04-24 |
CN107959789B CN107959789B (en) | 2020-03-06 |
Family
ID=61964623
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711107998.5A Active CN107959789B (en) | 2017-11-10 | 2017-11-10 | Image processing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107959789B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924418A (en) * | 2018-07-02 | 2018-11-30 | 珠海市魅族科技有限公司 | A kind for the treatment of method and apparatus of preview image, terminal, readable storage medium storing program for executing |
CN109361861A (en) * | 2018-11-14 | 2019-02-19 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN111773676A (en) * | 2020-07-23 | 2020-10-16 | 网易(杭州)网络有限公司 | Method and device for determining virtual role action |
CN112637477A (en) * | 2019-10-08 | 2021-04-09 | 华为技术有限公司 | Image processing method and electronic equipment |
CN115018698A (en) * | 2022-08-08 | 2022-09-06 | 深圳市联志光电科技有限公司 | Image processing method and system for man-machine interaction |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827979A (en) * | 2016-04-29 | 2016-08-03 | 维沃移动通信有限公司 | Prompting photographing method and mobile terminal |
CN105915782A (en) * | 2016-03-29 | 2016-08-31 | 维沃移动通信有限公司 | Picture obtaining method based on face identification, and mobile terminal |
CN107123081A (en) * | 2017-04-01 | 2017-09-01 | 北京小米移动软件有限公司 | image processing method, device and terminal |
CN107274355A (en) * | 2017-05-22 | 2017-10-20 | 奇酷互联网络科技(深圳)有限公司 | image processing method, device and mobile terminal |
CN107301389A (en) * | 2017-06-16 | 2017-10-27 | 广东欧珀移动通信有限公司 | Based on face characteristic identification user's property method for distinguishing, device and terminal |
-
2017
- 2017-11-10 CN CN201711107998.5A patent/CN107959789B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105915782A (en) * | 2016-03-29 | 2016-08-31 | 维沃移动通信有限公司 | Picture obtaining method based on face identification, and mobile terminal |
CN105827979A (en) * | 2016-04-29 | 2016-08-03 | 维沃移动通信有限公司 | Prompting photographing method and mobile terminal |
CN107123081A (en) * | 2017-04-01 | 2017-09-01 | 北京小米移动软件有限公司 | image processing method, device and terminal |
CN107274355A (en) * | 2017-05-22 | 2017-10-20 | 奇酷互联网络科技(深圳)有限公司 | image processing method, device and mobile terminal |
CN107301389A (en) * | 2017-06-16 | 2017-10-27 | 广东欧珀移动通信有限公司 | Based on face characteristic identification user's property method for distinguishing, device and terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924418A (en) * | 2018-07-02 | 2018-11-30 | 珠海市魅族科技有限公司 | A kind for the treatment of method and apparatus of preview image, terminal, readable storage medium storing program for executing |
CN109361861A (en) * | 2018-11-14 | 2019-02-19 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN112637477A (en) * | 2019-10-08 | 2021-04-09 | 华为技术有限公司 | Image processing method and electronic equipment |
CN111773676A (en) * | 2020-07-23 | 2020-10-16 | 网易(杭州)网络有限公司 | Method and device for determining virtual role action |
CN115018698A (en) * | 2022-08-08 | 2022-09-06 | 深圳市联志光电科技有限公司 | Image processing method and system for man-machine interaction |
Also Published As
Publication number | Publication date |
---|---|
CN107959789B (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107959789A (en) | A kind of image processing method and mobile terminal | |
CN107343149B (en) | A kind of photographic method and mobile terminal | |
CN107181913B (en) | A kind of photographic method and mobile terminal | |
CN106603928B (en) | A kind of image pickup method and mobile terminal | |
CN106203038B (en) | A kind of unlocking method and mobile terminal | |
CN106126999B (en) | A kind of unlocking method and mobile terminal of intelligent recognition visitor | |
CN106127076B (en) | A kind of inspection method and mobile terminal of photograph album photo | |
CN106127003B (en) | A kind of fingerprint recognition unlocking method and mobile terminal | |
CN106326713B (en) | A kind of unlocking method and mobile terminal of mobile terminal screen | |
CN106095295A (en) | A kind of processing method based on fingerprint recognition and mobile terminal | |
CN107172346A (en) | A kind of weakening method and mobile terminal | |
CN106650367A (en) | Private content display method and mobile terminal | |
CN105959544A (en) | Mobile terminal and image processing method thereof | |
CN106843655B (en) | A kind of information display method and electronic equipment | |
CN106355395A (en) | Payment method and mobile terminal | |
CN107643912A (en) | A kind of information sharing method and mobile terminal | |
CN106125884B (en) | A kind of processing method and mobile terminal of the background task of mobile terminal | |
CN106445328A (en) | Unlocking method of mobile terminal screen, and mobile terminal | |
CN106648382A (en) | Picture browsing method and mobile terminal | |
CN107222675A (en) | The photographic method and mobile terminal of a kind of mobile terminal | |
CN107370758A (en) | A kind of login method and mobile terminal | |
CN105824404A (en) | Gesture operation and control method and mobile terminal | |
CN107360375A (en) | A kind of image pickup method and mobile terminal | |
CN107103224A (en) | A kind of unlocking method and mobile terminal | |
CN107592458A (en) | A kind of image pickup method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |