CN106231178B - A kind of self-timer method and mobile terminal - Google Patents

A kind of self-timer method and mobile terminal Download PDF

Info

Publication number
CN106231178B
CN106231178B CN201610585017.7A CN201610585017A CN106231178B CN 106231178 B CN106231178 B CN 106231178B CN 201610585017 A CN201610585017 A CN 201610585017A CN 106231178 B CN106231178 B CN 106231178B
Authority
CN
China
Prior art keywords
face
self
region
timer
preview image
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
Application number
CN201610585017.7A
Other languages
Chinese (zh)
Other versions
CN106231178A (en
Inventor
郝鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610585017.7A priority Critical patent/CN106231178B/en
Publication of CN106231178A publication Critical patent/CN106231178A/en
Application granted granted Critical
Publication of CN106231178B publication Critical patent/CN106231178B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body

Abstract

The present invention provides a kind of self-timer methods, belong to mobile communication technology field, it include: self-timer preview image when carrying out self-timer by self-shooting bar by obtaining, then the face information in the self-timer preview image is detected, the face information includes face quantity, and obtain scene information of taking pictures corresponding with the face quantity, if the face information and scene information of taking pictures meet preset condition, then adjusted accordingly by voice prompting user, self-timer previewing photos effect cannot be understood in time in the prior art by solving, lead to not in time, the problem of accurately controlling self-timer process.By judging automatically face information and scene information in preview image, and prompt is provided, user is allowed to recognize self-timer effect in time, and further controls self-timer process.

Description

A kind of self-timer method and mobile terminal
Technical field
The present invention relates to mobile communication technology fields, more particularly to a kind of self-timer method and mobile terminal.
Background technique
Currently used self-shooting bar carries out self-timer, since the length and self-timer scene of self-shooting bar are typically all scenic spot/outdoor, from The length of dabber prevents us that cannot understand self-timer previewing photos effect in time from will be apparent that preview self-timer picture, such user Fruit.Since user cannot timely adjust parameter of taking pictures, photo angle, causes the photo of self-timer often to there is face and do not closing The position of reason, human face region there are overexposure, block phenomena such as, the photo effect of self-timer is bad, poor user experience.
As it can be seen that self-timer cannot be understood in time by least having the following deficiencies: when carrying out self-timer using self-shooting bar in the prior art Previewing photos effect, lead to not in time, accurately control self-timer process.
Summary of the invention
The present invention provides a kind of self-timer method and mobile terminal, and solution cannot understand self-timer preview photograph in time in the prior art Piece effect, lead to not in time, accurately control self-timer Process Problems.
In a first aspect, the embodiment of the invention provides a kind of self-timer methods, comprising:
Obtain self-timer preview image when carrying out self-timer by self-shooting bar;
The face information in the self-timer preview image is detected, the face information includes face quantity;
Obtain scene information of taking pictures corresponding with the face quantity, wherein the scene information of taking pictures includes: overexposure area Domain position and the position or overexposure region position of default chaff interferent;The default chaff interferent is human hand;
If the face information and scene information of taking pictures meet preset condition, accordingly adjusted by voice prompting user It is whole.
Second aspect, the embodiment of the invention also provides a kind of mobile terminals, including
Self-timer preview image obtains module, carries out self-timer preview image when self-timer by self-shooting bar for obtaining;
Face detection module obtains the people in the self-timer preview image of module acquisition for detecting the self-timer preview image Face information, the face information include face quantity;
Scene information of taking pictures obtains module, obtains the self-timer preview graph that module obtains for obtaining the self-timer preview image As in scene information of taking pictures corresponding with the face quantity, wherein the scene information of taking pictures include: overexposure region position and The position or overexposure region position of default chaff interferent;The default chaff interferent is human hand;
Indicating module passes through voice prompting if meeting preset condition for the face information and scene information of taking pictures User adjusts accordingly.
Self-timer method disclosed by the embodiments of the present invention carries out self-timer preview graph when self-timer by obtaining by self-shooting bar Then picture detects the face information in the self-timer preview image, the face information includes face quantity, and obtain with it is described The corresponding scene information of taking pictures of face quantity passes through language if the face information and scene information of taking pictures meet preset condition Sound prompt user adjusts accordingly, and self-timer previewing photos effect cannot be understood in time in the prior art by solving, and be led to not In time, the problem of accurately controlling self-timer process.By judging automatically face information and scene information in preview image, and provide Prompt, allows user to recognize self-timer effect in time, and further controls self-timer process.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to required in the embodiment of the present invention The attached drawing used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, right For those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawings Other attached drawings.
Fig. 1 is the flow chart of the self-timer method of the embodiment of the present invention one;
Fig. 2 is the flow chart of the self-timer method of the embodiment of the present invention two;
Fig. 3 is one of self-timer preview image schematic diagram of the embodiment of the present invention two;
Fig. 4 is the two of the self-timer preview image schematic diagram of the embodiment of the present invention two;
Fig. 5 is the structure chart of the mobile terminal of the embodiment of the present invention three;
Fig. 6 is the two of the structure chart of the mobile terminal of the embodiment of the present invention three;
Fig. 7 is the mobile terminal structure figure of the embodiment of the present invention four;
Fig. 8 is the mobile terminal structure figure of the embodiment of the present invention five.
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 some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one:
A kind of self-timer method is present embodiments provided, as shown in Figure 1, this method comprises: step 100 is to step 130.
Step 100, self-timer preview image when carrying out self-timer by self-shooting bar is obtained.
Self-shooting bar and mobile terminal are communicated by Bluetooth protocol, on mobile terminals, are mentioned by call operation system The interface of confession may determine whether to be connected with self-shooting bar.When detecting that user carries out self-timer using self-shooting bar, grasped by calling Make the interface of system, the self-timer preview image of available front camera acquisition.
Step 110, the face information in the self-timer preview image is detected, the face information includes face quantity.
For the self-timer preview image of acquisition, can be detected in self-timer preview image by adaboost Face datection algorithm Face quantity.Eyes quantity in self-timer preview image, each can also be determined using Face datection algorithm in the prior art The eye position of face, the human face region where each face.It can further really according to the eye position of the face detected Determine the side length of human face region, the position of human face region.
Step 120, scene information of taking pictures corresponding with the face quantity is obtained.
When the number difference of self-timer, the specific requirement of the scene information of image such as composition is different, and therefore, it is necessary to according to self-timer The quantity of the face detected in preview image further determines that the corresponding scene information of taking pictures of the face quantity, goes forward side by side one Step detects the corresponding scene information of taking pictures of face quantity described in the self-timer preview image.
Step 130, if the face information and scene information of taking pictures meet preset condition, by voice prompting user into The corresponding adjustment of row.
According to the face quantity detected in self-timer preview image and other people face information, and with the face quantity pair The scene information of taking pictures answered, judges whether the face quantity and other people face information, scene information of taking pictures meet preset condition. If meeting preset condition, by voice prompting, user is adjusted accordingly.The preset condition is true according to the quantity of face It is fixed, such as the preset condition includes but is not limited to following any one: in the position of human face region and self-timer preview image The distance between heart is less than the ratio between pre-determined distance, the area of human face region and the area of self-timer preview image greater than default Ratio A and it is less than default ratio B, exposure area position within the preset range of human face region, the position of preset chaff interferent Within the preset range of human face region.
When it is implemented, the scene information of taking pictures includes: position or the overexposure of overexposure region position and default chaff interferent Regional location;The default chaff interferent are as follows: human hand.It can be according to the face quantity and other people face information, scene of taking pictures The preset condition that information meets, issues corresponding voice prompting, to indicate that user adjusts self-timer angle, adjustment camera site, with And adjustment exposure value etc..
Self-timer method disclosed by the embodiments of the present invention carries out self-timer preview graph when self-timer by obtaining by self-shooting bar Then picture detects the face information in the self-timer preview image, the face information includes face quantity, and obtain with it is described The corresponding scene information of taking pictures of face quantity passes through language if the face information and scene information of taking pictures meet preset condition Sound prompt user adjusts accordingly, and self-timer previewing photos effect cannot be understood in time in the prior art by solving, and be led to not In time, the problem of accurately controlling self-timer process.By judging automatically face information and scene information in preview image, and provide Prompt, allows user to recognize self-timer effect in time, and further controls self-timer process.
Embodiment two:
Referring to fig. 2, a kind of self-timer method is present embodiments provided, this method comprises: step 200 is to step 250.
Step 200, self-timer preview image when carrying out self-timer by self-shooting bar is obtained.
When carrying out self-timer by self-shooting bar, the specific embodiment of self-timer preview image is obtained referring to the phase of embodiment one Step is answered, this embodiment is not repeated.
Step 210, the face information in the self-timer preview image is detected, the face information includes face quantity.
The face information further include: the position of human face region corresponding with face and the side length of human face region.
The face information in the self-timer preview image is detected, the face information includes the specific embodiment party of face quantity Case is referring to the corresponding steps of embodiment one, and details are not described herein again.
Step 220, judge whether the face quantity obtained is greater than 0, if so, executing step 240;If it is not, executing step 230。
When there is no face in self-timer preview image, user is prompted to be not picked up by face.Have when in self-timer preview image When face, scene information of taking pictures further is detected.
Step 230, face is not picked up by by voice prompting user.
When specific implementation face can be not picked up by by playing voice prompting user.
Step 240, scene information of taking pictures corresponding with the face quantity is obtained.
When the number difference of self-timer, the specific requirement of the scene information of image such as composition is different, and therefore, it is necessary to according to self-timer The quantity of the face detected in preview image further determines that the corresponding scene information of taking pictures of the face quantity, goes forward side by side one Step detects the corresponding scene information of taking pictures of face quantity described in the self-timer preview image.In detecting self-timer preview image Face quantity after, obtain it is corresponding with the face quantity take pictures scene information the step of, comprising: if the face quantity Equal to 1, then the overexposure region position in the self-timer preview image and the position of default chaff interferent are obtained;If the face quantity Greater than 1, then the overexposure region position in the self-timer preview image is obtained.
When carrying out self-timer using self-shooting bar, usually it will lead in the photo of shooting in outdoor, the sun or other light sources The phenomenon that existing overexposure, therefore, it is necessary to the progress overexposure detection of self-timer preview image, judge to be in the self-timer preview image No there are overexposure phenomenons, and further determine that overexposure region position.When it is implemented, can be examined using overexposure in the prior art Survey method whether there is overexposure region and overexposure region position to determine in self-timer preview image, details are not described herein again.
When only one face in self-timer preview image, usual user wishes that the background of photo is pure, without any dry Disturb object, human face region is not blocked, therefore also need to detect human face region, around face or in image background with the presence or absence of dry Object is disturbed, and determines the position of default chaff interferent.By taking preset chaff interferent is human hand as an example, the judgment method of manpower is as follows: first First, Face Detection is carried out;Then, binaryzation and morphological change are carried out to image;Then, convex closure detection is carried out, when detecting Think when convex closure with the presence of manpower.When it is implemented, chaff interferent can also be personage's figure viewed from behind etc..When it is implemented, can be Preset interference analyte detection is carried out based on prior arts such as morphologic edge detections, and determines the position of default chaff interferent.Institute The position for stating default chaff interferent can be the centroid of the chaff interferent detected.
Step 250, if the face information and scene information of taking pictures meet preset condition, by voice prompting user into The corresponding adjustment of row.
According to the face quantity detected in self-timer preview image and other people face information, and with the face quantity pair The scene information of taking pictures answered, judges whether the face quantity and other people face information, scene information of taking pictures meet preset condition. If meeting preset condition, user's control self-timer process is indicated.
When it is implemented, can be met according to the face quantity and other people face information, scene information of taking pictures default Condition issues corresponding voice prompting, to indicate that user adjusts self-timer angle or adjustment exposure value etc..
The self-timer image of self-timer image and more people for people, Rule of judgment is different, the face information for needing to obtain It is also different with scene information of taking pictures.When detecting 1 face in self-timer preview image, the position of human face region can detecte Whether properly, whether there is preset chaff interferent in specified region, whether there is over-exposed phenomenon in specified region;When When detecting multiple faces in self-timer preview image, properly whether the position that can detecte human face region be, in specified region It is no whether complete etc. there are the whether excessive, face of the distance between over-exposed phenomenon, adjacent human face region.
If the face information is discussed in detail in two kinds of situation below and scene information of taking pictures meets preset condition, pass through The concrete scheme that voice prompting user adjusts accordingly.
The first situation: face quantity is equal to 1.
If the face quantity is equal to 1, the face information further include: the position and side of human face region corresponding with face It is long, if the face information and scene information of taking pictures meet preset condition, accordingly adjusted by voice prompting user Whole step, comprising: if the position of the human face region, the side length of human face region, the overexposure region position and described default At least one in the position of chaff interferent meets preset condition, then is adjusted accordingly by voice prompting user.The face The position in region, the side length of human face region, the overexposure region position and the default chaff interferent position at least one of Meet preset condition, includes at least one of the following: between the position of the human face region and the center of the self-timer preview image Distance be greater than the first pre-determined distance;It is pre- according to the area of the determining human face region of the side length of human face region and the self-timer Look at image area ratio less than the first preset value or be greater than the second preset value;The position of the default chaff interferent is located at institute Human face region is stated to extend respectively in the extended area obtained after preset length along upper and lower, left and right four direction;The overexposure area Domain position is located at extends the extended area obtained after preset length along upper and lower, left and right four direction for the human face region respectively It is interior.
When it is implemented, referring between the position of human face region described in Fig. 3 and the center of the self-timer preview image away from From specific judgement scheme are as follows: the center 301 of the position 311 of the human face region 310 and the self-timer preview image 300 away from It is greater than the first pre-determined distance from L1.When it is implemented, the edge of the human face region 310 upward along upper and lower can also be calculated And position and the self-timer preview graph of the difference of edge distance L2, L3 of the self-timer preview image as the human face region The distance between center of picture, or along left and right direction, the edge of the human face region 310 and the self-timer preview image Edge distance L4, L5 difference as between the position of the human face region and the center of the self-timer preview image away from From.
In the area and the self-timer preview image of the human face region for judging to be determined according to the side length of human face region For the ratio of area less than the first preset value or when being greater than the second preset value, second preset value is greater than first preset value, For example, the second preset value value 4/5, the equal value 1/2 of the first preset value.
When whether there is chaff interferent in the preset range for judging human face region, first by the human face region along it is upper and lower, Left and right four direction extends preset length respectively, such as extends the 10% of human face region direction side length respectively, then, judgement In the extended area 320 whether position of the default chaff interferent detected forms after expansion, if so, the position of default chaff interferent It sets and meets preset condition.If not detecting the position of default chaff interferent, indicates that the chaff interferent of Non-precondition exists, then do not need The position of preset chaff interferent is judged.
In the preset range for judging human face region whether there is overexposure region when, first by the human face region along it is upper, Under, left and right four direction extend preset length respectively, such as respectively extend human face region direction side length 10%, then, sentence In the extended area 320 whether position of the disconnected overexposure region position detected forms after expansion, if so, overexposure region position It sets and meets preset condition.If not detecting overexposure region position, indicates that no overexposure region exists, then do not need to overexposure area Domain position is judged.
Second situation: face quantity is greater than 1.
If the face quantity is greater than 1, the face information further include: the position of human face region corresponding with each face With side length, eyes quantity, the face information and scene information of taking pictures meet preset condition, then are carried out by voice prompting user The step of corresponding adjustment, comprising: include according to the determination of the side length of the position of the corresponding human face region of each face and human face region The position of the face overall area of all faces and side length, and determine all adjacent the distance between human face regions two-by-two;If institute State the distance between the position of face overall area, the side length of face overall area, adjacent human face region, the corresponding people of each face In the side length in face region, eyes quantity and the overexposure region position at least one of meet preset condition, then mentioned by voice Show that user adjusts accordingly.
When it is implemented, as shown in figure 4, the face overall area 410 including all faces is to include all human face regions The minimum rectangular area of (such as: human face region 411,412,413) can determine people according to the position and side length of each human face region Face overall area, and determine position and the side length of face overall area.Then, it determines respectively between all adjacent human face regions two-by-two Distance.When determining all adjacent the distance between human face regions two-by-two, can calculate separately each human face region with it is upper, Under, the distance between four human face regions closest on left and right four direction, such as human face region 411 and 412 respectively, and The distance between human face region 411 and 413, the distance between the adjacent human face region as human face region 411.It can also be by people Face region is divided into N row M column according to sequence of positions sequence from left to right, from top to bottom, wherein M and N is respectively to be greater than or wait In 1 integer.For the human face region in mutually going together, two adjacent faces are successively calculated according to positional relationship from left to right The distance between the center in region (such as 412 and 413) human face region the distance between adjacent as one;For in same column Human face region, the center of two adjacent human face regions (such as 411 and 412) is successively calculated according to positional relationship from top to bottom The distance between the human face region the distance between adjacent as one.
The distance between the position of the face overall area, the side length of face overall area, adjacent human face region, everyone In the side length of the corresponding human face region of face, eyes quantity and the overexposure region position at least one of meet preset condition, wrap Include at least one of following: the minimum range between the edge of the face overall area and the edge of the self-timer preview image is less than Second pre-determined distance is greater than third pre-determined distance;The center of the position of the face overall area and the self-timer preview image it Between distance be greater than the 4th pre-determined distance;The distance between adjacent human face region is greater than the 5th pre-determined distance;Each face pair The length for the human face region answered and wide ratio are less than third preset value or are greater than the 4th preset value;Eyes quantity is less than 2;The mistake Regional location is exposed to be located in the face overall area;Wherein, second pre-determined distance and the third pre-determined distance are according to institute The ratio for stating the area of face overall area and the area of the self-timer preview image determines that the area of the face overall area passes through The side length of the face overall area determines.
When it is implemented, between the edge of the face overall area 410 and the edge of the self-timer preview image 400 away from From judgement scheme specifically: according to the side length of human face region determine the face overall area 410 area and the self-timer When the ratio of the area of preview image is greater than four preset values, the face overall area on the four direction of upper and lower, left and right Minimum range of the edge in (L7, L8, L9 and L10 in such as Fig. 4) at a distance from the edge of the self-timer preview image is less than Two pre-determined distances, wherein the default second distance can for the self-timer preview image the direction side length it is first pre- If ratio.Alternatively, the area and the self-timer preview image of the face overall area 410 determined according to the side length of human face region When the ratio of 400 area is more than or equal to four preset values, the side of the face overall area on the four direction of upper and lower, left and right The minimum range at the edge of edge and the self-timer preview image is greater than third pre-determined distance, wherein the third pre-determined distance can Think the self-timer preview image in the second preset ratio of the side length of the direction.
When at a distance from the position for judging the face overall area is between the center of the self-timer preview image, Ke Yitong Cross method in detail below: when between the position 414 of the face overall area 410 and the center 401 of the self-timer preview image 400 Distance L6 be greater than the 4th pre-determined distance.When it is implemented, can will be upward along upper and lower, the edge of the face overall area Position and the self-timer of the difference of the distance between the edge of the self-timer preview figure L7, L8 as the face overall area The distance between center of preview image;Alternatively, will be along left and right direction, the edge of the face overall area and the self-timer Position and the self-timer preview image of the difference of the distance between edge of preview image L9, L10 as the face overall area The distance between center.
Judge the distance between adjacent human face region be greater than five pre-determined distances when, take obtained in abovementioned steps it is adjacent The distance between human face region in maximum distance, be compared with the 5th pre-determined distance.
When detecting face, a rectangle can be determined according to the obtained coordinate of eyes and the coordinate of mouth, as one Human face region.The length of the corresponding human face region of face and wide ratio are less than third preset value, illustrate that face is more flat, human face region In may be the face bowed or come back;When the length of the corresponding human face region of face and wide ratio are greater than four preset values, Illustrate that face is relatively narrow, may be the face of left and right rotary head in human face region, under both of these case, it is believed that the people in the human face region Face angular deflection is too big, needs that user is prompted to adjust photo angle.
When detecting face, eyes quantity can be obtained simultaneously, when eyes are less than 2, it is believed that in the human face region Facial angle deflection is too big, needs that user is prompted to adjust photo angle.
When it is implemented, the step of instruction user's control self-timer process, can prompt user's adjustment by playing voice messaging Self-timer angle, adjustment self-timer distance, adjustment exposure value etc..
In another preferred embodiment of the invention, the step of face information in the detection self-timer preview image Later, further includes: the face quantity that voice prompting user detects.Discover whether all tasks to be captured in time convenient for user Through fully entering view-finder.
It is described to obtain corresponding with face quantity scene information of taking pictures in another preferred embodiment of the invention After step, if the scene information of taking pictures includes overexposure region position, the method also includes: reduce the exposure of front camera Light value.By by the interface of call operation system, reducing front camera automatically when having detected overexposure region Exposure value reduces user's manual operation, self-timer efficiency can be improved.
Self-timer method disclosed by the embodiments of the present invention carries out self-timer preview graph when self-timer by obtaining by self-shooting bar Then picture detects the face information in the self-timer preview image, the face information includes face quantity, and obtain with it is described The corresponding scene information of taking pictures of face quantity passes through language if the face information and scene information of taking pictures meet preset condition Sound prompt user adjusts accordingly, and self-timer previewing photos effect cannot be understood in time in the prior art by solving, and be led to not In time, the problem of accurately controlling self-timer process.By judging automatically face information and scene information in preview image, and provide Prompt, allows user to recognize self-timer effect in time, and further controls self-timer process.By the position for detecting human face region It sets, the composition of self-timer preview image is detected, and be prompted to user in time, self-timer effect can be improved, promote user's body It tests.
Embodiment three:
Correspondingly, the embodiment of the invention also discloses a kind of mobile terminals 50, as shown in Figure 5, comprising:
Self-timer preview image obtains module 510, carries out self-timer preview image when self-timer by self-shooting bar for obtaining;
Face detection module 520 obtains the self-timer preview image that module 510 obtains for detecting the self-timer preview image In face information, the face information includes face quantity;
Scene information of taking pictures obtains module 530, obtains the self-timer that module 510 obtains for obtaining the self-timer preview image Scene information of taking pictures corresponding with the face quantity in preview image;
Indicating module 540 is mentioned if meeting preset condition for the face information and scene information of taking pictures by voice Show that user adjusts accordingly.
Wherein, the scene information of taking pictures includes: the position or overexposure region position of overexposure region position and default chaff interferent It sets;The default chaff interferent are as follows: human hand.
The preset condition is determined according to the quantity of face, such as the preset condition includes but is not limited to: human face region Position and the distance between the center of self-timer preview image be less than pre-determined distance, the area of human face region and self-timer preview image Area between ratio be greater than preset threshold A and be less than preset threshold B, exposure area position human face region preset range Within, within the preset range of the position human face region of preset chaff interferent in it is any one or more.
Mobile terminal disclosed by the embodiments of the present invention carries out self-timer preview graph when self-timer by obtaining by self-shooting bar Then picture detects the face information in the self-timer preview image, the face information includes face quantity, and obtain with it is described The corresponding scene information of taking pictures of face quantity passes through language if the face information and scene information of taking pictures meet preset condition Sound prompt user adjusts accordingly, and self-timer previewing photos effect cannot be understood in time in the prior art by solving, and be led to not In time, the problem of accurately controlling self-timer process.By judging automatically face information and scene information in preview image, and provide Prompt, allows user to recognize self-timer effect in time, and further controls self-timer process.
When the number difference of self-timer, the specific requirement of the scene information of image such as composition is different, and therefore, it is necessary to according to self-timer The quantity of the face detected in preview image further determines that the corresponding scene information of taking pictures of the face quantity, goes forward side by side one Step detects the corresponding scene information of taking pictures of face quantity described in the self-timer preview image.In detecting self-timer preview image Face quantity after, obtain corresponding with face quantity scene information of taking pictures
Optionally, if the face quantity is equal to 1, the scene information of taking pictures obtain module 530 for obtain it is described from Clap the overexposure region position in preview image and the position of default chaff interferent;If the face quantity is greater than 1, scene information of taking pictures Module 530 is obtained to be used to obtain the overexposure region position in the self-timer preview image.
Optionally, if the face quantity is equal to 1, the face information further include: human face region corresponding with face Position and side length, the indicating module 540 are used for: if the position of the human face region, the side length of human face region, the overexposure area At least one in domain position and the position of the default chaff interferent meets preset condition, then carries out phase by voice prompting user It should adjust.
Optionally, if the face quantity is equal to 1, the position of the human face region, the side length of human face region, the overexposure At least one in the position of regional location and the default chaff interferent meets preset condition, includes at least one of the following: described The distance between the position of human face region and the center of the self-timer preview image are greater than the first pre-determined distance;According to the face The ratio of the area of the area and self-timer preview image for the human face region that the side length in region determines is default less than first Value is greater than the second preset value;;The position of the default chaff interferent is located at the human face region along four, upper and lower, left and right side In the extended area obtained after to extension preset length respectively;The overexposure region position be located at by the human face region along it is upper, Under, left and right four direction extends respectively in the extended area obtained after preset length.
Optionally, if the face quantity is greater than 1, the face information further include: face corresponding with each face area The position in domain and side length, eyes quantity, the indicating module are used for: according to the position and side of the corresponding human face region of each face It is long determine include the face overall area of all faces position and side length, and determine between all adjacent human face regions two-by-two Distance;If the distance between the position of the face overall area, the side length of face overall area, adjacent human face region, everyone In the side length of the corresponding human face region of face, eyes quantity and the overexposure region position at least one of meet preset condition, then By voice prompting, user is adjusted accordingly.
Face overall area is the minimum rectangular area for including all human face regions, can be according to the position of each human face region Face overall area is determined with side length.
Optionally, if the face quantity is greater than 1, the position of the face overall area, face overall area side length, adjacent The distance between human face region, the side length of the corresponding human face region of each face, eyes quantity and the overexposure region position In at least one of meet preset condition, include at least one of the following: the face overall area edge and the self-timer preview The minimum range at the edge of image is less than the second pre-determined distance or is greater than third pre-determined distance;The position of the face overall area with The distance between center of the self-timer preview image is greater than the 4th pre-determined distance;The distance between adjacent human face region is greater than 5th pre-determined distance;The length of the corresponding human face region of each face and wide ratio are less than third preset value or to be greater than the 4th default Value;Eyes quantity is less than 2;The overexposure region position is located in the face overall area, wherein second pre-determined distance and The third pre-determined distance is determining according to the ratio of the area of the face overall area and the area of the self-timer preview image, institute The area for stating face overall area is determined by the side length of the face overall area.
Optionally, as shown in fig. 6, the mobile terminal 50 further include:
Number cue module 550, the face quantity for being detected by voice prompting user.
Optionally, the mobile terminal 50 further include:
Exposure value adjusts module 560, if including overexposure region position for the scene information of taking pictures, reduces mobile whole Exposure value of the end for the camera of self-timer.
Mobile terminal disclosed by the embodiments of the present invention carries out self-timer preview graph when self-timer by obtaining by self-shooting bar Then picture detects the face information in the self-timer preview image, the face information includes face quantity, and obtain with it is described The corresponding scene information of taking pictures of face quantity passes through language if the face information and scene information of taking pictures meet preset condition Sound prompt user adjusts accordingly, and self-timer previewing photos effect cannot be understood in time in the prior art by solving, and be led to not In time, the problem of accurately controlling self-timer process.By judging automatically face information and scene information in preview image, and provide Prompt, allows user to recognize self-timer effect in time, and further controls self-timer process.By the position for detecting human face region It sets, the composition of self-timer preview image is detected, and be prompted to user in time, self-timer effect can be improved, promote user's body It tests.
Example IV:
Fig. 7 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 700 shown in Fig. 7 includes: at least One processor 701, memory 702, at least one network interface 704, take pictures component 706 and other users interface 703.It is mobile Various components in terminal 700 are coupled by bus system 705.It is understood that bus system 705 is for realizing these groups Connection communication between part.Bus system 705 further includes power bus, control bus and state in addition to including data/address bus Signal bus.But for the sake of clear explanation, various buses are all designated as bus system 705 in Fig. 7.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate, touch screen or Trackpad etc..The present embodiment detects user to desktop folder by touch screen Trigger action, such as click, pressing.User interface 703 further includes loudspeaker, is used for play cuing information.
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 (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (RandomAccess Memory, 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 (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 702 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of 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 (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 7022.In embodiments of the present invention, the journey by calling memory 702 to store Sequence or instruction, specifically, can be the program or instruction stored in application program 7022.Pass through the touch in user interface 703 Screen detection user uses the operation of application program, and detects user and click the trigger action of desktop folder or open desk file The trigger action of folder, and the trigger action of detection starting application program.Processor 701 is carried out certainly for obtaining by self-shooting bar Self-timer preview image when bat;The face information in the self-timer preview image is detected, the face information includes face quantity; Obtain scene information of taking pictures corresponding with the face quantity;If the face information and scene information of taking pictures meet default item Part is then adjusted accordingly by voice prompting user, wherein the scene information of taking pictures includes: overexposure region position and pre- If the position or overexposure region position of chaff interferent;The default chaff interferent are as follows: human hand.
The method part 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 (Digital Signal Processor, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at Memory 702, processor 701 read the user in memory 702 to the access times of application program, complete in conjunction with its hardware The step of stating method.
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 Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for 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.
Optionally, processor 701 is used for: if the face quantity is equal to 1, obtaining the mistake in the self-timer preview image Expose the position of regional location and default chaff interferent;If the face quantity is greater than 1, the mistake in the self-timer preview image is obtained Expose regional location.
If the face quantity is equal to 1, the face information further include: the position and side of human face region corresponding with face Long, optionally, processor 701 is used for: if the position of the human face region, the side length of human face region, the overexposure region position And at least one in the position of the default chaff interferent meets preset condition, then is accordingly adjusted by voice prompting user It is whole.
Optionally, processor 701 is at least one of following for judging: the position of the human face region and the self-timer preview The distance between center of image is greater than the first pre-determined distance;The human face region determined according to the side length of the human face region Area and the self-timer preview image area ratio less than the first preset value or be greater than the second preset value;It is described default dry The position for disturbing object is located at extends the extension obtained after preset length along upper and lower, left and right four direction for the human face region respectively In region;The overexposure region position is located at extends the human face region along upper and lower, left and right four direction default length respectively In the extended area obtained after degree.
Optionally, if the face quantity is greater than 1, the face information further include: face corresponding with each face area The position in domain and side length, eyes quantity, processor 701 are used for true according to the position of the corresponding human face region of each face and side length Surely the position of the face overall area including all faces and side length, and determine between all adjacent human face regions two-by-two away from From;If the distance between the position of the face overall area, the side length of face overall area, adjacent human face region, each face In the side length of corresponding human face region, eyes quantity and the overexposure region position at least one of meet preset condition, then lead to Voice prompting user is crossed to adjust accordingly.Wherein, the face overall area is the minimum rectangular area for including all faces.It can Selection of land, processor 701 are at least one of following for judging: the side at the edge of the face overall area and the self-timer preview image The minimum range of edge is less than the second pre-determined distance or is greater than third pre-determined distance;The position of the face overall area and the self-timer The distance between center of preview image is greater than the 4th pre-determined distance;It is default that the distance between adjacent human face region is greater than the 5th Distance;The length of the corresponding human face region of each face and wide ratio are less than third preset value or are greater than the 4th preset value;Eyes Quantity is less than 2;The overexposure region position is located in the face overall area.Wherein, second pre-determined distance and described Three pre-determined distances are determining according to the ratio of the area of the face overall area and the area of the self-timer preview image, the face The area of overall area is determined by the side length of the face overall area.
Optionally, processor 701 is used for the face quantity detected by voice prompting user.
Optionally, exposure value of the processor 701 for reducing mobile terminal for the camera of self-timer.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.Embodiment through the invention, self-timer previewing photos effect cannot be understood in time in the prior art by solving, and be caused Can not in time, accurately control the problem of self-timer process.By judging automatically face information and scene information in preview image, and Prompt is provided, user is allowed to recognize self-timer effect in time, and further controls self-timer process.By detecting human face region Position, the composition of self-timer preview image is detected, and be prompted to user in time, can improve self-timer effect, promoted and used Family experience.
Embodiment five:
Fig. 8 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 8 It can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal in Fig. 8 includes radio frequency (Radio Frequency, RF) circuit 810, memory 820, input unit 830, display unit 840, processor 860, voicefrequency circuit 870, communication module 880 and power supply 890.Voicefrequency circuit 870 is also used to Play speech prompt information.
Wherein, input unit 830 can be used for receiving the trigger action of user's input, and generate the user with mobile terminal Setting and the related signal input of function control.Specifically, in the embodiment of the present invention, which may include touching Control panel 831.Touch panel 831, also referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the operation of any suitable object or attachment such as finger, stylus on touch panel 831), and according to preset journey Formula drives corresponding attachment device.Optionally, touch panel 831 may include two portions of touch detecting apparatus and touch controller Point.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it transmits a signal to Touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives The processor 860, and order that processor 860 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, The multiple types such as infrared ray and surface acoustic wave realize touch panel 831.In addition to touch panel 831, input unit 830 can be with Including other input equipments 832, other input equipments 832 can include but is not limited to physical keyboard, function key (such as volume control Key processed, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.Input unit 830 can also include taking the photograph As head, for shooting photo.
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 (Organic Light-Emitting Diode, 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 embodiments of the present invention, by call store the first memory 821 in software program and/or module and/ Or the data in the second memory 822, processor 860 are used to obtain self-timer preview graph when carrying out self-timer by self-shooting bar Picture;The face information in the self-timer preview image is detected, the face information includes face quantity;It obtains and the face number Measure corresponding scene information of taking pictures;If the face information and scene information of taking pictures meet preset condition, pass through voice prompting User adjusts accordingly;Wherein, the scene information of taking pictures includes: the position of overexposure region position and default chaff interferent, or Overexposure region position;The default chaff interferent are as follows: human hand.
Optionally, processor 860 is used for: if the face quantity is equal to 1, obtaining the mistake in the self-timer preview image Expose the position of regional location and default chaff interferent;If the face quantity is greater than 1, the mistake in the self-timer preview image is obtained Expose regional location.
If the face quantity is equal to 1, the face information further include: the position and side of human face region corresponding with face Long, optionally, processor 860 is used for: if the position of the human face region, side length, the overexposure region position and described default At least one in the position of chaff interferent meets preset condition, then is adjusted accordingly by voice prompting user.
Optionally, processor 860 is at least one of following for judging: the position of the human face region and the self-timer preview The distance between center of image is greater than the first pre-determined distance;The human face region determined according to the side length of the human face region Area and the self-timer preview image area ratio less than the first preset value or be greater than the second preset value;It is described default dry The position for disturbing object is located at extends the extension obtained after preset length along upper and lower, left and right four direction for the human face region respectively In region;The overexposure region position is located at extends the human face region along upper and lower, left and right four direction default length respectively In the extended area obtained after degree.
Optionally, if the face quantity is greater than 1, the face information further include: face corresponding with each face area The position in domain and side length, eyes quantity, processor 860 are used for true according to the position of the corresponding human face region of each face and side length Surely the position of the face overall area including all faces and side length, and determine between all adjacent human face regions two-by-two away from From;If the distance between the position of the face overall area, the side length of face overall area, adjacent human face region, each face In the side length of corresponding human face region, eyes quantity and the overexposure region position at least one of meet preset condition, then lead to Voice prompting user is crossed to adjust accordingly.Wherein, the face overall area is the minimum rectangular area for including all faces.
Optionally, processor 860 is at least one of following for judging: the edge of the face overall area and the self-timer are pre- Look at image edge minimum range less than the second pre-determined distance or be greater than third pre-determined distance;The position of the face overall area The distance between center of the self-timer preview image is greater than the 4th pre-determined distance;The distance between adjacent human face region is big In the 5th pre-determined distance;The length of the corresponding human face region of each face and wide ratio are less than third preset value or to be greater than the 4th pre- If value;Eyes quantity is less than 2;The overexposure region position is located in the face overall area.Wherein, second pre-determined distance It is determined with the third pre-determined distance according to the ratio of the area of the face overall area and the area of the self-timer preview image, The area of the face overall area is determined by the side length of the face overall area.
Optionally, processor 860 is used for the face quantity detected by voice prompting user.
Optionally, exposure value of the processor 860 for reducing mobile terminal for the camera of self-timer.
As it can be seen that mobile terminal through this embodiment, self-timer previewing photos cannot be understood in time in the prior art by solving Effect, lead to not in time, accurately control the problem of self-timer process.By judging automatically face information and field in preview image Scape information, and prompt is provided, allow user to recognize self-timer effect in time, and further control self-timer process.Pass through inspection The position for surveying human face region, detects the composition of self-timer preview image, and be prompted to user in time, can improve self-timer effect Fruit promotes user experience.
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 movement of foregoing description The specific work process of terminal, 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.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.For mobile terminal reality For applying example, since it is basically similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.

Claims (14)

1. a kind of self-timer method characterized by comprising
Obtain self-timer preview image when carrying out self-timer by self-shooting bar;
The face information in the self-timer preview image is detected, the face information includes face quantity;
Obtain scene information of taking pictures corresponding with the face quantity, wherein the scene information of taking pictures includes overexposure region position Set and preset the position or overexposure region position of chaff interferent;The default chaff interferent is human hand;
If the face information and scene information of taking pictures meet preset condition, by voice prompting, user is adjusted accordingly;
Wherein, the face information further includes the position of human face region;
Wherein, it is described obtain it is corresponding with the face quantity take pictures scene information the step of, comprising:
If the face quantity is equal to 1, overexposure region position in the self-timer preview image and default chaff interferent are obtained Position;
If the face quantity is greater than 1, the overexposure region position in the self-timer preview image is obtained.
2. the method according to claim 1, wherein the face information is also wrapped if the face quantity is equal to 1 Include: the position of human face region corresponding with face and side length are preset if the face information and scene information of taking pictures meet Condition, then the step of being adjusted accordingly by voice prompting user, comprising:
If the position of the human face region, the side length of human face region, the overexposure region position and the default chaff interferent position At least one in setting meets preset condition, then is adjusted accordingly by voice prompting user.
3. according to the method described in claim 2, it is characterized in that, the position of the human face region, the side length of human face region, institute State in overexposure region position and the position of the default chaff interferent at least one of meet preset condition, including following at least one :
The distance between the position of the human face region and the center of the self-timer preview image are greater than the first pre-determined distance;
According to the area and the area of the self-timer preview image of the human face region that the side length of the human face region determines Ratio is less than the first preset value or is greater than the second preset value;
The position of the default chaff interferent is located at extends the human face region along upper and lower, left and right four direction default length respectively In the extended area obtained after degree;
The overexposure region position is located at the human face region is extended into preset length respectively along upper and lower, left and right four direction after In obtained extended area.
4. the method according to claim 1, wherein the face information is also wrapped if the face quantity is greater than 1 It includes: the position of human face region corresponding with each face and side length, eyes quantity, if the face information and scene of taking pictures The step of information meets preset condition, then is adjusted accordingly by voice prompting user, comprising:
The position of the face overall area including all faces is determined according to the position of the corresponding human face region of each face and side length With the side length of face overall area, and all adjacent the distance between human face regions two-by-two are determined, wherein the face overall area It is the minimum rectangular area for including all faces;
If the distance between the position of the face overall area, the side length of face overall area, adjacent human face region, each face In the side length of corresponding human face region, eyes quantity and the overexposure region position at least one of meet preset condition, then lead to Voice prompting user is crossed to adjust accordingly.
5. according to the method described in claim 4, it is characterized in that, the side of the position of the face overall area, face overall area The distance between long, adjacent human face region, the side length of the corresponding human face region of each face, eyes quantity and the overexposure area At least one in the position of domain meets preset condition, includes at least one of the following:
Minimum range between the edge of the face overall area and the edge of the self-timer preview image it is default less than second away from From or greater than third pre-determined distance;
The distance between the position of the face overall area and the center of the self-timer preview image are greater than the 4th pre-determined distance;
The distance between adjacent human face region is greater than the 5th pre-determined distance;
The length of the corresponding human face region of each face and wide ratio are less than third preset value or are greater than the 4th preset value;
Eyes quantity is less than 2;
The overexposure region position is located in the face overall area;
Wherein, the area and the self-timer of second pre-determined distance and the third pre-determined distance according to the face overall area The ratio of the area of preview image determines that the area of the face overall area is determined by the side length of the face overall area.
6. the method according to claim 1, wherein the face information in the detection self-timer preview image The step of after, further includes:
The face quantity detected by voice prompting user.
7. according to claim 1 to method described in 5 any one claims, which is characterized in that the acquisition and the people Face quantity is corresponding take pictures scene information the step of after, if the scene information of taking pictures includes overexposure region position, the side Method further include:
Reduce exposure value of the mobile terminal for the camera of self-timer.
8. a kind of mobile terminal characterized by comprising
Self-timer preview image obtains module, carries out self-timer preview image when self-timer by self-shooting bar for obtaining;
Face detection module obtains the face letter in the self-timer preview image of module acquisition for detecting the self-timer preview image Breath, the face information includes face quantity;
Scene information of taking pictures obtains module, obtains in the self-timer preview image that module obtains for obtaining the self-timer preview image Scene information of taking pictures corresponding with the face quantity, wherein the scene information of taking pictures includes: overexposure region position and presets The position or overexposure region position of chaff interferent;The default chaff interferent is human hand;
Indicating module passes through voice prompting user if meeting preset condition for the face information and scene information of taking pictures It adjusts accordingly;
Wherein, the face information further includes the position of human face region;
Wherein, if the face quantity is equal to 1, the scene information of taking pictures obtains module for obtaining the self-timer preview image In overexposure region position and default chaff interferent position;
If the face quantity is greater than 1, scene information of taking pictures obtains module and is used to obtain the overexposure in the self-timer preview image Regional location.
9. mobile terminal according to claim 8, which is characterized in that if the face quantity is equal to 1, the face information Further include: the position of human face region corresponding with face and side length, the indicating module are used for:
If the position of the human face region, the side length of human face region, the overexposure region position and the default chaff interferent position At least one in setting meets preset condition, then is adjusted accordingly by voice prompting user.
10. mobile terminal according to claim 9, which is characterized in that the position of the human face region, human face region side In long, described overexposure region position and the position of the default chaff interferent at least one of meet preset condition, including with down toward One item missing:
The distance between the position of the human face region and the center of the self-timer preview image are greater than the first pre-determined distance;
According to the area and the area of the self-timer preview image of the human face region that the side length of the human face region determines Ratio is less than the first preset value or is greater than the second preset value;
The position of the default chaff interferent is located at extends the human face region along upper and lower, left and right four direction default length respectively In the extended area obtained after degree;
The overexposure region position is located at the human face region is extended into preset length respectively along upper and lower, left and right four direction after In obtained extended area.
11. mobile terminal according to claim 8, which is characterized in that if the face quantity is greater than 1, the face letter Breath further include: the position of human face region corresponding with each face and side length, eyes quantity, the indicating module are used for:
The position of the face overall area including all faces is determined according to the position of the corresponding human face region of each face and side length With the side length of face overall area, and all adjacent the distance between human face regions two-by-two are determined, wherein the face overall area It is the minimum rectangular area for including all faces;
If the distance between the position of the face overall area, the side length of face overall area, adjacent human face region, each face In the side length of corresponding human face region, eyes quantity and the overexposure region position at least one of meet preset condition, then lead to Voice prompting user is crossed to adjust accordingly.
12. mobile terminal according to claim 11, which is characterized in that position, the total area of face of the face overall area The distance between the side length in domain, adjacent human face region, the side length of the corresponding human face region of each face, eyes quantity and described At least one in overexposure region position meets preset condition, includes at least one of the following:
Minimum range between the edge of the face overall area and the edge of the self-timer preview image it is default less than second away from From or greater than third pre-determined distance;
The distance between the position of the face overall area and the center of the self-timer preview image are greater than the 4th pre-determined distance;
The distance between adjacent human face region is greater than the 5th pre-determined distance;
The length of the corresponding human face region of each face and wide ratio are less than third preset value or are greater than the 4th preset value;
Eyes quantity is less than 2;
The overexposure region position is located in the face overall area;
Wherein, the area and the self-timer of second pre-determined distance and the third pre-determined distance according to the face overall area The ratio of the area of preview image determines that the area of the face overall area is determined by the side length of the face overall area.
13. mobile terminal according to claim 8, which is characterized in that further include:
Number cue module, the face quantity for being detected by voice prompting user.
14. according to mobile terminal described in claim 8 to 13 any one claim, which is characterized in that described mobile whole End further include:
Exposure value adjustment module reduces mobile terminal and is used for if including overexposure region position for the scene information of taking pictures The exposure value of the camera of self-timer.
CN201610585017.7A 2016-07-22 2016-07-22 A kind of self-timer method and mobile terminal Active CN106231178B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610585017.7A CN106231178B (en) 2016-07-22 2016-07-22 A kind of self-timer method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610585017.7A CN106231178B (en) 2016-07-22 2016-07-22 A kind of self-timer method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106231178A CN106231178A (en) 2016-12-14
CN106231178B true CN106231178B (en) 2019-07-26

Family

ID=57531430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610585017.7A Active CN106231178B (en) 2016-07-22 2016-07-22 A kind of self-timer method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106231178B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106803894A (en) * 2017-03-20 2017-06-06 上海与德科技有限公司 Auto heterodyne reminding method and device
CN107135351B (en) * 2017-04-01 2021-11-16 宇龙计算机通信科技(深圳)有限公司 Photographing method and photographing device
CN107124560A (en) * 2017-06-19 2017-09-01 上海爱优威软件开发有限公司 A kind of self-heterodyne system, medium and method
WO2019061542A1 (en) * 2017-09-30 2019-04-04 深圳传音通讯有限公司 Video capturing method and device, and computer readable storage medium
CN108055461B (en) * 2017-12-21 2020-01-14 Oppo广东移动通信有限公司 Self-photographing angle recommendation method and device, terminal equipment and storage medium
CN110035215A (en) * 2018-01-11 2019-07-19 中兴通讯股份有限公司 Image processing method, terminal and storage medium
CN108196663B (en) * 2018-01-16 2020-04-17 维沃移动通信有限公司 Face recognition method and mobile terminal
CN108322649A (en) * 2018-02-07 2018-07-24 深圳市沃特沃德股份有限公司 The control method and device of panorama camera shooting
CN109492590A (en) * 2018-11-13 2019-03-19 广东小天才科技有限公司 A kind of distance detection method, distance detection device and terminal device
CN110166696B (en) * 2019-06-28 2021-03-26 Oppo广东移动通信有限公司 Photographing method, photographing device, terminal equipment and computer-readable storage medium
CN110456380B (en) * 2019-07-31 2021-12-28 炬佑智能科技(苏州)有限公司 Time-of-flight sensing camera and depth detection method thereof
CN113037990B (en) * 2019-12-24 2022-09-06 Tcl科技集团股份有限公司 Auxiliary shooting method, terminal device and computer-readable storage medium
CN112085688A (en) * 2020-09-16 2020-12-15 蒋芳 Method and system for removing pedestrian shielding during photographing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533226A (en) * 2013-06-07 2014-01-22 Tcl集团股份有限公司 Shooting method and system with voice prompt function
CN103747183A (en) * 2014-01-15 2014-04-23 北京百纳威尔科技有限公司 Mobile phone shooting focusing method
JP2014093013A (en) * 2012-11-06 2014-05-19 Oki Electric Ind Co Ltd Monitoring camera mounting device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9344612B2 (en) * 2006-02-15 2016-05-17 Kenneth Ira Ritchey Non-interference field-of-view support apparatus for a panoramic facial sensor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014093013A (en) * 2012-11-06 2014-05-19 Oki Electric Ind Co Ltd Monitoring camera mounting device
CN103533226A (en) * 2013-06-07 2014-01-22 Tcl集团股份有限公司 Shooting method and system with voice prompt function
CN103747183A (en) * 2014-01-15 2014-04-23 北京百纳威尔科技有限公司 Mobile phone shooting focusing method

Also Published As

Publication number Publication date
CN106231178A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN106231178B (en) A kind of self-timer method and mobile terminal
CN107257439B (en) A kind of image pickup method and mobile terminal
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN107395969B (en) A kind of image pickup method and mobile terminal
CN107317993B (en) A kind of video call method and mobile terminal
WO2019001152A1 (en) Photographing method and mobile terminal
CN107172361B (en) A kind of method and mobile terminal of pan-shot
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN106454135B (en) One kind is taken pictures based reminding method and mobile terminal
CN107613203B (en) Image processing method and mobile terminal
CN106780685B (en) A kind of generation method and terminal of dynamic picture
CN106534685A (en) Panoramic image generation method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106911897B (en) A kind of determination method and mobile terminal shooting focus
CN106713659B (en) A kind of panorama shooting method and mobile terminal
CN106993139B (en) A kind of image pickup method and mobile terminal
CN113157172A (en) Barrage information display method, transmission method, device, terminal and storage medium
CN106973237B (en) A kind of image pickup method and mobile terminal
CN110113515A (en) Camera control method and Related product
WO2019062431A1 (en) Photographing method and mobile terminal
CN107360375B (en) Shooting method and mobile terminal
CN106791375B (en) A kind of shooting focusing method and mobile terminal
CN106791809B (en) A kind of light measuring method and mobile terminal
CN106412671B (en) A kind of video broadcasting method and mobile terminal
CN108121486A (en) A kind of image display method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant