Summary of the invention
For above-mentioned defect, the object of the present invention is to provide a kind of image pickup method and communication terminal of communication terminal, can automatically select person who attract people's attention when taking pictures and be optimized photographing process, thus the optimum state of person who attract people's attention can be captured easily
To achieve these goals, the invention provides a kind of image pickup method of communication terminal, comprising step has:
Prioritizing step, arranges the priority of the personage that is taken;
Priority detecting step, detects the described priority that described personage is corresponding, and selects described personage that described priority is the highest as person who attract people's attention;
Optimize shooting step, photographing process is optimized to described person who attract people's attention.
According to image pickup method of the present invention, described prioritizing step specifically comprises: the priority arranging contact person in address list;
Also comprise before described priority detecting step:
Contact person's determining step, starts after camera applications, judges that whether personage in shooting preview image is the described contact person in described address list according to face recognition technology;
Described priority detecting step specifically comprises: if described personage is the described contact person in described address list, then detect the described priority that described personage is corresponding, and selects described personage that described priority is the highest as person who attract people's attention.
According to image pickup method of the present invention, described optimization shooting step comprises:
Expression detects sub-step, and after receiving user's photographing instruction, whether the human face expression detecting described person who attract people's attention meets predetermined expression condition;
First instruction performs sub-step, if meet described expression condition, then performs described user's photographing instruction.
According to image pickup method of the present invention, described expression also comprises after detecting sub-step:
Time-out judges sub-step, if do not meet described expression condition, then judges whether the time that current distance receives described user's photographing instruction has exceeded predetermined time threshold value, if then perform the second instruction to perform sub-step, otherwise turns back to described expression detection sub-step;
Second instruction performs sub-step, if when not meeting described expression condition and exceeded described time threshold, then select from the historical data of described shooting preview image described person who attract people's attention closest to described expression condition moment as shooting the moment, perform described user's photographing instruction.
According to image pickup method of the present invention, if when the number of described person who attract people's attention is at least two, described optimization shooting step also comprises:
Personage's chooser step, according to user's selection instruction, selects part or all of described person who attract people's attention;
Described expression detects sub-step and comprises: after receiving described user's photographing instruction, whether the human face expression of the described person who attract people's attention selected by detection all meets described expression condition, if then perform described first instruction to perform sub-step, otherwise perform described time-out and judge sub-step;
Described first instruction performs sub-step and comprises: if when all meeting described expression condition, then perform described user's photographing instruction;
Described time-out judges that sub-step comprises: if not all meet described expression condition, then judge whether the time that current distance receives described user's photographing instruction has exceeded described time threshold, if then perform described second instruction to perform sub-step, otherwise turn back to described expression detection sub-step;
Described second instruction performs sub-step and comprises: if when not all meeting described expression condition and exceeded described time threshold, from the historical data of described shooting preview image, then select the most multiple selected described person who attract people's attention to meet the moment of described expression condition as the shooting moment, perform described user's photographing instruction.
The present invention also provides a kind of communication terminal, includes:
Priority arranges module, for arranging the priority of contact person;
Priority detection module, for detecting described priority corresponding to described personage, and selects described personage that described priority is the highest as person who attract people's attention;
Optimize taking module, for being optimized photographing process to described person who attract people's attention.
According to communication terminal of the present invention, described priority arranges module for arranging the priority of contact person in address list;
Described communication terminal also comprises:
According to face recognition technology, contact person's judge module, after starting camera applications, judges that whether personage in shooting preview image is the described contact person in described address list;
Described priority detection module also comprises: if described personage is the described contact person in described address list, then detect the described priority that described personage is corresponding, and selects described personage that described priority is the highest as person who attract people's attention.
According to communication terminal of the present invention, described optimization taking module comprises:
Expression detection sub-module, after receiving user's photographing instruction, whether the human face expression detecting described person who attract people's attention meets predetermined expression condition;
First command executing sub module, if for meeting described expression condition time, perform described user's photographing instruction.
According to communication terminal of the present invention, described optimization taking module also comprises:
Time-out judges submodule, if during for not meeting described expression condition, judge whether the time that current distance receives described user's photographing instruction has exceeded predetermined time threshold value, if then perform the second command executing sub module, otherwise return and perform described expression detection sub-module;
Second command executing sub module, if during for not meeting described expression condition and having exceeded described time threshold, select from the historical data of described shooting preview image described person who attract people's attention closest to described expression condition moment as shooting the moment, perform described user's photographing instruction.
According to communication terminal of the present invention, if when the number of described person who attract people's attention is at least two, described optimization taking module also comprises:
Personage's chooser module, for according to user's selection instruction, selects part or all of described person who attract people's attention;
Described expression detection sub-module, after receiving described user's photographing instruction, whether the human face expression of the described person who attract people's attention selected by detection all meets described expression condition, if then perform described first command executing sub module, otherwise performs described time-out and judges submodule;
Described first command executing sub module, if for all meeting described expression condition time, perform described user's photographing instruction;
Described time-out judges submodule, if during for not all meeting described expression condition, judge whether the time that current distance receives described user's photographing instruction has exceeded described time threshold, if then perform described second command executing sub module, otherwise return and perform described expression detection sub-module;
Described second command executing sub module, if during for not all meeting described expression condition and having exceeded described time threshold, from the historical data of described shooting preview image, then select the most multiple selected described person who attract people's attention to meet the moment of described expression condition as the shooting moment, perform described user's photographing instruction.
Communication terminal of the present invention, when taking pictures, judges the priority of the personage in shooting preview image according to face recognition technology, select the highest personage of priority as person who attract people's attention and be optimized photographing process.Whereby, the present invention can automatically select person who attract people's attention when taking pictures and be optimized photographing process, thus can capture the optimum state of person who attract people's attention easily.Be more preferably, the present invention is taken by the human face expression of detection and control person who attract people's attention, so that obtain optimum shooting effect.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 is the structural representation of communication terminal of the present invention, described communication terminal 100 can be mobile phone, the PDA(Personal Digital Assistant with shoot function, personal digital assistant), panel computer etc., and described communication terminal 100 includes priority and arranges module 10, contact person's judge module 40, priority detection module 20 and optimize taking module 30, wherein:
Described priority arranges module 10, and for arranging the priority of the personage that is taken, the priority of described personage can be arranged by system default or User Defined is arranged.Preferably, the present invention prestore in communication terminal 100 in advance some first personages the first head portrait, the head portrait of such as contact person, and the priority that described first personage is set.
Described priority detection module 20, for detecting described priority corresponding to described personage, and selects described personage that described priority is the highest as person who attract people's attention.If the personage that priority is the highest has multiple, personage that part or all of priority is the highest can be selected as person who attract people's attention.Preferably, communication terminal 100, according to recognition of face skill, judges whether second head portrait of the second personage in shooting preview image matches with the first head portrait prestored, if coupling, can obtain the priority that described second personage is corresponding.
Described optimization taking module 30, for focusing, personage is optimized photographing process.Described optimization photographing process refers to that focusing personage carries out optimum photographing process when taking, and to ensure that person who attract people's attention obtains best shooting effect, the human face expression of preferred detection and control person who attract people's attention is taken, to obtain the expression effect of emphasis personage the best; Or preferably take using the face of person who attract people's attention as focusing, to obtain emphasis personage image effect the most clearly.
The present invention adds and judges the priority of the personage that is taken, and when taking pictures, using the highest personage of priority as person who attract people's attention, controls camera shutter, the state optimization that the person who attract people's attention that guarantee priority is high shoots.
Fig. 2 is the structural representation of preferred communication terminal of the present invention, and described communication terminal 100 includes priority and arranges module 10, contact person's judge module 40, priority detection module 20 and optimize taking module 30, wherein:
Described priority arranges module 10, and for arranging the priority of contact person in address list, the priority of described contact person can be arranged by system default or User Defined is arranged.Whether preferably, user, before taking pictures, can open camera applications, arrange automatic in shooting preview image, carries out detection and control to the priority of personage and shooting.Be more preferably, the priority of contact person can be set according to the type of contact person in address list, such as contact person can be divided into three types: VIP contact person, important relation people and ordinary contacts, the priority of described VIP contact person is higher than the priority of important relation people, and the priority of described important relation people is higher than the priority of ordinary contacts.Be more preferably, also can carry out priority setting according to contact name etc., contact name is called that the contact persons such as mother, father, wife are automatically set as the first priority by such as system, contact name is called the contact persons such as Chen is total, king office are automatically set as the second priority etc.Certainly, user can adopt the priority-level of the self-defined contact person of additive method as required, such as, carry out priority setting to each contact person one by one.
Described contact person's judge module 40, after starting camera applications, judge that whether personage in shooting preview image is the contact person in address list according to face recognition technology, this takes the photograph preview image can be shown in camera view interface.Preferably, in the address list of communication terminal 100, the contact head image of contact person and associated person information have carried out man-to-man coupling.Judge whether personage's head portrait of the personage in shooting preview image mates with contact head image, if coupling, judge the contact person of described personage as correspondence.Here, can comprise one or more personage in shooting preview image is contact person.Described contact person's judge module 40 comprises further:
Head portrait catches submodule 41, after starting camera applications, catches personage's head portrait of at least one personage in shooting preview image.
Face matched sub-block 42, mates for personage's head portrait of described personage is carried out face with the contact head image of contact person in address list, if the match is successful, judges that personage is contact person.
Described priority detection module 20, if when being the contact person in described address list for personage, detects priority corresponding to personage, and selects personage that priority is the highest as person who attract people's attention.If the personage that priority is the highest has multiple, personage that part or all of priority is the highest can be selected as person who attract people's attention.
The present invention carries out recognition of face to personage's head portrait of personage in shooting preview image, and the contact head image of the personage's head portrait obtained and contact person's setting is mated, then priority arrangement is carried out to the personage in shooting preview image, obtain the person who attract people's attention that priority is the highest.
Described optimization taking module 30 comprises:
Expression detection sub-module 31, after receiving user's photographing instruction, such as user presses camera shutter button, and whether the human face expression detecting person who attract people's attention meets predetermined expression condition.Expression detection sub-module 31 is preferably based on the human face expression that face recognition technology detects person who attract people's attention in real time, and such as smiling face detects, the emotional state inspections such as blink detection.Described expression condition can be arranged or User Defined setting by system default, and condition of such as expressing one's feelings is set to smiling face, does not bat an eyelid.
First command executing sub module 32, if for meeting expression condition time, perform user photographing instruction.
Be more preferably, described optimization taking module 30 also comprises:
Time-out judges submodule 33, if during for not meeting described expression condition, judge whether the time that current distance receives user's photographing instruction has exceeded predetermined time threshold value, if then perform the second command executing sub module 34, otherwise return and perform expression detection sub-module 31.If do not meet described expression condition, then carry out Clocked operation, if time-out also performs user's photographing instruction.
Second command executing sub module 34, if for do not meet expression condition and overtime threshold value time, from the historical data of shooting preview image, select person who attract people's attention closest to the moment of expression condition as the shooting moment, execution user photographing instruction, to ensure the best shooting effect of person who attract people's attention.
If when described priority detection module 20 detects the number of person who attract people's attention at least two, described optimization taking module 30 also comprises personage's chooser module 35.
Described personage's chooser module 35, for according to user's selection instruction, selects part or all of person who attract people's attention to go to be optimized photographing process.
Described expression detection sub-module 31, after receiving user's photographing instruction, whether the human face expression of the person who attract people's attention selected by detection all meets expression condition, if then perform the first command executing sub module 32, otherwise execution time-out judges submodule 33.
Described first command executing sub module 32, if for all meeting expression condition time, perform described user's photographing instruction.
Described time-out judges submodule 33, if for not all meeting expression condition time, judge that whether current distance receives the time overtime threshold value of user's photographing instruction, if then perform the second command executing sub module 34, otherwise return perform expression detection sub-module 31.
Described second command executing sub module 34, if for not all meet expression condition and overtime threshold value time, from the historical data of shooting preview image, then select the most multiple selected person who attract people's attention to meet the moment of expression condition as the shooting moment, perform user's photographing instruction, to ensure that maximum person who attract people's attentions has best shooting effect.
The present invention passes through the priority of personage in camera view interface and the analysis of human face expression, the photo of the correct status of VIP can be shot on the one hand, cameraman can be helped to capture the optimum state of VIP fast on the one hand in addition, reduce shooting number of times.
Fig. 3 is the flow chart of the image pickup method of communication terminal of the present invention, and it realizes by communication terminal 100 as shown in Figure 1 or 2, and comprising step has:
Step S301, prioritizing step: the priority that the personage that is taken is set.
The priority of described personage can be arranged by system default or User Defined is arranged.Preferably, the present invention prestore in communication terminal 100 in advance some first personages the first head portrait, the head portrait of such as contact person, and the priority that described first personage is set.
Step S302, priority detecting step, detects the described priority that described personage is corresponding, and selects described personage that described priority is the highest as person who attract people's attention.
If the personage that priority is the highest has multiple, personage that part or all of priority is the highest can be selected as person who attract people's attention.Preferably, communication terminal 100, according to recognition of face skill, judges whether second head portrait of the second personage in shooting preview image matches with the first head portrait prestored, if coupling, can obtain the priority that described second personage is corresponding.
Step S303, optimizes shooting step: focusing personage is optimized photographing process.
Described optimization photographing process refers to that focusing personage carries out optimum photographing process when taking, and to ensure that person who attract people's attention obtains best shooting effect, the human face expression of preferred detection and control person who attract people's attention is taken, to obtain the expression effect of emphasis personage the best; Or preferably take using the face of person who attract people's attention as focusing, to obtain emphasis personage image effect the most clearly.
Fig. 4 is the flow chart of the image pickup method of communication terminal in first embodiment of the invention, and it realizes by communication terminal 100 as shown in Figure 2, and comprising step has:
Step S401, prioritizing step: the priority that contact person in address list is set.
The priority of described contact person can be arranged by system default or User Defined is arranged.Whether preferably, user, before taking pictures, can open camera applications, arrange automatic in shooting preview image, carries out detection and control to the priority of personage and shooting.Be more preferably, the priority of contact person can be set according to the type of contact person in address list, such as contact person can be divided into three types: VIP contact person, important relation people and ordinary contacts, the priority of described VIP contact person is higher than the priority of important relation people, and the priority of described important relation people is higher than the priority of ordinary contacts.Be more preferably, also can carry out priority setting according to contact name etc., contact name is called that the contact persons such as mother, father, wife are automatically set as the first priority by such as system, contact name is called the contact persons such as Chen is total, king office are automatically set as the second priority etc.Certainly, user can adopt the priority-level of the self-defined contact person of additive method as required, such as, carry out priority setting to each contact person one by one.
Step S402, according to face recognition technology, contact person's determining step: start after camera applications, judges that whether personage in shooting preview image is the described contact person in described address list.
Preferably, in the contacts list of communication terminal 100, the contact head image of contact person and associated person information have carried out man-to-man coupling.Judge whether personage's head portrait of the personage in shooting preview image mates with contact head image, if coupling, judge the contact person of described personage as correspondence.Here, can comprise one or more personage in shooting preview image is contact person.
Step S403, priority detecting step: if described personage is the described contact person in described address list, then detect the described priority that described personage is corresponding, and select described personage that described priority is the highest as person who attract people's attention.If the personage that priority is the highest has multiple, personage that part or all of priority is the highest can be selected as person who attract people's attention.
Step S404, optimizes shooting step: be optimized photographing process to described person who attract people's attention.
Fig. 4 is the flow chart of the image pickup method of communication terminal in second embodiment of the invention, and it realizes by communication terminal 100 as shown in Figure 2, and comprising step has:
Step S501, arranges the priority of contact person in address list.
Whether preferably, user, before taking pictures, can also open camera applications, arrange automatic in shooting preview image, carries out detection and control to the priority of personage and shooting.
Step S502, starts camera applications.
According to face recognition technology, step S503, judges that whether personage in shooting preview image is the contact person in address list, if then perform step S504, otherwise according to normal photographing flow processing.
This step preferably includes: personage's head portrait of catching at least one personage in shooting preview image; Personage's head portrait of personage is carried out face with the contact head image of the contact person in address list mate, if the match is successful, judge that personage is contact person.
Step S504, if personage is the contact person in address list, detects priority corresponding to personage, and selects personage that priority is the highest as person who attract people's attention.
If the personage that priority is the highest has multiple, personage that part or all of priority is the highest can be selected as person who attract people's attention.
Step S505, receives user's photographing instruction, and such as user presses camera shutter button.Before this step can occur in step S503 or afterwards.And before this step, communication terminal 100 can detect the human face expression of person who attract people's attention in real time.
Step S506, whether the human face expression detecting person who attract people's attention meets predetermined expression condition, if then perform step S507, otherwise performs step S508.
This step is preferably based on the human face expression that face recognition technology detects person who attract people's attention in real time, and such as smiling face detects, the emotional state inspections such as blink detection.Described expression condition can be arranged or User Defined setting by system default, and condition of such as expressing one's feelings is set to smiling face, does not bat an eyelid.
Step S507, if meet expression condition, then performs user's photographing instruction.
Step S508, if do not meet expression condition, then judges whether the time that current distance receives user's photographing instruction has exceeded predetermined time threshold value, if then perform step S509, otherwise turns back to step S506.
Step S509, if do not meet expression condition and overtime threshold value time, from the historical data of shooting preview image, then select person who attract people's attention closest to the moment of expression condition as the shooting moment, execution user photographing instruction, to ensure the best shooting effect of person who attract people's attention.
Fig. 5 is the flow chart optimizing shooting step in third embodiment of the invention, and it realizes by communication terminal 100 as shown in Figure 2, if when the number of person who attract people's attention is at least two, optimizes shooting step and also comprises:
Step S601, according to user's selection instruction, selects part or all of person who attract people's attention.
Step S602, receives user's photographing instruction.
Step S603, whether the human face expression of the person who attract people's attention selected by detection all meets expression condition, if then perform step S604, otherwise performs step S605.
Step S604, if when meeting expression condition, then performs user's photographing instruction.
Step S605, if not all meet expression condition, then judges that whether current distance receives the time overtime threshold value of user's photographing instruction, if then perform step S606, otherwise turns back to step S603.
Step S606, if not all meet expression condition and overtime threshold value time, from the historical data of shooting preview image, then select the most multiple selected person who attract people's attention to meet the moment of expression condition as the shooting moment, perform user's photographing instruction, to ensure that maximum person who attract people's attentions has best shooting effect.
In sum, communication terminal of the present invention, when taking pictures, judges the priority of the personage in shooting preview image according to face recognition technology, selects the highest personage of priority as person who attract people's attention and is optimized photographing process.Whereby, the present invention can automatically select person who attract people's attention when taking pictures and be optimized photographing process, thus can capture the optimum state of person who attract people's attention easily.Be more preferably, the present invention is taken by the human face expression of detection and control person who attract people's attention, so that obtain optimum shooting effect.
Certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection range that all should belong to the claim appended by the present invention.