CN107835359A - Triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal - Google Patents

Triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal Download PDF

Info

Publication number
CN107835359A
CN107835359A CN201711012024.9A CN201711012024A CN107835359A CN 107835359 A CN107835359 A CN 107835359A CN 201711012024 A CN201711012024 A CN 201711012024A CN 107835359 A CN107835359 A CN 107835359A
Authority
CN
China
Prior art keywords
taking pictures
mobile terminal
user
triggering
realtime graphic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711012024.9A
Other languages
Chinese (zh)
Other versions
CN107835359B (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.)
TCL Communication Ningbo Ltd
Original Assignee
JRD Communication Shenzhen 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 JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201711012024.9A priority Critical patent/CN107835359B/en
Publication of CN107835359A publication Critical patent/CN107835359A/en
Application granted granted Critical
Publication of CN107835359B publication Critical patent/CN107835359B/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/62Control of parameters via user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal, it is related to technical field of mobile terminals.The present invention provides a kind of triggering method of taking pictures of mobile terminal, and mobile terminal includes front camera, and this method includes opening front camera;Realtime graphic is obtained by front camera;The face information of user is obtained from realtime graphic, distance threshold of taking pictures is set according to face information;Realtime graphic is analyzed to obtain front camera to the actual range of user's face;Compare actual range and distance threshold of taking pictures;If actual range is less than or equal to distance threshold of taking pictures, enter triggering pattern of taking pictures manually;If actual range is more than distance threshold of taking pictures, pattern is triggered into automatic camera.The method of the present invention automatically adjusts triggering pattern of taking pictures by identifying the distance between face and mobile terminal front camera, facilitates user quickly to trigger shooting to obtain desired image.

Description

Triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, triggering method of taking pictures, movement more particularly to a kind of mobile terminal Terminal and storage device.
Background technology
With the pixel more and more higher of camera on mobile terminal, in daily life, increasing people uses movement Terminal is taken pictures.However, when user uses mobile terminal self-timer, it is necessary to which mobile terminal is placed into from face farther out Distance, can all take in the content of the desired shooting such as the personage of self-timer, background or landscape the visuals field, but it is distant when, lead to Cross that button is taken pictures in touch or physical button goes to trigger shooting action, because hand should grip mobile terminal, finger touch or Click on relevant range it is harder, be not easy to shoot, and hand hold thing it is hanging when, hand is easily shaken, so as to easily cause The fuzzy pictures of shooting, satisfied effect can not be taken.
The content of the invention
The present invention relates to triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal, to solve to use During the self-timer of family can not fast and easy triggering shooting the problem of.
In order to solve the above technical problems, one aspect of the present invention is:A kind of taking pictures for mobile terminal is provided Triggering method, mobile terminal include front camera, and this method includes opening front camera;Obtained by front camera real When image;The face information of user is obtained from realtime graphic, distance threshold of taking pictures is set according to face information;Analysis is schemed in real time As to obtain front camera to the actual range of user's face;Compare actual range and distance threshold of taking pictures;If actual range Less than or equal to distance threshold of taking pictures, then enter triggering pattern of taking pictures manually;If actual range is more than distance threshold of taking pictures, enter Enter automatic camera triggering pattern.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of mobile terminal is provided, including Processor, memory and front camera, processor coupling memory and front camera;Processor is used for before opening Put camera;Realtime graphic is obtained by front camera;The face information of user is obtained from realtime graphic, is believed according to face Breath setting is taken pictures distance threshold;Realtime graphic is analyzed to obtain front camera to the actual range of user's face;Compare reality Distance and distance threshold of taking pictures;If actual range is less than or equal to distance threshold of taking pictures, enter triggering pattern of taking pictures manually;If Actual range is more than distance threshold of taking pictures, then triggers pattern into automatic camera.
In order to solve the above technical problems, another technical scheme that the present invention uses is:A kind of storage device is provided, this is deposited Storage equipment is used for storage program data, and routine data can be performed to realize the method for any one of the above method.
The beneficial effects of the invention are as follows:Mobile terminal includes front camera, by opening front camera;By preposition Camera obtains realtime graphic;The face information of user is obtained from realtime graphic, is set and is taken pictures apart from threshold according to face information Value;Realtime graphic is analyzed to obtain front camera to the actual range of user's face;Compare actual range and take pictures apart from threshold Value;If actual range is less than or equal to distance threshold of taking pictures, enter triggering pattern of taking pictures manually;Taken pictures if actual range is more than Distance threshold, then into automatic camera trigger pattern, can by identify between face and mobile terminal front camera away from From triggering pattern of taking pictures is automatically adjusted, user is facilitated quickly to trigger shooting to obtain desired image.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the embodiment of triggering method one of taking pictures of mobile terminal of the present invention;
Fig. 2 is a kind of schematic flow sheet of the another embodiment of triggering method of taking pictures of mobile terminal of the present invention;
Fig. 3 is the interface schematic diagram of taking pictures taken pictures manually under triggering pattern;
Fig. 4 is the interface schematic diagram of taking pictures under automatic camera triggering pattern;
Fig. 5 is the structural representation of the embodiment of storage device one of the present invention;
Fig. 6 is the structural representation of the embodiment of mobile terminal one of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes.It is understood that specific embodiment described herein is only used for explaining the present invention, rather than the limit to the present invention It is fixed.It also should be noted that for the ease of description, part related to the present invention illustrate only in accompanying drawing and not all knot Structure.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made Every other embodiment, belongs to the scope of protection of the invention.
The mobile terminal that the embodiment of the present invention is provided, including intelligent mobile terminal, tablet personal computer, Intelligent worn device, The electronic equipments such as digital audio & video players, electronic reader, handheld game machine.
Term " first " in the present invention, " second ", " the 3rd " are only used for describing purpose, and it is not intended that instruction or dark Show relative importance or the implicit quantity for indicating indicated technical characteristic.Thus, " first ", " second ", " are defined At least one this feature can be expressed or be implicitly included to three " feature.In description of the invention, " multiple " be meant that to It is few two, such as two, three etc..In addition, term " comprising " and " having " and their any deformations, it is intended that covering is not Exclusive includes.Such as contain process, method, system, product or the equipment of series of steps or unit and be not limited to The step of listing or unit, but alternatively also including the step of not listing or unit, or alternatively also include for these The intrinsic other steps of process, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of the embodiment of triggering method one of taking pictures of mobile terminal of the present invention. In the present embodiment, mobile terminal includes front camera, and the triggering method of taking pictures of mobile terminal may comprise steps of:
S11:Open front camera.
In this step S11, the front camera of mobile terminal is first turned on, mobile terminal is then lifted and prepares to take pictures. In general, mobile terminal includes two kinds of cameras of front camera and rear camera, can also only include one or one group The camera of direction-changeable, for example, the camera can be rotated to by rotating shaft is used as preposition shooting with display screen homonymy Head is rotated to and used away from the side of display screen as rear camera.
In the present embodiment, user is prepared when being taken pictures using mobile terminal, the camera being first turned in mobile terminal Using, then lift mobile terminal and prepare to take pictures, in general, camera applications can give tacit consent to opening rear camera on startup, But front camera is switched in the present embodiment, subsequently into the preview interface taken pictures.In general, before user opens It is in order to facilitate self-timer to put camera.
S12:Realtime graphic is obtained by front camera.
After opening front camera in above-mentioned steps S11, realtime graphic can be obtained by front camera.It is specific next Say, when user opens front camera and enters the preview interface taken pictures, front camera can obtain realtime graphic and pre- Looking at interface is shown, in general, now user can lift mobile terminal and constantly adjust arm position it is preposition to adjust Realtime graphic acquired in camera so that the position of user's facial image is user's included in the realtime graphic got In expected range, therefore in the present embodiment, the realtime graphic for including user's facial image is obtained by front camera.At this The realtime graphic got in step S12 is used for the face information for obtaining user from realtime graphic in following step S13.
S13:The face information of user is obtained from realtime graphic, distance threshold of taking pictures is set according to face information.
In this step S13, the face information of user is obtained in the realtime graphic obtained from above-mentioned steps S12, according to Face information sets distance threshold of taking pictures.
The facial feature information of face information, i.e. people, facial feature information can include shape of face feature, human face five-sense-organ it is several What shape and relative position relation between them, the physiological characteristic of face can also be included, so as to obtain age, property Not, the relevant information such as race.
The user Position Approximate that arm is placed when being taken pictures using mobile terminal can be drawn by face information, So as to generate distance value of the user corresponding to face information in the posture of different hand-held mobile terminals, according to the distance of acquisition Value setting is taken pictures distance threshold.Wherein, distance threshold of taking pictures is an estimated mean value, is e.g. analyzed from big data data The numerical value got, in general, threshold value of taking pictures can be distance value of the front camera apart from face certain point, for example, nose, The distance value of mouth, eyes centre position etc. or front camera apart from face center.Wherein, according to user The difference of the posture of hand-held mobile terminal, the distance range that will can take pictures are divided into distal and proximal two kinds, can also be divided into it is remote, in, it is near Three kinds of distance ranges.
The distance threshold of taking pictures set in this step S13 according to face information is used in following step S15 with The actual range obtained in step S14 is stated to be compared.
S14:Realtime graphic is analyzed to obtain front camera to the actual range of user's face.
In this step in S14, realtime graphic is analyzed, so as to obtain front camera to user's face information Actual range.Specifically, generally mobile terminal is internally provided with depth of field sensing module, more can accurately measure Front camera is different from above-mentioned steps S13 and set according to face information to the actual range of user's face in realtime graphic Take pictures distance threshold, be the actual range for obtaining front camera apart from face in this step S14, before the actual range can be Distance range value of the camera apart from face certain point is put, for example, nose, mouth, eyes centre position etc. or preceding Put distance range value of the camera apart from face center.
The actual range of the front camera obtained in this step S14 to user's face is used in following step S15 In taken pictures with being set in above-mentioned steps S13 compared with distance threshold.
S15:Compare actual range and distance threshold of taking pictures.
In this step S15, take pictures distance threshold and above-mentioned steps will be set according to face information in above-mentioned steps S13 The actual range of front camera to user's face obtained in S14 is compared.
Specifically, distance range will be taken pictures compared with actual range, to show which scope active user belongs to In value, when the difference of the posture according to hand-held mobile terminal, when the distance range that will take pictures is divided into distal and proximal two kinds, take pictures apart from threshold Value then can as the line of demarcation of take pictures at a distance scope and scope of closely taking pictures, i.e., when actual range be less than or equal to take pictures away from During from threshold value, then it is judged as scope of closely taking pictures, now performs following step S16, is taken pictures when actual range is more than apart from threshold During value, then it is judged as scope of taking pictures at a distance, now performs following step S17;When be divided into it is remote, in, nearly three kinds of distance ranges when, It can then regard middle distance as equal to distance threshold of taking pictures to take pictures scope, can then regard remote model of taking pictures as more than distance threshold of taking pictures Enclose, less than taking pictures, distance threshold can then regard scope of closely taking pictures as, i.e., when actual range is less than or equal to distance threshold of taking pictures When, then it is judged as closely taking pictures scope or middle distance is taken pictures scope, following step S16 is now performed, when actual range is more than Take pictures distance threshold when, then be judged as scope of taking pictures at a distance, now perform following step S17.
S16:If actual range is less than or equal to distance threshold of taking pictures, enter triggering pattern of taking pictures manually.
By actual range and taken pictures in above-mentioned steps S15 after distance threshold is compared, when comparative result for it is actual away from From less than or equal to take pictures distance threshold when, then enter and take pictures triggering pattern manually.
Specifically, user takes pictures when carrying out self-timer using mobile terminal when judging that actual range is less than or equal to During distance threshold, camera applications are set as triggering pattern of taking pictures manually, i.e., by pressing secondary or physical bond or clicking on relevant range Virtual key triggering take pictures to obtain desired image, wherein, secondary or physical bond can be volume key on mobile terminal or other Button.
S17:If actual range is more than distance threshold of taking pictures, pattern is triggered into automatic camera.
By actual range and taken pictures in above-mentioned steps S15 after distance threshold is compared, when comparative result for it is actual away from From more than take pictures distance threshold when, then into automatic camera trigger pattern.
Specifically, user takes pictures apart from threshold when carrying out self-timer using mobile terminal when judging that actual range is more than During value, camera applications are set as that automatic camera triggers pattern, i.e., need not be by pressing secondary or physical bond or clicking on relevant range The triggering of virtual key can take pictures, wherein, the mode of automatic camera triggering can have a variety of, such as countdown, acoustic control etc. Etc. mode, the time of countdown, the speech trigger keyword of acoustic control can preset or follow default setting, for example, falling to count When 4 seconds, say " shooting " etc..
For example, when user carries out self-timer in the position that actual range is more than distance threshold of taking pictures, arm can be stretched over movement Terminal can maintain a more unstable posture, i.e. hand apart from face remote position, now user's hand-held mobile terminal The completely hanging posture of thing is held in portion, and hand is easily shaken, it is impossible to is easily pressed secondary or physical bond by finger or is clicked on phase The action that the triggering of the virtual key on region is taken pictures is closed, in general, except non-user will just clap before being taken pictures using camera applications Sound control triggering is arranged to according to triggering pattern to take pictures, otherwise camera applications are taken pictures under any circumstance is all defaulted as taking pictures manually Triggering pattern, but in the present embodiment, then be when judge actual range be more than take pictures distance threshold when, camera applications setting Pattern is triggered for automatic camera, it is not necessary to which user does the adjustment of any setting, i.e., when user determines it is expectation figure in preview screen During picture, action of taking pictures can be triggered automatically by saying " shooting " two words, obtains desired image.
The present embodiment mobile terminal includes front camera, by opening front camera;Obtained again by front camera Take realtime graphic;The face information of user is obtained from realtime graphic, distance threshold of taking pictures is set according to face information;Analysis is real When image to obtain front camera to the actual range of user's face;Compare actual range and distance threshold of taking pictures;It is if actual Distance is less than or equal to distance threshold of taking pictures, then enters triggering pattern of taking pictures manually;If actual range is more than distance threshold of taking pictures, Then enter automatic camera triggering pattern, can be adjusted automatically by identifying the distance between face and mobile terminal front camera Beat shines triggering pattern, facilitates user quickly to trigger shooting to obtain desired image.
Referring to Fig. 2, Fig. 2 is a kind of flow signal of another embodiment of triggering method of taking pictures of mobile terminal of the present invention Figure.In the present embodiment, mobile terminal includes front camera, and the triggering method of taking pictures of mobile terminal can include following step Suddenly:
S21:Open front camera.
In this step S21, the front camera of mobile terminal is first turned on, mobile terminal is then lifted and prepares to take pictures. Embodiment is similar with the above method, does not repeat herein.
S22:Realtime graphic is obtained by front camera.
After opening front camera in above-mentioned steps S21, realtime graphic can be obtained by front camera.It is specific real It is similar with the above method to apply mode, does not repeat herein.
S23:The face information of user is obtained from realtime graphic, distance threshold of taking pictures is set according to face information.
In this step S23, jitter value is obtained by the gyroscope built in mobile terminal first, then judges jitter value Whether it is more than dithering threshold, if it is not, obtaining the face information of user in the realtime graphic then obtained from above-mentioned steps S22, knows The biological characteristic of others' face acquisition of information user;The arm exhibition value of user is calculated according to biological characteristic;Set and clapped according to arm exhibition value Photographic range threshold value, distance threshold of taking pictures is set according to face information so as to realize.
Acquisition for mobile terminal to realtime graphic be face information for obtaining user, therefore be image obtained by ensureing Quality, first acquired realtime graphic is detected in the present embodiment so that mobile terminal is preferable in realtime graphic quality In the case of just continue the processing of next step.
Detection mode has a variety of, ensures that realtime graphic reaches quality requirement, such as following two detection modes.
The first detection mode:Acquisition for mobile terminal jitter value, and judge whether jitter value is more than dithering threshold, if it is not, Then realtime graphic is preserved under exposal model;If so, then do not preserve realtime graphic under exposal model.
The sensor that can measure mobile terminal direction, angle etc. can be provided with current many mobile terminals, for example, it is heavy Power inductor, gyroscope, electronic compass etc., are illustrated by taking gyroscope as an example below.
User can constantly shift one's position when using acquisition for mobile terminal realtime graphic or angle is found a view, therefore, Before user places mobile terminal under plateau, the action of mobile mobile terminal is had, wherein, plateau can be put It is placed on fixed support, or holds stable state, in the present embodiment, due to is that user is carried out certainly by mobile terminal Clap, therefore plateau refers to hold stable state.User during mobile mobile terminal, the direction of mobile terminal, The data such as angle can all be in a kind of state of change, above-mentioned variable condition typically be represented with jitter value, when mobile terminal is trembled When dynamic value is larger, the realtime graphic that the camera of mobile terminal is got is probably unsharp, thus can pass through it is mobile eventually Internal gyroscope is held to obtain jitter value, so as to help mobile terminal to detect whether the face of the acquisition user from realtime graphic Information, i.e., when jitter value is larger, during more than dithering threshold, then do not obtain;If jitter value is smaller, during less than or equal to dithering threshold, The face information of user is then obtained from realtime graphic.
Gyroscope inside mobile terminal can detect the data such as the direction that mobile terminal is presently in and angle, so as to logical Cross algorithm and be converted into jitter value, user first can preset to the dithering threshold of mobile terminal, can also use movement The dithering threshold of terminal acquiescence, by the way that the size of dithering threshold of the real-time jitter value of mobile terminal with setting is judged, If the real-time jitter value of mobile terminal is not more than dithering threshold, then it is assumed that now mobile terminal realtime graphic meets to require, that is, exists The face information of user is obtained under exposal model in realtime graphic, if the real-time jitter value of mobile terminal is more than dithering threshold When, then it is assumed that now mobile terminal realtime graphic is unsatisfactory for requiring, i.e., user is not obtained in realtime graphic under exposal model Face information.
Second of detection mode, mobile terminal judge whether the quality of realtime graphic meets quality requirements.
This detection mode is directly to judge whether to preserve the realtime graphic according to the quality of realtime graphic.Realtime graphic Quality requirements can be judged according to image definition, and image definition refers to the clear of each thin portion shadow line on image and its border Clear degree, mobile terminal can then obtain the readability of image after realtime graphic is obtained by some algorithms, and algorithm can To be some Image Definitions, such as the evaluation function based on frequency characteristic of field, the evaluation letter based on statistical nature Evaluation function several, based on space domain characteristic etc., i.e., when the condition under function used in the readability of image meets, The face information of user is then obtained from realtime graphic.
The facial feature information of face information, i.e. people, can include human face five-sense-organ geometry and they between Relative position relation, shape of face feature, the physiological characteristic of face can also be included, so as to obtain the phases such as age, sex, race Information is closed, in the present embodiment, two attributes of age and sex in the biological characteristic of face are got after identification face information Value.
Specifically, the face information of user carries out being detection and identification in this step S23 to realtime graphic, so as to Age and the gender data of user is calculated according to face information, the module also in mobile terminal with depth of field perceptional function, its In, the depth of field (DOF) refers to that in camera lens or other imager forward positions the quilt that the imaging of picture rich in detail determined can be obtained Take the photograph object longitudinal separation scope.In the present embodiment, depth of field sensing module enters the age and gender data of acquisition as parameter Row processing, so as to estimate the arm exhibition value of user, detect that user is the male and the female of 25~30 years old of 25~30 years old for example, working as Arm exhibition value during property is different, is greater than the arm exhibition value of women with male's arm exhibition value under age bracket in adult, because , according to age of user and the difference of sex, the arm exhibition value that depth of field sensing module estimates is also what is differed for this.Existed according to user When being taken pictures using mobile terminal, the distance of stretching hand with arm it is different thus produce different arm exhibition values, according to user's difference The posture of hand-held mobile terminal when carrying out self-timer, obtain arm exhibition value to form shooting distance threshold value, wherein, arm exhibition value is preposition The distance range value of camera and human eye, can be it is remote, in, nearly three kinds of distance range front cameras are apart from user's eyes center Point distance range value or front camera respectively apart from user's right and left eyes distance range value average value, herein Do not limit.Arm exhibition value can set different distance ranges of taking pictures according to the difference of the posture of user's hand-held mobile terminal, i.e., User shrinks arm completely, partly stretch one's arm and full extension arm be divided into it is near, in, remote three kinds of distance ranges, therefore can be with A value is taken in the distance value of front camera and human eye as distance threshold of taking pictures, when user shrinks arm, half stretching, extension completely Then it is judged to being less than or equal to distance threshold of taking pictures during arm, is then judged to being more than distance of taking pictures when user's full extension arm Threshold value, wherein distance threshold of taking pictures can be estimate arm exhibition value greatest measure 50% ± 7% or 60% ± 6%, tool Body sets the mode for distance threshold of taking pictures not limit herein.
The distance threshold of taking pictures set in this step S23 according to face information is used in following step S25 with The actual range obtained in step S24 is stated to be compared.
S24:Realtime graphic is analyzed to obtain front camera to the actual range of user's face.
In this step in S24, realtime graphic is analyzed, so as to obtain front camera to user's face information Actual range.
Depth of field sensing module inside mobile terminal more can accurately measure in realtime graphic front camera to using The actual range of family face, it is different from above-mentioned steps S23 to be set according to face information and takes pictures distance threshold, in this step S24 It is to obtain front camera apart from the actual range of face, using face center in realtime graphic as end points, detects preposition shooting Head arrives the actual range of the end points.
The actual range of the front camera obtained in this step S24 to user's face is used in following step S25 In taken pictures with being set in above-mentioned steps S23 compared with distance threshold.
S25:Compare actual range and distance threshold of taking pictures.
In this step S25, take pictures distance threshold and above-mentioned steps will be set according to face information in above-mentioned steps S23 The actual range of front camera to user's face obtained in S24 is compared.
For example, distance range will be taken pictures compared with actual range, to show which value range active user belongs in, When the difference of the posture according to hand-held mobile terminal, when be divided into it is near, in, remote three kinds of distance ranges when, equal to distance threshold of taking pictures Middle distance can then be regarded as to take pictures scope, can then regard remote scope of taking pictures as more than distance threshold of taking pictures, less than taking pictures apart from threshold Value can then regard scope of closely taking pictures as, i.e., when actual range, which is less than or equal to, takes pictures distance threshold, be then judged as closely Scope of taking pictures or middle distance are taken pictures scope, now perform following step S26, when actual range, which is more than, takes pictures distance threshold, then It is judged as scope of taking pictures at a distance, now performs following step S27.
S26:If actual range is less than or equal to distance threshold of taking pictures, enter triggering pattern of taking pictures manually.
By actual range and taken pictures in above-mentioned steps S25 after distance threshold is compared, when comparative result for it is actual away from From less than or equal to take pictures distance threshold when, then enter and take pictures triggering pattern manually, into after triggering pattern of taking pictures manually, bag Include and photographing instruction is obtained by physics shoot button or virtual photograph button, response photographing instruction is taken pictures.
Specifically, user takes pictures when carrying out self-timer using mobile terminal when judging that actual range is less than or equal to During distance threshold, camera applications are set as triggering pattern of taking pictures manually, i.e., by pressing physics shoot button or clicking on related Virtual photograph button on region obtains photographing instruction and taken pictures, wherein, secondary or physical bond can be the volume key on mobile terminal Or other buttons.
For example, when user carries out self-timer in the position that actual range is less than or equal to distance threshold of taking pictures, arm can stretch The position nearer to distance of mobile terminal face, now user's hand-held mobile terminal can maintain a relatively stable posture, I.e. hand holds thing not exclusively hanging posture, hand and is not easy to shake, can be relatively easy to by finger press secondary or physical bond or Person clicks on the action that the virtual key triggering on relevant range is taken pictures, and obtains desired image.
S27:If actual range is more than distance threshold of taking pictures, pattern is triggered into automatic camera.
By actual range and taken pictures in above-mentioned steps S25 after distance threshold is compared, when comparative result for it is actual away from From more than take pictures distance threshold when, then into automatic camera trigger pattern, into after automatic camera triggering pattern, include examine The physics shoot button or virtual photograph button for receiving photographing instruction are surveyed, if not receiving finger of taking pictures in preset time Order, then obtain real-time voice, judge in realtime graphic or real-time voice with the presence or absence of triggering information, that is, judge be in realtime graphic It is no crucial gesture or crucial expression to be present, or judge to whether there is crucial voice in real-time voice, if in the presence of response triggering letter Breath is taken pictures.
Specifically, user takes pictures apart from threshold when carrying out self-timer using mobile terminal when judging that actual range is more than During value, camera applications are set as that automatic camera triggers pattern, i.e., need not be by pressing secondary or physical bond or clicking on relevant range Virtual key can triggering take pictures, automatic camera triggering mode can have it is a variety of, such as countdown, acoustic control etc. side Formula, if user gets used to physics shoot button or the triggering of virtual photograph button, can still preset, it is necessary to explanation Triggering pattern of taking pictures manually is used in time.If do not receive photographing instruction in preset time, then real-time language will be obtained Sound, judge whether comprising triggering information, such as " self-timer ", " eggplant " etc. in the real-time voice, or judge in realtime graphic With the presence or absence of crucial gesture or crucial expression, such as persistently smile 3 seconds or gesture of taking pictures " V " etc., clapped if so, then triggering is automatic According to obtain desired image.
For example, when user is taken pictures under automatic camera triggering pattern, it is to wait for first 5 seconds, the wherein stand-by period is used Family can be preset, and can also follow default setting, if not detecting, user is manually operated, be defaulted as user and be contemplated to be automatically Triggering pattern of taking pictures rather than triggering pattern of taking pictures manually are taken pictures.Into after automatic camera triggering pattern, countdown 5 seconds is opened Animation, and after 5 seconds complete take pictures, user can complete the adjustment of posture and expression in countdown process, during this period, Whether having the triggering of smile self-timer, either the take pictures identification triggering or click on of the triggering of gesture self-timer or voice is taken pictures button or button, If so, then immediately it can also complete to take pictures.
For above-mentioned steps S26 and step S27, in addition to reception is taken pictures triggering pattern switching command, and response is taken pictures tactile Pattern switching instruction is sent out, automatic camera triggering pattern is switched to by triggering pattern of taking pictures manually, or pattern is triggered by automatic camera It is switched to triggering pattern of taking pictures manually.Specifically, as described in Fig. 3, Fig. 4, Fig. 3 is the boundary of taking pictures taken pictures manually under triggering pattern Face schematic diagram, in the interface 100 of taking pictures for triggering of taking pictures manually, show manual mode icon 11, self-timer mode switch prompting figure Mark 12, voice switch prompting icon 13 and 14, the Fig. 4 that takes pictures are the interface schematic diagram of taking pictures under automatic camera triggering pattern, from In the interface 100 of taking pictures of dynamic triggering of taking pictures, auto state icon 15, countdown animation 16 are shown, identification prompting icon of smiling 17th, 14 are taken pictures voice switch prompting icon 13, gesture identification prompting icon 18 and, triggering pattern and automatic is clapped taking pictures manually According under triggering pattern, it can switch triggering pattern of taking pictures, both can be switched to automatic camera by triggering pattern of taking pictures manually touches Hair pattern, pattern can also be triggered by automatic camera and be switched to and taken pictures triggering pattern manually, switching mode has a variety of, can be a little Hit the virtual key of self-timer mode switching or switched by Voice command identification, such as " automatic self-timer " etc..
The present embodiment mobile terminal includes front camera, is obtained by opening front camera, then by front camera Realtime graphic is taken, the face information of user is obtained from realtime graphic, the arm exhibition value of user is obtained according to face information, so as to set Put distance threshold of taking pictures, by depth of field sensing module analyze realtime graphic with obtain front camera to user's face actually away from From actual range and distance threshold of taking pictures are compared, if actual range is less than or equal to distance threshold of taking pictures, enters and claps manually According to triggering pattern, if actual range is more than distance threshold of taking pictures, pattern is triggered into automatic camera, by identifying face with moving The distance between terminal front camera is moved to automatically adjust triggering pattern of taking pictures, facilitates user quickly to trigger shooting to obtain the phase Hope image.
The above method is applied in mobile terminal, and its logical process is represented by computer program, and especially by shifting Dynamic terminal is realized.
For computer program, realize in a software form and as independent production marketing or in use, be storable in one Individual electronic device-readable is taken in storage medium, i.e., the present invention also provides a kind of storage device, and have program stored therein data in equipment, journey The step of ordinal number when being executed by processor according to the above method is realized.Referring to Fig. 5, Fig. 5 is the embodiment of storage device one of the present invention Structural representation, there is routine data to be performed to realize the method for above-described embodiment in storage device 200, the storage is set Standby can be such as USB flash disk, CD, server.
For the hardware configuration of mobile terminal, referring to Fig. 6, the structure that Fig. 6 is the embodiment of mobile terminal one of the present invention is shown It is intended to.The present embodiment mobile terminal 300 includes processor 31, memory 32 and front camera 33, and the coupling of processor 31 is deposited Reservoir 32 and front camera 33, had program stored therein in memory 32 data, and processor 31 loading procedure data and can be held OK, to realize the triggering method of taking pictures of above-mentioned mobile terminal.
Specifically, processor 31 is used to open front camera, realtime graphic is obtained by front camera 33, from reality When image in obtain the face information of user, set and taken pictures distance threshold according to face information, before analysis realtime graphic is to obtain Camera 33 is put to the actual away from comparing actual range and distance threshold of taking pictures, if actual range is less than or equal to of user's face Take pictures distance threshold, then enter triggering pattern of taking pictures manually, if actual range is more than distance threshold of taking pictures, into automatic camera Triggering pattern.
Realize and take pictures triggering method for mobile terminal, triggering method that what the present embodiment mobile terminal was realized take pictures with it is above-mentioned The embodiment of embodiment is similar, and specific implementation step refers to Fig. 1, does not repeat herein.
The present embodiment mobile terminal can be by identifying the distance between face and mobile terminal front camera come automatic Triggering pattern of taking pictures is adjusted, facilitates user quickly to trigger shooting to obtain desired image.
Embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize the present invention The equivalent structure or equivalent flow conversion that specification and accompanying drawing content are made, or directly or indirectly it is used in other related technologies Field, it is included within the scope of the present invention.

Claims (10)

1. a kind of triggering method of taking pictures of mobile terminal, the mobile terminal includes front camera, it is characterised in that the side Method includes:
Open the front camera;
Realtime graphic is obtained by the front camera;
The face information of user is obtained from the realtime graphic, distance threshold of taking pictures is set according to the face information;
The realtime graphic is analyzed to obtain the front camera to the actual range of user's face;
Compare the actual range and the distance threshold of taking pictures;
If the actual range is less than or equal to the distance threshold of taking pictures, enter triggering pattern of taking pictures manually;
If the actual range is more than the distance threshold of taking pictures, pattern is triggered into automatic camera.
2. according to the method for claim 1, it is characterised in that it is described to enter after triggering pattern of taking pictures manually, including:
Photographing instruction is obtained by physics shoot button or virtual photograph button;
The photographing instruction is responded to be taken pictures.
3. according to the method for claim 1, it is characterised in that it is described to enter after automatic camera triggering pattern, including:
Detect the physics shoot button or virtual photograph button for receiving photographing instruction;
If not receiving photographing instruction in preset time, real-time voice is obtained;
Judge in the realtime graphic or the real-time voice with the presence or absence of triggering information;
If in the presence of, respond it is described triggering information taken pictures.
4. according to the method for claim 3, it is characterised in that in the judgement realtime graphic or the real-time voice With the presence or absence of triggering information, including:
Judge to whether there is crucial gesture or crucial expression in the realtime graphic, or judge to whether there is in the real-time voice Crucial voice.
5. according to the method for claim 1, it is characterised in that methods described further comprises:
Reception is taken pictures triggering pattern switching command;
Taken pictures described in response triggering pattern switching command, being switched to the automatic camera by the triggering pattern of taking pictures manually triggers Pattern, or triggering pattern of taking pictures manually is switched to by automatic camera triggering pattern.
6. according to the method for claim 1, it is characterised in that described set according to the face information is taken pictures apart from threshold Value, including:
Identify that the face information obtains the biological characteristic of the user;
The arm exhibition value of the user is calculated according to the biological characteristic;
Shooting distance threshold value is set according to the arm exhibition value.
7. according to the method for claim 1, it is characterised in that the face letter that user is obtained from the realtime graphic Breath, including:
Jitter value is obtained, and judges whether the jitter value is more than dithering threshold;
If it is not, the face information of user is then obtained from the realtime graphic.
8. according to the method for claim 7, it is characterised in that the mobile terminal obtains jitter value by gyroscope.
9. a kind of mobile terminal, including processor, memory and front camera, it is characterised in that the processor coupling The memory and the front camera;The processor is used for:
Open the front camera;
Realtime graphic is obtained by the front camera;
The face information of user is obtained from the realtime graphic, distance threshold of taking pictures is set according to the face information;
The realtime graphic is analyzed to obtain the front camera to the actual range of user's face;
Compare the actual range and the distance threshold of taking pictures;
If the actual range is less than or equal to the distance threshold of taking pictures, enter triggering pattern of taking pictures manually;
If the actual range is more than the distance threshold of taking pictures, pattern is triggered into automatic camera.
10. a kind of storage device, it is characterised in that the storage device is used for storage program data, and described program data can It is performed to realize the method any one of claim 1-8.
CN201711012024.9A 2017-10-25 2017-10-25 Photographing triggering method of mobile terminal, mobile terminal and storage device Active CN107835359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711012024.9A CN107835359B (en) 2017-10-25 2017-10-25 Photographing triggering method of mobile terminal, mobile terminal and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711012024.9A CN107835359B (en) 2017-10-25 2017-10-25 Photographing triggering method of mobile terminal, mobile terminal and storage device

Publications (2)

Publication Number Publication Date
CN107835359A true CN107835359A (en) 2018-03-23
CN107835359B CN107835359B (en) 2020-01-03

Family

ID=61649247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711012024.9A Active CN107835359B (en) 2017-10-25 2017-10-25 Photographing triggering method of mobile terminal, mobile terminal and storage device

Country Status (1)

Country Link
CN (1) CN107835359B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669515A (en) * 2018-12-17 2019-04-23 武汉华星光电半导体显示技术有限公司 A kind of two-sided panel type display and the method for controlling its switching
CN110062167A (en) * 2019-04-28 2019-07-26 努比亚技术有限公司 A kind of linkage filming control method, equipment and computer readable storage medium
CN110567884A (en) * 2018-05-16 2019-12-13 Bsh家用电器有限公司 Method and scanning device for determining spectral data
CN110673778A (en) * 2019-09-23 2020-01-10 联想(北京)有限公司 Output control method and device, electronic equipment, terminal and server
CN111031249B (en) * 2019-12-26 2021-07-13 维沃移动通信有限公司 Auxiliary focusing method and electronic equipment
CN113191403A (en) * 2021-04-16 2021-07-30 上海戏剧学院 Generation and display system of theater dynamic poster
CN115484392A (en) * 2021-06-16 2022-12-16 荣耀终端有限公司 Video shooting method and electronic equipment
CN115484390A (en) * 2021-06-16 2022-12-16 荣耀终端有限公司 Video shooting method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110062387A (en) * 2009-12-03 2011-06-10 삼성전자주식회사 A digital photographing apparatus and a method for controlling the same
CN102629979A (en) * 2012-03-30 2012-08-08 华为终端有限公司 Shooting mode starting method and photographic device
CN103139480A (en) * 2013-02-28 2013-06-05 华为终端有限公司 Image acquisition method and image acquisition device
CN103269415A (en) * 2013-04-16 2013-08-28 广东欧珀移动通信有限公司 Automatic photo taking method for face recognition and mobile terminal
CN103391366A (en) * 2013-07-18 2013-11-13 上海华勤通讯技术有限公司 Mobile terminal and identification method thereof
CN105915803A (en) * 2016-06-15 2016-08-31 惠州Tcl移动通信有限公司 Shooting method and system based on sensor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110062387A (en) * 2009-12-03 2011-06-10 삼성전자주식회사 A digital photographing apparatus and a method for controlling the same
CN102629979A (en) * 2012-03-30 2012-08-08 华为终端有限公司 Shooting mode starting method and photographic device
CN103139480A (en) * 2013-02-28 2013-06-05 华为终端有限公司 Image acquisition method and image acquisition device
CN103269415A (en) * 2013-04-16 2013-08-28 广东欧珀移动通信有限公司 Automatic photo taking method for face recognition and mobile terminal
CN103391366A (en) * 2013-07-18 2013-11-13 上海华勤通讯技术有限公司 Mobile terminal and identification method thereof
CN105915803A (en) * 2016-06-15 2016-08-31 惠州Tcl移动通信有限公司 Shooting method and system based on sensor

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110567884A (en) * 2018-05-16 2019-12-13 Bsh家用电器有限公司 Method and scanning device for determining spectral data
US10782926B2 (en) 2018-12-17 2020-09-22 Wuhan China Star Optoelectronics Semiconductor Display Technology Co., Ltd. Double-screen display device and switch method for controlling the same
CN109669515A (en) * 2018-12-17 2019-04-23 武汉华星光电半导体显示技术有限公司 A kind of two-sided panel type display and the method for controlling its switching
CN110062167A (en) * 2019-04-28 2019-07-26 努比亚技术有限公司 A kind of linkage filming control method, equipment and computer readable storage medium
CN110062167B (en) * 2019-04-28 2021-11-12 努比亚技术有限公司 Linkage shooting control method and device and computer readable storage medium
CN110673778B (en) * 2019-09-23 2021-11-16 联想(北京)有限公司 Output control method and device, electronic equipment, terminal and server
CN110673778A (en) * 2019-09-23 2020-01-10 联想(北京)有限公司 Output control method and device, electronic equipment, terminal and server
CN111031249B (en) * 2019-12-26 2021-07-13 维沃移动通信有限公司 Auxiliary focusing method and electronic equipment
CN113191403A (en) * 2021-04-16 2021-07-30 上海戏剧学院 Generation and display system of theater dynamic poster
CN115484392A (en) * 2021-06-16 2022-12-16 荣耀终端有限公司 Video shooting method and electronic equipment
CN115484390A (en) * 2021-06-16 2022-12-16 荣耀终端有限公司 Video shooting method and electronic equipment
CN115484390B (en) * 2021-06-16 2023-12-19 荣耀终端有限公司 Video shooting method and electronic equipment
CN115484392B (en) * 2021-06-16 2023-12-19 荣耀终端有限公司 Video shooting method and electronic equipment

Also Published As

Publication number Publication date
CN107835359B (en) 2020-01-03

Similar Documents

Publication Publication Date Title
CN107835359A (en) Triggering method of taking pictures, mobile terminal and the storage device of a kind of mobile terminal
US11678734B2 (en) Method for processing images and electronic device
WO2021023059A1 (en) Photographing method and mobile terminal
WO2021135601A1 (en) Auxiliary photographing method and apparatus, terminal device, and storage medium
CN108712603B (en) Image processing method and mobile terminal
CN111182205B (en) Photographing method, electronic device, and medium
WO2019120029A1 (en) Intelligent screen brightness adjustment method and apparatus, and storage medium and mobile terminal
WO2017113668A1 (en) Method and device for controlling terminal according to eye movement
CN112118380B (en) Camera control method, device, equipment and storage medium
WO2021042364A1 (en) Method and device for taking picture
CN113840070B (en) Shooting method, shooting device, electronic equipment and medium
WO2022095860A1 (en) Fingernail special effect adding method and device
WO2023083132A1 (en) Photographing method and apparatus, and electronic device and readable storage medium
CN112399078B (en) Shooting method and device and electronic equipment
CN109947243A (en) Based on the capture of intelligent electronic device gesture and identification technology for touching hand detection
CN108307108B (en) Photographing control method and mobile terminal
WO2023083279A1 (en) Photographing method and apparatus
WO2022206605A1 (en) Method for determining target object, and photographing method and device
CN110297929A (en) Image matching method, device, electronic equipment and storage medium
WO2022143311A1 (en) Photographing method and apparatus for intelligent view-finding recommendation
CN109960406A (en) Based on the intelligent electronic device gesture capture acted between both hands finger and identification technology
CN109993059A (en) Binocular vision and object recognition technique on intelligent electronic device based on single camera
TW201714074A (en) A method for taking a picture and an electronic device using the method
KR20090032209A (en) Method and apparatus for registering a image in a telephone directory of portable terminal
CN108833794B (en) Shooting method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200928

Address after: 6 / F, No.5, Lane 999, Yangfan Road, hi tech Zone, Ningbo City, Zhejiang Province

Patentee after: TCL COMMUNICATION (NINGBO) Co.,Ltd.

Address before: 518052 Guangdong city of Shenzhen province Nanshan District Xili street Zhongshan Road No. 1001 TCL E international city three building F4 Building 8 floor TCL communication technology

Patentee before: Jiekai communication (Shenzhen) Co.,Ltd.

TR01 Transfer of patent right