CN106331509B - A kind of photographic method and mobile terminal - Google Patents
A kind of photographic method and mobile terminal Download PDFInfo
- Publication number
- CN106331509B CN106331509B CN201610927814.9A CN201610927814A CN106331509B CN 106331509 B CN106331509 B CN 106331509B CN 201610927814 A CN201610927814 A CN 201610927814A CN 106331509 B CN106331509 B CN 106331509B
- Authority
- CN
- China
- Prior art keywords
- facial image
- gender information
- voice signal
- taking pictures
- mobile terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000001815 facial effect Effects 0.000 claims abstract description 274
- 238000012545 processing Methods 0.000 claims abstract description 102
- 238000001514 detection method Methods 0.000 claims abstract description 74
- 238000012216 screening Methods 0.000 claims abstract description 31
- 230000000875 corresponding effect Effects 0.000 claims 16
- 230000000694 effects Effects 0.000 abstract description 16
- 238000005457 optimization Methods 0.000 abstract description 7
- 230000015654 memory Effects 0.000 description 46
- 230000006870 function Effects 0.000 description 21
- 230000008569 process Effects 0.000 description 12
- 230000003796 beauty Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 244000061458 Solanum melongena Species 0.000 description 1
- 235000002597 Solanum melongena Nutrition 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 231100000289 photo-effect Toxicity 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G06T5/77—
-
- 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/161—Detection; Localisation; Normalisation
- G06V40/166—Detection; Localisation; Normalisation using acquisition arrangements
-
- 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/168—Feature extraction; Face representation
- G06V40/171—Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L17/00—Speaker identification or verification
- G10L17/02—Preprocessing operations, e.g. segment selection; Pattern representation or modelling, e.g. based on linear discriminant analysis [LDA] or principal components; Feature selection or extraction
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
- G10L17/00—Speaker identification or verification
- G10L17/22—Interactive procedures; Man-machine interfaces
-
- 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/80—Camera processing pipelines; Components thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30196—Human being; Person
- G06T2207/30201—Face
Abstract
The present invention provides a kind of photographic method and mobile terminal, this method comprises: with the presence or absence of facial image in the preview interface of taking pictures of detection mobile terminal;If it exists, then mouth states detection is carried out to facial image, and detects voice signal;If detecting, the first facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then recognition of speech signals, obtains the corresponding gender information of the first facial image;According to the corresponding gender information of the first facial image, the processing parameter of taking pictures of the first facial image is determined;According to the processing parameter of taking pictures, take pictures.The detection that the present invention passes through detection and voice signal to the facial image mouth states taken pictures in preview interface, to in mouth opening and closing state and being detected simultaneously by the facial image of voice signal and pass through voice signal progress gender identification, and determine that taking pictures for the facial image and is taken pictures at processing parameter, it improves sex-screening discrimination, the further optimization processing to image of taking pictures can be achieved, promote take pictures effect and user experience.
Description
Technical field
The present invention relates to field of photographing technology, more particularly to a kind of photographic method and mobile terminal.
Background technique
Nowadays, general on intelligent terminal all to there is beauty Yan Gongneng and voice to take pictures with the continuous development of intelligent terminal
Function.
But existing U.S. face mode does not distinguish gender generally, is directly applicable in same set of beauty parameter to men and women, takes
Photo effect is mostly unsatisfactory;If distinguishing gender, general is image content-based identification men and women again, is wanted to optical condition
It asks higher, such as the angle of ambient brightness, face, causes the influence to discrimination very big.
Summary of the invention
The purpose of the present invention is to provide a kind of photographic method and mobile terminals, to bat when solving to take pictures in the prior art
It is low according to the discrimination of sex-screening in picture and effect difficulty of taking pictures meets the problem of user requires.
On the one hand, the embodiment of the present invention provides a kind of photographic method, comprising:
With the presence or absence of facial image in the preview interface of taking pictures of detection mobile terminal;
If it exists, then mouth states detection is carried out to the facial image, and detects voice signal;
If detecting, the first facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then described in identification
Voice signal obtains the corresponding gender information of first facial image;
According to the corresponding gender information of first facial image, the processing parameter of taking pictures of the first facial image is determined;
According to the processing parameter of taking pictures, take pictures.
On the other hand, the embodiment of the present invention also provides a kind of mobile terminal, comprising:
First detection module whether there is facial image in the preview interface of taking pictures for detecting mobile terminal;
Second detection module, for detecting in the preview interface of taking pictures there are when facial image, to the face
Image carries out mouth states detection, and detects voice signal;
First identification module for detecting that the first facial image is in mouth opening and closing state, and is detected simultaneously by language
Sound signal then identifies the voice signal, obtains the corresponding gender information of first facial image;
First parameter determination module, for determining the first face according to the corresponding gender information of first facial image
The processing parameter of taking pictures of image;
Photo module is taken pictures for processing parameter of taking pictures according to.
In the above scheme of the embodiment of the present invention, pass through the facial image mouth taken pictures in preview interface to mobile terminal
The detection of state and the detection of voice signal, in mouth opening and closing state and being detected simultaneously by the facial image of voice signal
Gender identification is carried out by voice signal, and thereby determines that taking pictures for the facial image and is taken pictures at processing parameter, raising property
Discrimination and further optimization processing to image of taking pictures Jian Ce not can be realized, promotion is taken pictures effect and user experience.
Detailed description of the invention
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, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the photographic method of first embodiment of the invention;
Fig. 2 is the flow chart of the photographic method of second embodiment of the invention;
Fig. 3 is the flow chart of the photographic method of third embodiment of the invention;
Fig. 4 is the flow chart of the photographic method of fourth embodiment of the invention;
Fig. 5 is the flow chart of the photographic method of fifth embodiment of the invention;
Fig. 6 is one of the structural block diagram of terminal in sixth embodiment of the invention;
Fig. 7 is two of the structural block diagram of terminal in sixth embodiment of the invention;
Fig. 8 is the structural block diagram of terminal in seventh embodiment of the invention;
Fig. 9 is the structural block diagram of terminal in eighth embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
First embodiment
As shown in Figure 1, the flow chart of the photographic method for first embodiment of the invention.Below should figure illustrate the bat
According to the specific implementation process of method.
Step 101, it detects in the preview interface of taking pictures of mobile terminal with the presence or absence of facial image.
What needs to be explained here is that detecting mobile terminal after camera function and the sound-recording function starting of mobile terminal
Take pictures in preview interface with the presence or absence of facial image.
Here, the camera on mobile terminal can obtain the frame image taken pictures in preview interface in real time, that is to say, that if clapping
According to preview interface when facial image is not detected in the image of former frame, will continue to carry out Face datection to next frame image.
Step 102, and if it exists, mouth states detection then is carried out to the facial image, and detects voice signal.
Here, mouth states detection is carried out to facial image, mainly to the continuous present count taken pictures in preview interface
The mouth states of the frame image of amount are compared, and whether detection facial image occurs mouth opening and closing variation.
Certainly, to there are many detection algorithms of the mouth states of facial image detection, for example, first using HSV (Hue,
Saturation, Value, coloration, saturation degree, purity) complexion model accurately positions face, and calculates face
Area, according to the color difference threshold value of lip portion and the R-B of parts of skin;Binaryzation is carried out according to required threshold value, accurately
Ground calculates the area of lip portion;According to the ratio of lip portion and skin of face part, mouth can be accurately judged
State.
Step 103, if detecting, the first facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then
It identifies the voice signal, obtains the corresponding gender information of first facial image.
It should be noted that by recognition of speech signals, that is, sound, it may be determined that the corresponding personage of the first facial image
Gender is not influenced by extraneous optical condition, and the discrimination of sex-screening can be improved.
Step 104, according to the corresponding gender information of first facial image, the processing of taking pictures of the first facial image is determined
Parameter.
Here, it is pre-set according to different gender informations that processing parameter of taking pictures can be system, is also possible to system
Generation is calculated according to current gender information, setting can also be customized by the user according to current gender information certainly.
Step 105, it according to the processing parameter of taking pictures, takes pictures.
Here, different processing parameters of taking pictures, that is, the beauty parameter often said different genders can be used, so that clapping
It is more natural according to effect, meet the requirement of taking pictures of user.
Photographic method provided in an embodiment of the present invention passes through the facial image mouth taken pictures in preview interface to mobile terminal
Bar detection of state and the detection of voice signal, to occur mouth opening and closing and be detected simultaneously by voice signal facial image it is logical
It crosses voice signal and carries out gender identification, and thereby determine that taking pictures for the facial image and is taken pictures at processing parameter, improve gender
It detects discrimination and can realize the processing that advanced optimizes to image of taking pictures, promote take pictures effect and user experience.
Second embodiment
As shown in Fig. 2, the flow chart of the photographic method for second embodiment of the invention.Below should figure illustrate the bat
According to the specific implementation process of method.
Step 201, it detects in the preview interface of taking pictures of mobile terminal with the presence or absence of facial image.
What needs to be explained here is that detecting mobile terminal after camera function and the sound-recording function starting of mobile terminal
Take pictures in preview interface with the presence or absence of facial image.
Here, the camera on mobile terminal can obtain the frame image taken pictures in preview interface in real time, that is to say, that if clapping
According to preview interface when facial image is not detected in the image of former frame, will continue to carry out Face datection to next frame image.
Step 202, and if it exists, mouth states detection then is carried out to the facial image, and detects voice signal.
Here, mouth states detection is carried out to facial image, mainly to the continuous present count taken pictures in preview interface
The mouth states of the frame image of amount are compared, and whether detection facial image occurs mouth opening and closing variation.
Step 203, it detects that mouth opening and closing occur for the first facial image, and is detected simultaneously by voice signal.
It should be noted that executing step 204 and step 206 respectively after step 203.Wherein, step 204 and step
Rapid 206 parallel execution, point of no sequencing.
Step 204, it identifies the voice signal, obtains the corresponding gender information of first facial image.
It should be noted that by recognition of speech signals, that is, sound, determine the corresponding personage's property of the first facial image
Not.Specifically, can capture the sound characteristic of speaker by handling voice signal, the property of speaker is judged with this
Not Wei sex, do not influenced by extraneous optical condition, the discrimination of sex-screening can be improved.
Step 205, according to the corresponding gender information of first facial image, the processing of taking pictures of the first facial image is determined
Parameter.
Here, it is pre-set according to different gender informations that processing parameter of taking pictures can be system, is also possible to system
Generation is calculated according to current gender information, setting can also be customized by the user according to current gender information certainly.
In this way, different genders can be used different processing parameters of taking pictures, that is, the beauty parameter often said, so that clapping
It is more natural according to effect, meet the requirement of taking pictures of user.
Step 206, identify whether the voice signal includes photographing instruction.
Here, photographing instruction is voice photographing instruction, can be term of commonly taking pictures when people take pictures, such as " taking pictures "
" eggplant " etc..
Step 207, when the voice signal includes photographing instruction, according to the photographing instruction and the processing of taking pictures
Parameter is taken pictures.
Here, specifically, the processing parameter of taking pictures with the first determining facial image carries out figure to first facial image
As processing, and taken pictures according to the photographing instruction in voice signal.
Photographic method provided in an embodiment of the present invention passes through the facial image mouth taken pictures in preview interface to mobile terminal
Bar detection of state and the detection of voice signal, to occur mouth opening and closing and be detected simultaneously by voice signal facial image it is logical
It crosses voice signal and carries out gender identification, and thereby determine that the processing parameter of taking pictures of the facial image, while wrapping in voice signal
When containing photographing instruction takes pictures according to the photographing instruction, improve sex-screening discrimination and can realize to image of taking pictures into
One-step optimization processing, while being taken pictures based on voice, promote take pictures effect and user experience.
3rd embodiment
As shown in figure 3, the flow chart of the photographic method for third embodiment of the invention.Below should figure illustrate the bat
According to the specific implementation process of method.
Step 301, whether the current photographing mode for judging mobile terminal is self-timer mode.
Here, specifically, the front camera of mobile terminal is opened if detecting, it is determined that mobile terminal is currently taken pictures
Mode is self-timer mode.
Step 302, if so, with the presence or absence of facial image in the preview interface of taking pictures of detection mobile terminal.
What needs to be explained here is that detecting mobile terminal after camera function and the sound-recording function starting of mobile terminal
Take pictures in preview interface with the presence or absence of facial image.
Here, the camera on mobile terminal can obtain the frame image taken pictures in preview interface in real time, that is to say, that if clapping
According to preview interface when facial image is not detected in the image of former frame, will continue to carry out Face datection to next frame image.
Step 303, and if it exists, mouth states detection then is carried out to the facial image, and detects voice signal.
Here, mouth states detection is carried out to facial image, mainly to the continuous present count taken pictures in preview interface
The mouth states of the frame image of amount are compared, and whether detection facial image occurs mouth opening and closing variation.
Step 304, if detecting, the first facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then
It identifies the voice signal, obtains the corresponding gender information of first facial image.
It should be noted that by recognition of speech signals, that is, sound, determine the corresponding personage's property of the first facial image
Not, it is not influenced by extraneous optical condition, the discrimination of sex-screening can be improved.
Step 305, according to the corresponding gender information of first facial image, the processing of taking pictures of the first facial image is determined
Parameter;
Here, it is pre-set according to different gender informations that processing parameter of taking pictures can be system, is also possible to system
Generation is calculated according to current gender information, setting can also be customized by the user according to current gender information certainly.
Step 306, it according to the processing parameter of taking pictures, takes pictures.
Here, different processing parameters of taking pictures, that is, the beauty parameter often said different genders can be used, so that clapping
It is more natural according to effect, meet the requirement of taking pictures of user.
Photographic method provided in an embodiment of the present invention passes through when the current photographing mode of mobile terminal is self-timer mode
The detection of detection and voice signal to the facial image mouth states of mobile terminal taken pictures in preview interface, to generation mouth
Bar merge and to be detected simultaneously by the facial image of voice signal by voice signal progress gender identification, and thereby determines that the face
The processing parameter of taking pictures of image is taken pictures, and is improved sex-screening discrimination and can realizing and is advanced optimized to image of taking pictures
Processing promotes self-timer and takes pictures effect and user experience.
Fourth embodiment
As shown in figure 4, the flow chart of the photographic method for fourth embodiment of the invention.Below should figure illustrate the bat
According to the specific implementation process of method.
Step 401, it detects in the preview interface of taking pictures of mobile terminal with the presence or absence of facial image.
What needs to be explained here is that detecting mobile terminal after camera function and the sound-recording function starting of mobile terminal
Take pictures in preview interface with the presence or absence of facial image.
Here, the camera on mobile terminal can obtain the frame image taken pictures in preview interface in real time, that is to say, that if clapping
According to preview interface when facial image is not detected in the image of former frame, will continue to carry out Face datection to next frame image.
Step 402, and if it exists, mouth states detection then is carried out to the facial image, and detects voice signal.
It should be noted that executing step 403 and step 405 respectively after step 402.Wherein, step 403 and step
Rapid 405 parallel execution, point of no sequencing.
Here, mouth states detection is carried out to facial image, mainly to the continuous present count taken pictures in preview interface
The mouth states of the frame image of amount are compared, and whether detection facial image occurs mouth opening and closing variation.
It should be noted that being needed true before carrying out mouth states detection to the facial image and detecting voice signal
The fixed facial image is in the band of position taken pictures in preview interface and size.
Here, facial image is determined in the band of position and the size in preview interface of taking pictures, and is to be in facial image
When multiple, convenient for distinguishing different facial images.
Step 403, it detects that mouth opening and closing occur for the first facial image, and is detected simultaneously by voice signal, then identify institute
Predicate sound signal obtains the corresponding gender information of first facial image.
It should be noted that by recognition of speech signals, that is, sound, determine the corresponding personage's property of the first facial image
Not, it is not influenced by extraneous optical condition, the discrimination of sex-screening can be improved.
Here, if facial image, which is not detected, occurs mouth opening and closing, that is, any face figure in preview interface of taking pictures
Mouth opening and closing occur as it is not detected, then gender are identified based on facial image.
Step 404, according to the corresponding gender information of first facial image, the processing of taking pictures of the first facial image is determined
Parameter.
Step 405, detect to include the second facial image in addition to first facial image in the facial image, and
Second facial image is in the non-opening and closing state of mouth, then identifies second facial image, obtains the second face figure
As corresponding gender information.
What needs to be explained here is that the first facial image and the second facial image can be existed by predetermined facial image
The band of position in preview interface and size take pictures to distinguish.
Step 406, according to the corresponding gender information of second facial image, the processing of taking pictures of the second facial image is determined
Parameter.
Here, it is pre-set according to different gender informations that processing parameter of taking pictures can be system, is also possible to system
Generation is calculated according to current gender information, setting can also be customized by the user according to current gender information certainly.
In this way, different genders can be used different processing parameters of taking pictures, that is, the beauty parameter often said, so that clapping
It is more natural according to effect, meet the requirement of taking pictures of user.
Step 407, according to the processing ginseng of taking pictures of take pictures processing parameter and the second facial image of first facial image
Number, takes pictures.
Photographic method provided in an embodiment of the present invention passes through the facial image mouth taken pictures in preview interface to mobile terminal
Bar detection of state and the detection of voice signal, to occur mouth opening and closing and be detected simultaneously by voice signal facial image it is logical
It crosses voice signal and carries out gender identification, gender identification is carried out by image to the facial image that mouth opening and closing do not occur, and thus
Determine that the processing parameter of taking pictures of facial image is taken pictures, improve sex-screening discrimination and can realize to image of taking pictures into
One-step optimization processing, promotes take pictures effect and user experience.
5th embodiment
As shown in figure 5, the flow chart of the photographic method for fifth embodiment of the invention.Below should figure illustrate the bat
According to the specific implementation process of method.
Step 501, it detects in the preview interface of taking pictures of mobile terminal with the presence or absence of facial image.
What needs to be explained here is that detecting mobile terminal after camera function and the sound-recording function starting of mobile terminal
Take pictures in preview interface with the presence or absence of facial image.
Here, the camera on mobile terminal can obtain the frame image taken pictures in preview interface in real time, that is to say, that if clapping
According to preview interface when facial image is not detected in the image of former frame, will continue to carry out Face datection to next frame image.
Step 502, and if it exists, mouth states detection then is carried out to the facial image, and detects voice signal.
Here, mouth states detection is carried out to facial image, mainly to the continuous present count taken pictures in preview interface
The mouth states of the frame image of amount are compared, and whether detection facial image occurs mouth opening and closing variation.
Step 503, it detects that mouth opening and closing occur for the first facial image, and is detected simultaneously by voice signal, then identify institute
Predicate sound signal obtains corresponding first gender information undetermined of first facial image.
Step 504, it identifies the first facial image, obtains corresponding second gender information undetermined of first facial image.
There is also the need to explanations, if can not identify the first face by voice signal in step 503 in the present embodiment
When the corresponding personage's gender of image, then the corresponding gender of the first facial image identified in step 504 is adopted;If step 504
In when can not identify the corresponding personage's gender of the first facial image by image, then adopt identified in step 503 it is the first
The corresponding gender of face image.In this way, can further improve the discrimination of sex-screening.
Step 505, when the described first gender information undetermined is identical as the described second gender information undetermined, by described first
Gender information undetermined or second gender information undetermined are as the corresponding gender information of first facial image.
Step 506, as the described first gender information undetermined and described second gender information's difference undetermined, then according to default
Sex-screening priority, the gender information undetermined that the sex-screening of high priority is determined is as first facial image
Corresponding gender information.
Here, sex-screening priority can be system default setting, can also be customized by the user setting.
Step 507, according to the corresponding gender information of first facial image, the processing of taking pictures of the first facial image is determined
Parameter.
Step 508, it according to the processing parameter of taking pictures, takes pictures.
Here, it is pre-set according to different gender informations that processing parameter of taking pictures can be system, is also possible to system
Generation is calculated according to current gender information, setting can also be customized by the user according to current gender information certainly.
In this way, different genders can be used different processing parameters of taking pictures, that is, the beauty parameter often said, so that clapping
It is more natural according to effect, meet the requirement of taking pictures of user.
Photographic method provided in an embodiment of the present invention passes through the facial image mouth taken pictures in preview interface to mobile terminal
Bar detection of state and the detection of voice signal, to occur mouth opening and closing and be detected simultaneously by voice signal facial image it is logical
It crosses voice signal and image combines and carries out gender identification, and thereby determine that the processing parameter of taking pictures of facial image is clapped
According to, further increase sex-screening discrimination and can realize the processing that advanced optimizes to image of taking pictures, promotion take pictures effect and
User experience.
Sixth embodiment
As shown in fig. 6, the embodiment of the present invention also provides a kind of mobile terminal 600, comprising:
First detection module 601 whether there is facial image in the preview interface of taking pictures for detecting mobile terminal;
Second detection module 602, for detecting in the preview interface of taking pictures there are when facial image, to the people
Face image carries out mouth states detection, and detects voice signal;
First identification module 603 for detecting that the first facial image is in mouth opening and closing state, and is detected simultaneously by
Voice signal then identifies the voice signal, obtains the corresponding gender information of first facial image;
First parameter determination module 604, for determining the first according to the corresponding gender information of first facial image
The processing parameter of taking pictures of face image;
Photo module 605 is taken pictures for processing parameter of taking pictures according to.
Specifically, as shown in fig. 7, the mobile terminal 600 of the present embodiment also may particularly include:
Second identification module 606, for after detecting voice signal, identifying whether the voice signal includes to take pictures
Instruction;
Photo module 605 also may particularly include:
First photographing unit 6051, for when the voice signal includes photographing instruction, according to the photographing instruction
And the processing parameter of taking pictures, it takes pictures.
Specifically, the mobile terminal 600 of the present embodiment also may particularly include:
Judgment module 607, for, with the presence or absence of before facial image, sentencing in the preview interface of taking pictures of detection mobile terminal
Whether the current photographing mode of disconnected mobile terminal is self-timer mode, if so, executing the step in the first detection module 601
Suddenly.
Specifically, the mobile terminal 600 in the present embodiment also may particularly include:
Third identification module 608, for including in addition to first facial image in detecting the facial image
Second facial image, and second facial image is in the non-opening and closing state of mouth, then identifies second facial image, obtain
The corresponding gender information of second facial image;
Second parameter determination module 609, for determining the second people according to the corresponding gender information of second facial image
The processing parameter of taking pictures of face image;
Photo module 605 also may particularly include:
Second photographing unit 6052, for take pictures processing parameter and the second facial image according to first facial image
Processing parameter of taking pictures, take pictures.
Specifically, first identification module 603 of the present embodiment also may particularly include:
First recognition unit 6031 for detecting that the first facial image is in mouth opening and closing state, and detects simultaneously
To after voice signal, the voice signal is identified, obtain corresponding first gender information undetermined of first facial image;
Second recognition unit 6032, the first facial image, obtains first facial image corresponding second for identification
Gender information undetermined;
First determination unit 6033, for identical as the described second gender information undetermined in the described first gender information undetermined
When, using the described first gender information undetermined or second gender information undetermined as the corresponding gender of first facial image
Information.
Second determination unit 6034, for different from the described second gender information undetermined in the described first gender information undetermined
When, then according to preset sex-screening priority, the gender information undetermined that the sex-screening of high priority is determined is as institute
State the corresponding gender information of the first facial image.
Mobile terminal provided in an embodiment of the present invention is taken pictures by the second detection module to what first detection module detected
Facial image in preview interface carries out the detection of mouth states and the detection of voice signal, and the first identification module is to generation mouth
Bar merge and to be detected simultaneously by the facial image of voice signal by voice signal progress gender identification, takes pictures processing module thus
It determines that the processing parameter of taking pictures of the facial image, photo module are taken pictures according to the processing parameter of taking pictures, improves sex-screening
Discrimination and it can realize further optimization processing to image of taking pictures, promotion is taken pictures effect and user experience.
7th embodiment
As shown in figure 8, for the structural block diagram of terminal in seventh embodiment of the invention.Mobile terminal 700 shown in Fig. 8, packet
It includes:
At least one processor 701, memory 702, at least one network interface 704 and user interface 703.Mobile terminal
Various components in 700 are coupled by bus system 705.It is understood that bus system 705 is for realizing these components
Between connection communication.Bus system 705 further includes power bus, control bus and state letter in addition to including data/address bus
Number bus.But for the sake of clear explanation, various buses are all designated as bus system 705 in Fig. 8.
Wherein, user interface 703 may 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 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), the read-only storage of erasable programmable
Device (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (RandomAccessMemory, RAM), be used as external high speed
Caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(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 702 of system and method described herein be intended to include but be not limited to these and
The memory of any other suitable type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include 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 7022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 7022.
In one embodiment of this invention, by the program or instruction of calling memory 702 to store, the specific can be that
The program or instruction stored in application program 7022, processor 701 be used to detect in the preview interface of taking pictures of mobile terminal whether
There are facial images;If it exists, then mouth states detection is carried out to the facial image, and detects voice signal;If detecting
First facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then identifies the voice signal, obtains described
The corresponding gender information of first facial image;According to the corresponding gender information of first facial image, the first face figure is determined
The processing parameter of taking pictures of picture;According to the processing parameter of taking pictures, take pictures.
What needs to be explained here is that voice signal, the first facial image, the corresponding gender information of the first facial image and
The processing parameter of taking pictures of first facial image can be stored in memory 702, and processor 701 can call the language in memory 702
The processing parameter of taking pictures of sound signal, the first facial image, the corresponding gender information of the first facial image and the first facial image.
Optionally, processor 701 can also be specifically used for: after detecting voice signal, identify that the voice signal is
No includes photographing instruction;When the voice signal includes photographing instruction, according to the photographing instruction and the processing of taking pictures
Parameter is taken pictures.
What needs to be explained here is that photographing instruction can be stored in memory 702, processor 701 can call memory 702
In photographing instruction.
Optionally, processor 701 is also used to: whether there is facial image in the preview interface of taking pictures of detection mobile terminal
Before, whether the current photographing mode for judging mobile terminal is self-timer mode, if so, into the bat of the detection mobile terminal
According to the step of whether there is facial image in preview interface.
Optionally, processor 701 can also be specifically used for: carrying out mouth states detection to the facial image, and detecting
After voice signal, if detecting includes the second facial image in addition to first facial image in the facial image, and
Second facial image is in the non-opening and closing state of mouth, then identifies second facial image, obtains the second face figure
As corresponding gender information;According to the corresponding gender information of second facial image, the place of taking pictures of the second facial image is determined
Manage parameter.
Optionally, processor 701 can also be specifically used for: according to take pictures processing parameter and second of first facial image
The processing parameter of taking pictures of facial image, takes pictures.
What needs to be explained here is that the second facial image, the corresponding gender information of the second facial image and the second face figure
The processing parameter of taking pictures of picture can be stored in memory 702, and processor 701 can call the second face figure in memory 702
The processing parameter of taking pictures of picture, the corresponding gender information of the second facial image and the second facial image.
Optionally, processor 701 can also be specifically used for: detecting that the first facial image is in mouth opening and closing state, and
It is detected simultaneously by after voice signal, identifies the voice signal, obtain first facial image corresponding first to qualitative
Other information;It identifies the first facial image, obtains corresponding second gender information undetermined of first facial image;When described first
When gender information undetermined is identical as the described second gender information undetermined, by the described first gender information undetermined or described second undetermined
Gender information is as the corresponding gender information of first facial image.
Optionally, processor 701 can also be specifically used for: as the described first gender information undetermined and the described second gender undetermined
When information difference, then according to preset sex-screening priority, the gender undetermined that the sex-screening of high priority is determined is believed
Breath is as the corresponding gender information of first facial image.
Here, the first gender information, the second gender information undetermined and preset sex-screening priority undetermined can be stored in
In memory 702, processor 701 can call the in memory 702 first gender information undetermined, the second gender information undetermined and pre-
If sex-screening priority.
Mobile terminal of the invention such as can be mobile phone, tablet computer, personal digital assistant (PersonalDigital
Assistant, PDA) or vehicle-mounted computer etc. mobile terminal.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
The mobile terminal 700 of the embodiment of the present invention is used to detect the preview interface of taking pictures of mobile terminal by processor 701
It is interior to whether there is facial image;If it exists, then mouth states detection is carried out to the facial image, and detects voice signal;If
It detects that the first facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then identify the voice signal, obtain
To the corresponding gender information of first facial image;According to the corresponding gender information of first facial image, first is determined
The processing parameter of taking pictures of facial image is taken pictures according to the processing parameter of taking pictures, in this way, passing through the bat to mobile terminal
The detection of detection and voice signal according to the facial image mouth states in preview interface is simultaneously examined simultaneously to mouth opening and closing occur
The facial image for measuring voice signal carries out gender identification by voice signal, and thereby determines that the processing of taking pictures of the facial image
Parameter is simultaneously taken pictures, and is improved sex-screening discrimination and can be realized the further optimization processing to image of taking pictures, is promoted and clapped
According to effect and user experience.
The method that the embodiments of the present invention disclose can be applied in processor 701, or real by processor 701
It is existing.Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method
Each step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned place
Reason device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), dedicated integrated electricity
Road (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 702, and processor 701 reads the information in memory 702, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application
SpecificIntegratedCircuits, 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, micro-
In controller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein
The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or
It is realized outside processor.
8th embodiment
As shown in figure 9, for the structural block diagram of terminal in eighth embodiment of the invention.Mobile terminal 800 shown in Fig. 9, packet
It includes:
Radio frequency (RadioFrequency, RF) circuit 810, memory 820, input unit 830, display unit 840, processing
Device 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply 890.
Wherein, input unit 830 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 800 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 831.Touch panel 831, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 831 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 831 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal 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 860 is given again, and can be received order that processor 860 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 831.In addition to touch panel 831, input unit
830 can also include other input equipments 832, other input equipments 832 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 840 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 800.Display unit 840 may include display panel 841, optionally, can use LCD or organic hair
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 841.
It should be noted that touch panel 831 can cover display panel 841, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 860 is sent to determine the type of touch event, is followed by subsequent processing device
860 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 elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 860 is the control centre of mobile terminal 800, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 821, and calling storage
Data in second memory 822 execute the various functions and processing data of mobile terminal 800, thus to mobile terminal 800
Carry out integral monitoring.Optionally, processor 860 may include one or more processing units.
In one embodiment of this invention, by calling the software program and/or mould that store in the first memory 821
Data in block and/or the second memory 822, processor 860 be used to detect in the preview interface of taking pictures of mobile terminal whether
There are facial images;If it exists, then mouth states detection is carried out to the facial image, and detects voice signal;If detecting
First facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then identifies the voice signal, obtains described
The corresponding gender information of first facial image;According to the corresponding gender information of first facial image, the first face figure is determined
The processing parameter of taking pictures of picture;According to the processing parameter of taking pictures, take pictures.
It should be noted that voice signal, the first facial image, the corresponding gender information of the first facial image and first
The processing parameter of taking pictures of facial image can be stored in second memory 822, and processor 860 can call in second memory 822
Voice signal, the first facial image, the corresponding gender information of the first facial image and the first facial image processing of taking pictures
Parameter.
Optionally, processor 860 can also be specifically used for: after detecting voice signal, identify that the voice signal is
No includes photographing instruction;When the voice signal includes photographing instruction, according to the photographing instruction and the processing of taking pictures
Parameter is taken pictures.
What needs to be explained here is that photographing instruction can be stored in first memory 821, processor 860 can call first
Photographing instruction in memory 821.
Optionally, processor 860 can also be specifically used for: whether there is people in the preview interface of taking pictures of detection mobile terminal
Before face image, judge whether the current photographing mode of mobile terminal is self-timer mode, if so, mobile eventually into the detection
The step of in the preview interface of taking pictures at end with the presence or absence of facial image.
Optionally, processor 860 can also be specifically used for: carrying out mouth states detection to the facial image, and detecting
After voice signal, if detecting includes the second facial image in addition to first facial image in the facial image, and
Second facial image is in the non-opening and closing state of mouth, then identifies second facial image, obtains the second face figure
As corresponding gender information;According to the corresponding gender information of second facial image, the place of taking pictures of the second facial image is determined
Manage parameter.
Optionally, processor 860 can also be specifically used for: according to take pictures processing parameter and second of first facial image
The processing parameter of taking pictures of facial image, takes pictures.
What needs to be explained here is that the second facial image, the corresponding gender information of the second facial image and the second face figure
The processing parameter of taking pictures of picture can be stored in second memory 822, and processor 860 can call second in second memory 822
The processing parameter of taking pictures of facial image, the corresponding gender information of the second facial image and the second facial image.
Optionally, processor 860 can also be specifically used for: detecting that the first facial image is in mouth opening and closing state, and
It is detected simultaneously by after voice signal, identifies the voice signal, obtain first facial image corresponding first to qualitative
Other information;It identifies the first facial image, obtains corresponding second gender information undetermined of first facial image;When described first
When gender information undetermined is identical as the described second gender information undetermined, by the described first gender information undetermined or described second undetermined
Gender information is as the corresponding gender information of first facial image.
Optionally, processor 860 can also be specifically used for: as the described first gender information undetermined and the described second gender undetermined
When information difference, then according to preset sex-screening priority, the gender undetermined that the sex-screening of high priority is determined is believed
Breath is as the corresponding gender information of first facial image.
Here, the first gender information, the second gender information undetermined and preset sex-screening priority undetermined can be stored in
In second memory 822, processor 860 can call the in second memory 822 first gender information undetermined, the second gender undetermined
Information and preset sex-screening priority.
Mobile terminal 800 provided in an embodiment of the present invention, processor 860 are used to detect the preview interface of taking pictures of mobile terminal
It is interior to whether there is facial image;If it exists, then mouth states detection is carried out to the facial image, and detects voice signal;If
It detects that the first facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then identify the voice signal, obtain
To the corresponding gender information of first facial image;According to the corresponding gender information of first facial image, first is determined
The processing parameter of taking pictures of facial image is taken pictures according to the processing parameter of taking pictures, in this way, by taking pictures to mobile terminal
The detection of facial image mouth states in preview interface and the detection of voice signal simultaneously detect simultaneously to mouth opening and closing occur
Facial image to voice signal carries out gender identification by voice signal, and thereby determines that the processing ginseng of taking pictures of the facial image
It counts and takes pictures, improve sex-screening discrimination and can realize the further optimization processing to image of taking pictures, promotion is taken pictures
Effect and user experience.
Mobile terminal of the invention such as can be mobile phone, tablet computer, personal digital assistant (PersonalDigital
Assistant, PDA) or vehicle-mounted computer etc. mobile terminal.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, 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, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is controlled by computer program to complete, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications
It should be regarded as protection scope of the present invention.
Claims (10)
1. a kind of photographic method characterized by comprising
With the presence or absence of facial image in the preview interface of taking pictures of detection mobile terminal;
If it exists, then mouth states detection is carried out to the facial image, and detects voice signal;
If detecting, the first facial image is in mouth opening and closing state, and is detected simultaneously by voice signal, then identifies the voice
Signal obtains the corresponding gender information of first facial image;
According to the corresponding gender information of first facial image, the processing parameter of taking pictures of the first facial image is determined;
According to the processing parameter of taking pictures, take pictures;
Mouth states detection is carried out to the facial image, and after detecting voice signal, the method also includes:
If detecting to include the second facial image in addition to first facial image in the facial image, and second people
Face image is in the non-opening and closing state of mouth, then identifies second facial image, obtains the corresponding property of second facial image
Other information;
According to the corresponding gender information of second facial image, the processing parameter of taking pictures of the second facial image is determined;
The processing parameter of taking pictures according to, takes pictures, comprising:
According to the processing parameter of taking pictures of take pictures processing parameter and the second facial image of first facial image, take pictures.
2. photographic method according to claim 1, which is characterized in that after detecting voice signal, the method is also
Include:
Identify whether the voice signal includes photographing instruction;
The processing parameter of taking pictures according to, takes pictures, comprising:
When the voice signal includes photographing instruction, according to the photographing instruction and the processing parameter of taking pictures, clapped
According to.
3. photographic method according to claim 1, which is characterized in that be in the preview interface of taking pictures of detection mobile terminal
It is no there are before facial image, the method also includes:
Whether the current photographing mode for judging mobile terminal is self-timer mode, if so, into the bat of the detection mobile terminal
According to the step of whether there is facial image in preview interface.
4. photographic method according to claim 1, which is characterized in that detecting that the first facial image is in mouth opening and closing
State, and be detected simultaneously by after voice signal, the method also includes:
It identifies the voice signal, obtains corresponding first gender information undetermined of first facial image;
It identifies the first facial image, obtains corresponding second gender information undetermined of first facial image;
When the described first gender information undetermined is identical as the described second gender information undetermined, by the described first gender information undetermined
Or second gender information undetermined is as the corresponding gender information of first facial image.
5. photographic method according to claim 4, which is characterized in that the method also includes:
It is as the described first gender information undetermined and described second gender information's difference undetermined, then excellent according to preset sex-screening
First grade, the gender information undetermined that the sex-screening of high priority is determined is as the corresponding gender letter of first facial image
Breath.
6. a kind of mobile terminal characterized by comprising
First detection module whether there is facial image in the preview interface of taking pictures for detecting mobile terminal;
Second detection module, for detecting in the preview interface of taking pictures there are when facial image, to the facial image
Mouth states detection is carried out, and detects voice signal;
First identification module for detecting that the first facial image is in mouth opening and closing state, and is detected simultaneously by voice letter
Number, then it identifies the voice signal, obtains the corresponding gender information of first facial image;
First parameter determination module, for determining the first facial image according to the corresponding gender information of first facial image
Processing parameter of taking pictures;
Photo module is taken pictures for processing parameter of taking pictures according to;
The mobile terminal further include:
Third identification module, for including the second face in addition to first facial image in detecting the facial image
Image, and second facial image is in the non-opening and closing state of mouth, then identifies second facial image, obtain described second
The corresponding gender information of facial image;
Second parameter determination module, for determining the second facial image according to the corresponding gender information of second facial image
Processing parameter of taking pictures;
The photo module includes:
Second photographing unit, for the place of taking pictures according to take pictures processing parameter and the second facial image of first facial image
Parameter is managed, is taken pictures.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Second identification module, for after detecting voice signal, identifying whether the voice signal includes photographing instruction;
The photo module includes:
First photographing unit, for when the voice signal includes photographing instruction, according to the photographing instruction and the bat
According to processing parameter, take pictures.
8. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Judgment module, for, with the presence or absence of before facial image, judging to move in the preview interface of taking pictures of detection mobile terminal
Whether the current photographing mode of terminal is self-timer mode, if so, executing the step in the first detection module.
9. mobile terminal according to claim 6, which is characterized in that first identification module includes:
First recognition unit for detecting that the first facial image is in mouth opening and closing state, and is detected simultaneously by voice letter
After number, the voice signal is identified, obtain corresponding first gender information undetermined of first facial image;
Second recognition unit, the first facial image, obtains corresponding second gender undetermined of first facial image for identification
Information;
First determination unit, for when the described first gender information undetermined is identical as the described second gender information undetermined, by institute
The first gender information undetermined or second gender information undetermined are stated as the corresponding gender information of first facial image.
10. mobile terminal according to claim 9, which is characterized in that first identification module further include:
Second determination unit is used in the described first gender information undetermined and described second gender information's difference undetermined, then root
According to preset sex-screening priority, the gender information undetermined that the sex-screening of high priority is determined is as described the first
The corresponding gender information of face image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610927814.9A CN106331509B (en) | 2016-10-31 | 2016-10-31 | A kind of photographic method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610927814.9A CN106331509B (en) | 2016-10-31 | 2016-10-31 | A kind of photographic method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106331509A CN106331509A (en) | 2017-01-11 |
CN106331509B true CN106331509B (en) | 2019-08-20 |
Family
ID=57819315
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610927814.9A Active CN106331509B (en) | 2016-10-31 | 2016-10-31 | A kind of photographic method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106331509B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107222675A (en) * | 2017-05-23 | 2017-09-29 | 维沃移动通信有限公司 | The photographic method and mobile terminal of a kind of mobile terminal |
CN107301389B (en) * | 2017-06-16 | 2020-04-14 | Oppo广东移动通信有限公司 | Method, device and terminal for identifying user gender based on face features |
CN107734149A (en) * | 2017-09-25 | 2018-02-23 | 努比亚技术有限公司 | A kind of image pickup method, terminal and computer-readable recording medium |
CN108734126B (en) * | 2018-05-21 | 2020-11-13 | 深圳市梦网科技发展有限公司 | Beautifying method, beautifying device and terminal equipment |
CN111127368A (en) * | 2019-12-27 | 2020-05-08 | 维沃移动通信有限公司 | Image correction method and electronic equipment |
CN113506578A (en) * | 2021-06-30 | 2021-10-15 | 中汽创智科技有限公司 | Voice and image matching method and device, storage medium and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682273A (en) * | 2011-03-18 | 2012-09-19 | 夏普株式会社 | Device and method for detecting lip movement |
CN103702028A (en) * | 2013-12-19 | 2014-04-02 | 小米科技有限责任公司 | Method and device for controlling shooting and terminal equipment |
CN105357425A (en) * | 2015-11-20 | 2016-02-24 | 小米科技有限责任公司 | Image shooting method and image shooting device |
CN105700682A (en) * | 2016-01-08 | 2016-06-22 | 北京乐驾科技有限公司 | Intelligent gender and emotion recognition detection system and method based on vision and voice |
CN105959211A (en) * | 2016-07-09 | 2016-09-21 | 东莞市华睿电子科技有限公司 | Image collection method based on instant messaging |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020130955A1 (en) * | 2001-01-12 | 2002-09-19 | Daniel Pelletier | Method and apparatus for determining camera movement control criteria |
-
2016
- 2016-10-31 CN CN201610927814.9A patent/CN106331509B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102682273A (en) * | 2011-03-18 | 2012-09-19 | 夏普株式会社 | Device and method for detecting lip movement |
CN103702028A (en) * | 2013-12-19 | 2014-04-02 | 小米科技有限责任公司 | Method and device for controlling shooting and terminal equipment |
CN105357425A (en) * | 2015-11-20 | 2016-02-24 | 小米科技有限责任公司 | Image shooting method and image shooting device |
CN105700682A (en) * | 2016-01-08 | 2016-06-22 | 北京乐驾科技有限公司 | Intelligent gender and emotion recognition detection system and method based on vision and voice |
CN105959211A (en) * | 2016-07-09 | 2016-09-21 | 东莞市华睿电子科技有限公司 | Image collection method based on instant messaging |
Also Published As
Publication number | Publication date |
---|---|
CN106331509A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331509B (en) | A kind of photographic method and mobile terminal | |
CN107181913B (en) | A kind of photographic method and mobile terminal | |
EP3661187B1 (en) | Photography method and mobile terminal | |
CN105959553B (en) | A kind of switching method and terminal of camera | |
CN106020613B (en) | A kind of operating method and mobile terminal of unread message | |
CN106231178B (en) | A kind of self-timer method and mobile terminal | |
WO2020238744A1 (en) | Processing method, device and apparatus for split-screen display, and storage medium | |
US11513608B2 (en) | Apparatus, method and recording medium for controlling user interface using input image | |
CN107368150A (en) | A kind of photographic method and mobile terminal | |
CN106657793B (en) | A kind of image processing method and mobile terminal | |
CN106126108B (en) | A kind of generation method and mobile terminal of thumbnail | |
US20200341600A1 (en) | Method for Page Displaying and Terminals | |
CN106648382B (en) | A kind of picture browsing method and mobile terminal | |
CN106780685B (en) | A kind of generation method and terminal of dynamic picture | |
CN106293332B (en) | A kind of processing method and mobile terminal of singlehanded positioning application | |
CN106937054B (en) | A kind of take pictures weakening method and the mobile terminal of mobile terminal | |
CN106657806B (en) | A kind of exposure method and mobile terminal | |
CN106952235B (en) | A kind of image processing method and mobile terminal | |
CN108595074A (en) | Status bar operating method, device and computer readable storage medium | |
CN104793843B (en) | desktop display method and device | |
CN106354303B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN106713659B (en) | A kind of panorama shooting method and mobile terminal | |
CN107026982B (en) | A kind of photographic method and mobile terminal of mobile terminal | |
CN106412671B (en) | A kind of video broadcasting method and mobile terminal | |
CN106993139B (en) | A kind of image pickup method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211213 Address after: 200120 floors 1-3, No. 57, Boxia Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Patentee after: Aiku software technology (Shanghai) Co.,Ltd. Address before: 523860 No. 283 BBK Avenue, Changan Town, Changan, Guangdong. Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd. |
|
TR01 | Transfer of patent right |