CN107509024B - One kind is taken pictures processing method and mobile terminal - Google Patents

One kind is taken pictures processing method and mobile terminal Download PDF

Info

Publication number
CN107509024B
CN107509024B CN201710614366.1A CN201710614366A CN107509024B CN 107509024 B CN107509024 B CN 107509024B CN 201710614366 A CN201710614366 A CN 201710614366A CN 107509024 B CN107509024 B CN 107509024B
Authority
CN
China
Prior art keywords
photo
photograph
advance
face
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710614366.1A
Other languages
Chinese (zh)
Other versions
CN107509024A (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 CN201710614366.1A priority Critical patent/CN107509024B/en
Publication of CN107509024A publication Critical patent/CN107509024A/en
Application granted granted Critical
Publication of CN107509024B publication Critical patent/CN107509024B/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
    • 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)
  • Studio Devices (AREA)

Abstract

It takes pictures processing method and mobile terminal the present invention provides one kind, belongs to image processing technology.Processing method and the mobile terminal provided in an embodiment of the present invention of taking pictures, photo will can be taken the photograph in advance to be associated with the final photo of shooting, when user wants the angle of the final photo of adjustment, the final photo can be determined as target picture, satisfied photo is selected to take the photograph photo in advance as target from associated pre- take the photograph in photo of the target picture, turn finally to the photo angle that target takes the photograph subject in photo adjustment target picture in advance, taking the photograph photo in advance due to target is the photo shot in advance during user adjusts shooting angle according to subject, therefore target takes the photograph photo and target picture scene and the identical subject having the same of taking pictures in advance, but it is different from the angle of subject in target picture that target takes the photograph the angle of subject in photo in advance.Therefore it may be referred to which target takes the photograph the photo angle of subject in photo adjustment target picture in advance.

Description

One kind is taken pictures processing method and mobile terminal
Technical field
The invention belongs to image processing technology, take pictures processing method and mobile terminal more particularly to one kind.
Background technique
Currently, camera function as the standard configuration in current mobile terminal, has obtained being widely recognized as and liking for user.It is clapping According to when, common process is: user select oneself be satisfied with photo angle, adjust film composition, finally press camera button shooting Final photo.In practice, due to the influence of shooting condition, after taking pictures, user generally requires to carry out the later period to final photo Processing.
When carrying out post-processing to photo in first technology, it is often based on image rendering level and adjusts the bright of final photo Degree and color etc..But the processing method in first technology can not adjust the angle of final photo, at this point, user can only pass through Re-shoot under scene identical with final photograph taking scene to achieve the effect that adjustment angle, it is cumbersome, it can be achieved that It spends low.
Summary of the invention
The present invention provides one kind and takes pictures processing method and mobile terminal, when to solve to adjust the angle photo, angle tune Section inaccuracy, cumbersome, the poor problem of user experience.
Taking pictures processing method in a first aspect, providing one kind according to the present invention, is applied to mobile terminal, this method packet It includes:
When the mobile terminal receives first count according to operational order, is shot, obtained in advance according to current shooting picture Collection of photographs is taken the photograph to pre-;It is described it is pre- take the photograph collection of photographs and include at least one take the photograph photo in advance, it is institute that described at least one, which is taken the photograph photo in advance, State the photo that mobile terminal is shot in advance during user adjusts shooting angle according to subject;
When the mobile terminal receives second count according to operational order, an at least final photo is shot;
It pre- take the photograph each in collection of photographs by described and takes the photograph each in photo and at least one final photo in advance Final photo is respectively associated;
First choice operational order is received, target picture is determined from described at least one final photo;
The instruction of the second selection operation is received, determines that target is taken the photograph in advance from associated pre- take the photograph in collection of photographs of the target picture Photo;
The photo angle that photo adjusts subject in the target picture is taken the photograph in advance with reference to the target, wherein the quilt Taking the photograph object includes at least one of face or object.
Second aspect according to the present invention provides a kind of mobile terminal, which includes:
Pre- shooting module, for being drawn according to current shooting when the mobile terminal receives first count according to operational order Face is shot in advance, obtains pre- taking the photograph collection of photographs;It is described it is pre- take the photograph collection of photographs and include at least one take the photograph photo in advance, described at least one Opening pre- photo of taking the photograph is the photo that the mobile terminal is shot in advance during user adjusts shooting angle according to subject;
Shooting module, it is final for when the mobile terminal receives second count according to operational order, shooting at least one Photo;
Relating module, for pre- each taken the photograph in collection of photographs to be taken the photograph to photo and at least one final photograph in advance Each final photo in piece is respectively associated;
First determining module determines mesh for receiving first choice operational order from described at least one final photo Mark photo;
Second determining module, for receiving the instruction of the second selection operation, from the target picture is associated pre- takes the photograph photo Determine that target takes the photograph photo in advance in set;
Module is adjusted, for taking the photograph the angle of taking pictures that photo adjusts subject in the target picture in advance with reference to the target Degree, wherein the subject includes at least one of face or object.
For first technology, the present invention at least has following advantage:
Take pictures processing method and mobile terminal provided in an embodiment of the present invention can be adjusted according to subject in user and be clapped Take the photograph carry out during angle pre- shooting obtain it is pre- take the photograph photo, then will take the photograph photo in advance and be associated with the final photo of shooting, when with When the angle of the final photo of family desired adjustment dissatisfied to the angle of final photo, which can be determined as to target photograph Piece selects satisfied photo to take the photograph photo in advance as target, turns finally to target from associated pre- take the photograph in photo of the target picture The photo angle of subject in photo adjustment target picture is taken the photograph in advance, and taking the photograph photo in advance due to target is in user according to subject The photo shot in advance during adjustment shooting angle, therefore target takes the photograph photo and target picture field having the same of taking pictures in advance Scape and identical subject, but target takes the photograph the angle of subject in the angle of subject and target picture in photo in advance It is different.Therefore it may be referred to which target takes the photograph the photo angle of subject in photo adjustment target picture in advance.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of step flow chart for processing method of taking pictures that the embodiment of the present invention one provides;
Fig. 2-1 is that another kind provided by Embodiment 2 of the present invention is taken pictures the step flow chart of processing method;
Fig. 2-2 is a kind of face coordinate system schematic diagram provided by Embodiment 2 of the present invention;
Fig. 2-3 is a kind of face deviation angle schematic diagram provided by Embodiment 2 of the present invention;
Fig. 2-4 is a kind of target picture selection user interface map provided by Embodiment 2 of the present invention;
Fig. 2-5 is that the present invention is a kind of angle adjustment user interface map that embodiment two provides;
Fig. 3 is a kind of block diagram for mobile terminal that the embodiment of the present invention three provides;
Fig. 4 is the block diagram for another mobile terminal that the embodiment of the present invention four provides;
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 6 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention It is fully disclosed to those skilled in the art.
Embodiment one
Fig. 1 is a kind of step flow chart for processing method of taking pictures that the embodiment of the present invention one provides, and this method is applied to move Dynamic terminal, as shown in Figure 1, this method may include:
Step 101, when the mobile terminal receives first count according to operational order, carried out according to current shooting picture pre- Shooting obtains pre- taking the photograph collection of photographs.
In the embodiment of the present invention, which can be user according to operational order and passes through the camera applications of unlatching mobile terminal It is sent to mobile terminal, when the camera applications of mobile terminal are opened, it is believed that mobile terminal is currently at mould capable of taking pictures Formula is exactly to indicate that mobile terminal can currently be shot, current shooting picture indicates that the camera of mobile terminal collects Picture.Mobile terminal in the embodiment of the present invention can be mobile phone, tablet computer, mm professional camera special, portable electronic device etc. It is able to carry out the equipment taken pictures.
Further, pre- shooting refers to the behaviour that mobile terminal is shot in advance before user shoots final photo Make, to obtain pre- taking the photograph collection of photographs.Wherein, which takes the photograph photo in advance including at least one, this at least one pre- Taking the photograph photo is the photo that mobile terminal is shot in advance during user adjusts shooting angle according to subject.Specifically, Without limitation, shoot the obtained pre- quantity for taking the photograph photo in advance can be according to reality the quantity embodiment of the present invention for taking the photograph photo in advance What the case where border is shot in advance determined.It is exemplary, if user is long according to the process time that subject adjusts shooting angle, What is so obtained pre- take the photograph include in collection of photographs pre- to take the photograph number of pictures relatively just more more.
Generally, during taking pictures, user usually first opens camera, then adjusts shooting angle according to subject Degree is patterned, etc., and last triggering camera function obtains final photo.Wherein, which can be user It can be other people or objects.Assuming that the photographing mode of mobile terminal is self-timer mode, then the subject is user's sheet People, in user according to oneself shape of face, when light condition of surrounding etc. adjusts the angle, mobile terminal can be clapped according to current Picture is taken the photograph, is shot in advance, obtains pre- taking the photograph collection of photographs.
Step 102, when the mobile terminal receives second count according to operational order, shoot an at least final photo.
In the embodiment of the present invention, which can be user by the camera function of triggering mobile terminal to shifting What dynamic terminal was sent.Specific triggering mode can be to be triggered by clicking the camera button on mobile terminal display interface, It is also possible to be triggered by entity button.For example, user can be by pressing the mobile phone when mobile terminal is mobile phone Volume key triggers the camera function of mobile phone, and then sends second count to mobile phone and shine operational order, and mobile phone can be according to receiving Second count take operational order and shoot final picture, the embodiment of the present invention is not construed as limiting this.
For the quantity of final photo, the embodiment of the present invention is without limitation.The particular number of the final photo can be by The second count that mobile terminal receives is determined according to the number of operational order, that is, is exactly, and user triggers mobile terminal camera function What number determined.User can repeatedly trigger the camera function of mobile terminal, and mobile terminal is made to shoot multiple final photos, example , if user clicks the button of taking pictures of mobile terminal three times, then, corresponding, mobile terminal can receive second count three times According to operational order, and then obtain three final photos.
Step 103 pre- taken the photograph described each in collection of photographs and is taken the photograph in photo and at least one final photo in advance Each final photo be respectively associated.
In the embodiment of the present invention by will take the photograph in advance each in collection of photographs in advance take the photograph photo with it is each in final photo Final photo is respectively associated, can make it is subsequent when need to carry out angle adjustment to final photo, can choose with most Whole photo is associated pre- to take the photograph photo to be adjusted.It is exemplary, it is assumed that it is taken the photograph in collection of photographs a in advance and takes the photograph photo in advance including five, until A few final photo includes final photo 1 and final photo 2, takes the photograph photograph in advance for this five then can be when association Piece is associated with final photo 1, is taken the photograph photo in advance for this five and is associated with final photo 2.
Step 104 receives first choice operational order, and target picture is determined from described at least one final photo.
In the embodiment of the present invention, the photo which adjusts the angle for the needs of user's selection should First choice operational order can be the instruction generated according to user for the selection operation for the photo for needing to adjust the angle.Example , when user wants the angle of the final photo of adjustment, can select to want adjustment angle from this at least one final photo Final photo, the selection operation can touch generate first choice operational order, mobile terminal receiving the first choice behaviour After instructing, the final photo of the corresponding user's selection of the first choice operational order can be determined as target picture, it is false If user has selected final photo 2, then final photo 2 can be determined as target picture by mobile terminal.
Step 105 receives the instruction of the second selection operation, determines from associated pre- take the photograph in collection of photographs of the target picture Target takes the photograph photo in advance.
In the embodiment of the present invention, second selection operation instruction is for user's selection for adjusting the angle to target picture It is pre- take the photograph photo, second selection operation instruction can be and be selected according to user from associated pre- take the photograph in collection of photographs of target picture The instruction for generating to the pre- selection operation for taking the photograph photo that target picture adjusts the angle is selected, mobile terminal second can select this Select operational order corresponding user selection it is pre- take the photograph photo and be determined as target take the photograph photo in advance.It is exemplary, it is assumed that user is shone final The angle of piece 2 is dissatisfied, and final photo 2 is determined as target picture, then selects more full with the associated angle of final photo 2 The pre- of meaning takes the photograph photo 1 to carry out angle adjustment to final photo 2, and mobile terminal can be by taking the photograph photo 1 is determined as target in advance at this time Photo is taken the photograph in advance.
Step 106 takes the photograph the photo angle that photo adjusts subject in the target picture with reference to the target in advance.
In the embodiment of the present invention, which may include at least one of face or object.In this step, true Set the goal it is pre- take the photograph after photo, mobile terminal can take the photograph photo with reference to the target to carry out photo angle adjustment in advance.Specifically, moving Target can be taken the photograph photo in advance and be determined as target picture by dynamic terminal, that is, be exactly to take the photograph photo replacement target picture in advance using target.Example Such as, taking the photograph photo in advance with target is to take the photograph photo 1 in advance, and target picture is replaced most for final photo 2, to can use pre- photo 1 of taking the photograph Whole photo 2 adjusts the photo angle of subject to realize.Taking the photograph photo in advance due to target is user according to subject adjusting angle It is shot during degree, so target takes the photograph photo and target picture take pictures scene and subject having the same in advance, but The angle of the subject of the two is different.Therefore, when user want adjust the target picture angle when, can from the target Associated pre- take the photograph in photo of photo selects satisfied photo as target and takes the photograph photo in advance to adjust subject in target picture Angle.
In conclusion the processing method of taking pictures that the embodiment of the present invention one provides, mobile terminal can be in user according to shot Carried out during object adjustment shooting angle pre- shooting obtain it is pre- take the photograph photo, then will take the photograph the final photo of photo and shooting in advance Association can be true by the final photo when the dissatisfied angle for wanting the final photo of adjustment of angle of the user to final photo It is set to target picture, selects satisfied photo to take the photograph photo in advance as target from associated pre- take the photograph in photo of the target picture, most Reference target takes the photograph the photo angle of subject in photo adjustment target picture in advance afterwards, and taking the photograph photo in advance due to target is in user's root The photo shot in advance during adjusting shooting angle according to subject, therefore target takes the photograph photo and target picture with phase in advance Same take pictures scene and identical subject, but target is taken the photograph in photo in advance and is shot in the angle of subject and target picture The angle of object is different.Therefore it may be referred to which target takes the photograph the photo angle of subject in photo adjustment target picture in advance.
Embodiment two
Fig. 2-1 is that another kind provided by Embodiment 2 of the present invention is taken pictures the step flow chart of processing method, this method application In mobile terminal, as shown in Fig. 2-1, this method may include:
Step 201 when receiving first count at the mobile terminal according to operational order, is carried out according to current shooting picture Pre- shooting obtains pre- taking the photograph collection of photographs.
Specifically, shot in advance according to current shooting picture, obtain pre- when taking the photograph collection of photographs, can be according to current Whether include face in shooting picture, is shot in advance by different implementations, obtain pre- shooting collection of photographs.In determination It can be determined by infrared human body detection when whether including face in current shooting picture.It is exemplary, since human body has perseverance Fixed body temperature so specific wavelength infrared ray can be issued, therefore can detect human body by infrared sensor generally at 37 degree The infrared ray of transmitting, and then whether there is human body in the range of determining camera detection, if deposited in the range of camera detection In human body, then it is assumed that there are faces in current shooting picture.
It is exemplary.If in current shooting picture include face, can by the achievable mode one in this step come into The pre- shooting of row can be carried out pre- if not including face in current shooting picture by the achievable mode two in this step Shooting.
Mode one can be achieved:
Whether step 2011, the photosensitive value for detecting current environment meet the condition for carrying out recognition of face.
Due to only reaching certain numerical value in the photosensitive value of current environment, it could guarantee the accuracy rate of recognition of face.Cause This in embodiments of the present invention, can first detect current environment photosensitive value whether meet carry out recognition of face condition, with protect Card recognition of face is normally carried out, and improves the pre- quality for taking the photograph photo shot in advance in subsequent step.Specifically, in this step The photosensitive value that current environment can be obtained by the light-inductive device of mobile terminal, when current environment photosensitive value be greater than can When carrying out the minimum photosensitive value threshold value of recognition of face, then it is assumed that the photosensitive value of current environment can satisfy the item for carrying out recognition of face Part continues to execute subsequent step;If current environment photosensitive value is not able to satisfy condition, without subsequent operation, that is, it is exactly, no It is shot in advance.It can guarantee that the subsequent pre- obtained pre- photo of taking the photograph that shoots has higher quality in this way, and then improve user experience.
If step 2012, current environment meet the condition for carrying out recognition of face, to the current shooting picture In face carry out recognition of face, to obtain facial feature data.
Recognition of face is the detection and tracking face in the image comprising face, and then carries out face to the face detected Sequence of operations the relevant technologies, usually also referred to as Identification of Images, face recognition etc..The facial feature data may include eye The shape of the image surfaces face profile such as eyeball, mouth, nose and ear, relative size, position, distance and face outer profile shape Size, these facial characteristics may be used to determine position angle and analysis human face expression of face etc..
Specifically, carrying out recognition of face may is that with obtaining the process of facial feature data firstly, to current shooting picture In face part carry out control point vector label;Then, a series of control by face shape statistical model to label Point vector is for statistical analysis, obtains shape size, position and distance of each facial characteristics etc..
Step 2013, to calculate the corresponding face of face in the current shooting picture according to the facial feature data inclined Move angle.Wherein, the face deviation angle is the deviation angle relative to standard faces.
In this step, face deviation angle can be calculated using standard faces as reference.Specifically, can will face it is special Levy the shape of shape, relative size and the position of each face and each face in standard faces in data, relative size with And position is compared, and then determines face deviation angle.It is exemplary, it is assumed that in the facial feature data obtained in above-mentioned steps It only include the data of an eyes, and, the shape of nose is the intermediate bridge of the nose in the positive face of nose and standard in facial feature data The bone two sides wing of nose is different, and the shape of nose is only comprising the side wing of nose, it may be considered that current shooting is drawn in facial feature data Face in face is in tilt angle.
Exemplary, Fig. 2-2 is that a kind of face coordinate system schematic diagram provided by Embodiment 2 of the present invention can as shown in Fig. 2-2 With using the nose of the positive face of standard as coordinate origin, the horizontal direction of two ears connection is as X-axis, the numerical value of eyes to chin Direction is as Y-axis, and the direction that nose to the back side of head connects is as Z axis.It is calculated in current shooting picture according to facial feature data The opposite face deviation angle with the positive face of standard in the coordinate system of face, wherein the face deviation angle may include X-axis Deviation angle, the deviation angle of Y-axis and the deviation angle of Z axis.Fig. 2-3 is a kind of face provided by Embodiment 2 of the present invention Deviation angle schematic diagram corresponds to different face deviation angles from can be seen that different face postures in Fig. 2-3.
It should be noted that in this step with standard faces be with reference to being only to schematically illustrate, can be in practical operation Select reference object, such as standard side face etc. according to actual needs.Same way, it is also possible to establish face coordinate using other modes System, for example, can be using the chin of the positive face of standard as coordinate origin, the numerical value direction of eyes to chin is as X-axis, two ears The horizontal direction of connection as Y-axis, do not do superfluous herein as Z axis etc., the embodiment of the present invention by the direction that nose to the back side of head connects It states.
Step 2014, when the face deviation angle is within the scope of predetermined angle, or, when the face deviation angle with When unspecified angle value in preset at least one set angle value is identical, is then shot in advance, obtain pre- taking the photograph collection of photographs.
Predetermined angle range in the embodiment of the present invention can be designer and pass through one for testing obtain in advance preferably Angular range.The predetermined angle range can guarantee to obtain pre- take the photograph when face deviation angle is within the scope of the predetermined angle Face posture and angle in photo are in normal condition, and preferable visual experience can be brought to user.Further, originally It is also possible to default at least one set of angle value in inventive embodiments, to guarantee when face deviation angle and the preset angle value phase Meanwhile obtaining the pre- face posture taken the photograph in photo and angle is in normal condition, the embodiment of the present invention is not construed as limiting this.
Assuming that current face deviation angle is -10 ° of X-axis deviation angle, -20 ° of Y-axis deviation angle and Z axis deviation angle - 2 ° of degree;Preset at least one set of angle value are as follows: preset -10 ° of X-axis deviation angle angle value), preset Y-axis deviation angle angle value - 20 ° and -2 ° of angle value of preset Z axis deviation angle.Due in the face deviation angle and preset angle value, then at this time can be with It is shot in advance, obtains pre- taking the photograph photo.
Assuming that current face deviation angle is -10 ° of X-axis deviation angle, -20 ° of Y-axis deviation angle and Z axis deviation angle - 2 ° of degree;The preset angular range includes: preset X-axis offset angles runs (+30 °, -30 °), preset Y-axis deviation angle Range (+30 °, -30 °) and preset Z axis offset angles runs (+30 °, -30 °).Since the face deviation angle is default Angular range in, then can be shot in advance at this time, obtain pre- taking the photograph photo.After shooting terminates, mobile terminal can be with Return step 2011 restarts the new period, obtains one group of new face deviation angle and is shot in advance, up to receiving the Two photographing operations instruction, until shooting final photo.It should be noted that if the pre- of current period shooting takes the photograph the corresponding people of photo Face deviation angle and shot in the period before it is pre- take the photograph the corresponding face deviation angle of photo it is identical when, can be with current period The pre- of period takes the photograph photo before taking the photograph photo covering in advance.
In practical application, obtain it is pre- take the photograph photo after, this pre- can be taken the photograph into photo and pre- to take the photograph photo corresponding with this Face deviation angle stores.After reacquiring one group of new face deviation angle, the new face can be first judged Whether deviation angle and the pre- face deviation angle for taking the photograph photo of last shooting meet preset relation, for example, the new face Whether deviation angle and the pre- face deviation angle for taking the photograph photo of last shooting have the variable quantity not less than 0.1 °, and this 0.1 ° Variable quantity can be at least one of X-axis deviation angle, Y-axis deviation angle or Z axis deviation angle.
Mode two can be achieved:
The achievable mode two provided in the embodiment of the present invention two is for face is not present in current shooting picture the case where, When specific implementation, it can be realized by the either step in following steps.
Step A1, it when not including face in the current shooting picture, is then carried out when current shooting picture is focused pre- Shooting obtains pre- taking the photograph collection of photographs.
In this step, focusing is also named to light, is focused, and refers to that position by Focusing mechanism variation object distance and apart makes by quilt Take the photograph object clearly process.Generally, under photographing mode, mobile terminal can focus automatically.When current picture is focused It waits, can be shot in advance, obtain pre- taking the photograph collection of photographs.
It is exemplary, it is assumed that user Zhang San opens the camera of mobile terminal, and is shot by the rear camera of mobile terminal One pagoda, when current picture focusing, mobile terminal will do it pre- shooting, obtains one and takes the photograph photo in advance, due to user There can be the case where repeatedly focusing when adjusting shooting angle, for example, Zhang San can be by multiple shift position, to choose difference The pagoda of angle, for example, being moved to the right side of pagoda or being moved to the rear of pagoda.When user Zhang San is mobile, Current shooting picture will focus again, then it is available at this time multiple it is pre- take the photograph photo, these are pre- take the photograph photo may be constructed it is pre- Take the photograph collection of photographs.
Or, step A2, shot in advance according to preset time interval, obtain pre- taking the photograph collection of photographs.
In practical application, a prefixed time interval can also be set, per at regular intervals, is just shot into pre- until moving Dynamic terminal receives second count according to operational order, until shooting final photo.Exemplary, which can be 0.2 second, then will do it pre- shooting after user opens the camera of mobile terminal every 0.2s mobile terminal, obtaining one Photo is taken the photograph in advance.For example, Zhang San shines behaviour to mobile terminal transmission second count from the camera function for opening camera to triggering mobile terminal Before instructing, it is spaced 1.1s, then mobile terminal takes the photograph photograph by shooting available 5 in advance in advance within this 1.1s time Piece.Achievable mode two in the embodiment of the present invention operate it is relatively simple, for currently acquire in picture not comprising face when It waits, realizes that pre- shooting can simplify process flow using achievable mode two, improve the efficiency shot in advance.
In practical application, it is also possible to be carried out according to the work at present camera of mobile terminal using different implementations Pre- shooting, for example, can be clapped in advance when work at present camera is front camera using achievable mode one It takes the photograph;It when work at present camera is rear camera, is shot in advance using achievable mode two, the present invention is implemented Example is not construed as limiting this.It should be noted that in the embodiment of the present invention, it is also possible in current shooting picture that there are when face Or work at present camera be front camera when, pre- shooting is realized using mode provided by Embodiment 2 of the present invention, this Inventive embodiments do not limit this.
If step 202, the mobile terminal do not receive second count according to operational order, photo is taken the photograph in advance by described at least one It deletes.
It is exemplary, it is assumed that user Zhang San opens the camera of mobile terminal, the mistake that mobile terminal is adjusted the angle in user Zhang San The pre- shooting of progress has obtained two and has taken the photograph photo in advance in journey, but, user Zhang San has directly exited camera and has not shot final photo, i.e., It is exactly that mobile terminal does not receive second count according to operational order, is deleted then mobile terminal can take the photograph this two in photo in advance, with Save memory space.
Step 203, when the mobile terminal receives second count according to operational order, shoot an at least final photo.
In the embodiment of the present invention, which can be user by the camera function of triggering mobile terminal to shifting What dynamic terminal was sent.Specific triggering mode can be to be triggered by clicking the camera button on mobile terminal display interface, It is also possible to be triggered by entity button.For example, user can be by pressing the mobile phone when mobile terminal is mobile phone Volume key triggers the camera function of mobile phone, and then sends second count to mobile phone and shine operational order, and mobile phone can be according to receiving Second count take operational order and shoot final picture, the embodiment of the present invention is not construed as limiting this.
For the quantity of final photo, the embodiment of the present invention is without limitation.The particular number of the final photo can be by The second count that mobile terminal receives is determined according to the number of operational order, that is, is exactly, and user triggers mobile terminal camera function What number determined.User can repeatedly trigger the camera function of mobile terminal, and mobile terminal is made to shoot multiple final photos, example , if user clicks the button of taking pictures of mobile terminal three times, then, corresponding, mobile terminal can receive second count three times According to operational order, and then obtain three final photos.It, can be with the case where for including portrait in current picture in practical application The final photo corresponding face offset data is determined when shooting final photo, it can will after obtaining final photo The final photo and the corresponding face deviation angle of the final photo also store.
Step 204 pre- taken the photograph described each in collection of photographs and is taken the photograph in photo and at least one final photo in advance Each final photo be respectively associated.
Specifically, can be realized by following step when realizing association:
Step A, it pre- take the photograph each in collection of photographs by described and takes the photograph in photo and at least one final photo in advance Each final photo is stored respectively to same directory.
It is exemplary, it is assumed that be taken the photograph in collection of photographs in advance and take the photograph photo in advance including two, this two take the photograph photo respectively takes the photograph photograph in advance in advance Piece 1 and photo 2 is taken the photograph in advance, then will can take the photograph in advance photo 1, take the photograph photo 2 in advance and final photo 1 is stored to identical directory A, Photo 1 will be taken the photograph in advance, take the photograph photo 2 in advance and final photo 2 stores to identical catalogue B and realizes association.
Or, step B, by described pre- taking the photograph each in collection of photographs and taking the photograph in photo and at least one final photo in advance Each final photo distinguish boil down to same file.
It is exemplary, it will can take the photograph in advance photo 1, take the photograph 1 boil down to same file C of photo 2 and final photo in advance, photograph will be taken the photograph in advance Piece 1 takes the photograph photo 2 and final 2 boil down to same file D of photo in advance to realize association.
In practical application, can also realize association by other means, for example, in advance take the photograph photo 1, in advance take the photograph photo 2 with And final photo 1 realizes association, the embodiment of the present invention is it is not limited here using related name by way of special name.
Step 205 receives first choice operational order, and target picture is determined from described at least one final photo.
In the embodiment of the present invention, the photo which adjusts the angle for the needs of user's selection should First choice operational order can be the instruction generated according to user for the selection operation for the photo for needing to adjust the angle.Example , when user wants the angle of the final photo of adjustment, can select to want adjustment angle from this at least one final photo Final photo, the selection operation can touch generate first choice operational order, mobile terminal receiving the first choice behaviour After instructing, the final photo of the corresponding user's selection of the first choice operational order can be determined as target picture, it is false If user has selected final photo 2, then final photo 2 can be determined as target picture by mobile terminal.
Fig. 2-4 is that a kind of target picture selection user interface map provided by Embodiment 2 of the present invention as in Figure 2-4 should Target picture select user interface map in include adjust the angle button 00 and display final photo 01, user can pass through by The mode that horizontally slips of final photo 01 of display browses other final photos, it is assumed that user wants to show in Fig. 2-4 Final photo 01 when carry out angle adjustment, button 00 can be adjusted the angle by the final photo 01 of the display by clicking It is determined as target picture.
Step 206 receives the instruction of the second selection operation, determines from associated pre- take the photograph in collection of photographs of the target picture Target takes the photograph photo in advance.
It is exemplary, it is assumed that user is dissatisfied to the angle of final photo 2, final photo 2 is determined as target picture, then Selection takes the photograph photo 1 to carry out angle adjustment, this time shift to final photo 2 with the pre- of the associated angle of final photo 2 more satisfaction Dynamic terminal can will take the photograph photo 1 and be determined as target in advance takes the photograph photo in advance.
Fig. 2-5 is that the present invention is a kind of angle adjustment user interface map that embodiment two provides, as described in Fig. 2-5, the figure In include: angle adjustment tool 02, display it is pre- take the photograph photo 03 and confirming button 04, user can be by controlling the angle tune Whole tool 02 come browse with target picture it is associated it is pre- take the photograph photo, when see it is satisfied it is pre- take the photograph photo when, determination can be clicked and pressed Button 04 by this it is pre- take the photograph photo and be determined as target take the photograph photo in advance.
Step 207 takes the photograph the photo angle that photo adjusts subject in the target picture with reference to the target in advance.
It is exemplary, photo can be taken the photograph in advance with reference to the target to carry out photo angle adjustment.Specifically, mobile terminal can incite somebody to action Target takes the photograph photo in advance and is determined as the final photo of target, that is, is exactly, and takes the photograph photo replacement target picture in advance using target.Since target is pre- Taking the photograph photo is shot during user adjusts the angle according to subject, so target is taken the photograph photo and target picture in advance and had Identical take pictures scene and subject, but the angle of the subject of the two is different.Therefore, when user wants to adjust the mesh When marking the angle of photo, satisfied photo can be selected to take the photograph photograph in advance as target from associated pre- take the photograph in photo of the target picture Piece adjusts the angle of subject in target picture.
It is exemplary, as seen in figs. 2-5, it is assumed that user wants to take the photograph photo 03 by the pre- of display and adjust final photo Angle, at this point it is possible to make mobile terminal take the photograph photo 03 to be determined as target pre- the pre- of the display by clicking confirming button 04 Photo is taken the photograph, target picture is replaced using the pre- photo 03 of taking the photograph of the display, completes the angle of taking pictures of subject in adjustment target picture Degree.In practical application, the case where for including face in current picture, it can determine that this is final when shooting final photo The corresponding face offset data of photo, can be corresponding by the final photo and the final photo after obtaining final photo Face deviation angle also stores.In this way, using angle adjustment tool 02 browsing with target picture is associated pre- takes the photograph photo When, it can be according to the degree of closeness of the face deviation angle with target picture, close pre- of preferential angles of display takes the photograph photo. It is exemplary, it is assumed that the corresponding face deviation angle of target picture is that 0 ° of X-axis deviation angle ,+10 ° of Y-axis deviation angle and Z axis are inclined Move 0 ° of angle;Take the photograph photo respectively takes the photograph photo 1 (0 ° of X-axis deviation angle, Y-axis deviation angle in advance in advance with associated 2 of the target picture Degree 11 ° and 0 ° of Z axis deviation angle) and in advance take the photograph photo B (- 1 ° of X-axis deviation angle, 14 ° of Y-axis deviation angle and Z axis offset 0 ° of angle);The control granularity that angle adjusts tool 02 is 5 °, that is, is exactly, when angle adjustment tool 02 is along the direction of a certain axis Photo is taken the photograph in display one in advance when rotating 5 °.So, it when user's control angle adjustment tool 02 rotates 5 ° along Y-axis, first shows Photo 1 is taken the photograph in advance.When user's control angle adjustment tool 02 rotates 10 ° along Y-axis, photo 2 is taken the photograph in display in advance.
In conclusion processing method provided by Embodiment 2 of the present invention of taking pictures, mobile terminal can be in user according to shot Carried out during object adjustment shooting angle pre- shooting obtain it is pre- take the photograph photo, then will take the photograph the final photo of photo and shooting in advance Association can be true by the final photo when the dissatisfied angle for wanting the final photo of adjustment of angle of the user to final photo It is set to target picture, selects satisfied photo to take the photograph photo in advance as target from associated pre- take the photograph in photo of the target picture, most Reference target takes the photograph the photo angle of subject in photo adjustment target picture in advance afterwards, and taking the photograph photo in advance due to target is in user's root The photo shot in advance during adjusting shooting angle according to subject, therefore target takes the photograph photo and target picture with phase in advance Same take pictures scene and identical subject, but target is taken the photograph in photo in advance and is shot in the angle of subject and target picture The angle of object is different.Therefore it may be referred to which target takes the photograph the photo angle of subject in photo adjustment target picture in advance;Together When, if mobile terminal does not receive second count according to operational order, the pre- photo of taking the photograph stored before can be deleted, be deposited with saving Store up space.
Embodiment three
Fig. 3 is a kind of block diagram for mobile terminal that the embodiment of the present invention three provides, as shown in figure 3, the mobile terminal 30 can To include:
Pre- shooting module 301, for when the mobile terminal receives first count according to operational order, according to current shooting Picture is shot in advance, obtains pre- taking the photograph collection of photographs;It is described it is pre- take the photograph collection of photographs and include at least one take the photograph photo in advance, it is described at least It is the photograph that the mobile terminal is shot in advance during user adjusts shooting angle according to subject that one is taken the photograph photo in advance Piece.
Shooting module 302, for when the mobile terminal receives second count according to operational order, shooting at least one to be most Whole photo.
Relating module 303, for pre- each taken the photograph in collection of photographs is taken the photograph in advance photo and it is described at least one most Each final photo in whole photo is respectively associated.
First determining module 304 is determined from described at least one final photo for receiving first choice operational order Target picture.
Second determining module 305, for receiving the instruction of the second selection operation, from the target picture is associated pre- takes the photograph photograph Determine that target takes the photograph photo in advance in piece set.
Module 306 is adjusted, adjusts taking pictures for subject in the target picture for taking the photograph photo in advance with reference to the target Angle, wherein the subject includes at least one of face or object.
In conclusion the mobile terminal that the embodiment of the present invention three provides, mobile terminal can be in user according to subject Carried out during adjustment shooting angle pre- shooting obtain it is pre- take the photograph photo, the final photo that then will take the photograph photo and shooting in advance closes Connection can determine the final photo when the dissatisfied angle for wanting the final photo of adjustment of angle of the user to final photo For target picture, satisfied photo is selected to take the photograph photo in advance as target from associated pre- take the photograph in photo of the target picture, finally Reference target take the photograph in advance photo adjustment target picture in subject photo angle, due to target take the photograph in advance photo be user according to The photo shot in advance during subject adjustment shooting angle, therefore target takes the photograph photo and target picture with identical in advance Take pictures scene and identical subject, but target is taken the photograph in photo in advance and is shot in the angle of subject and target picture pair The angle of elephant is different.Therefore it may be referred to which target takes the photograph the photo angle of subject in photo adjustment target picture in advance.
Example IV
Fig. 4 is the block diagram for another mobile terminal that the embodiment of the present invention four provides, as shown in figure 4, the mobile terminal 40 May include:
Pre- shooting module 401, for when the mobile terminal receives first count according to operational order, according to current shooting Picture is shot in advance, obtains pre- taking the photograph collection of photographs;It is described it is pre- take the photograph collection of photographs and include at least one take the photograph photo in advance, it is described at least It is the photograph that the mobile terminal is shot in advance during user adjusts shooting angle according to subject that one is taken the photograph photo in advance Piece.
Shooting module 402, for when the mobile terminal receives second count according to operational order, shooting at least one to be most Whole photo.
Relating module 403, for pre- each taken the photograph in collection of photographs is taken the photograph in advance photo and it is described at least one most Each final photo in whole photo is respectively associated.
First determining module 404 is determined from described at least one final photo for receiving first choice operational order Target picture.
Second determining module 405, for receiving the instruction of the second selection operation, from the target picture is associated pre- takes the photograph photograph Determine that target takes the photograph photo in advance in piece set.
Module 406 is adjusted, adjusts taking pictures for subject in the target picture for taking the photograph photo in advance with reference to the target Angle, wherein the subject includes at least one of face or object.
Removing module 407, if not receiving second count according to operational order, at least one by described in for the mobile terminal Photo deletion is taken the photograph in advance.
Optional above-mentioned pre- shooting module 401 may include:
First identification submodule, is used for when in the current shooting picture including face, to the current shooting picture In face carry out recognition of face, to obtain facial feature data.
Computational submodule, it is corresponding for calculating the face in the current shooting picture according to the facial feature data Face deviation angle;Wherein, the face deviation angle is the deviation angle relative to standard faces.
Pre- shooting submodule is used for when the face deviation angle is within the scope of predetermined angle, or, when the face is inclined Move angle it is identical as the unspecified angle value in preset at least one set angle value when, then shot in advance, obtain pre- taking the photograph photograph collection It closes.
Whether detection sub-module, the photosensitive value for detecting current environment meet the condition for carrying out recognition of face.
Second identification submodule, if meet the condition for carrying out recognition of face for current environment, described in execution Recognition of face is carried out to the face in the current shooting picture, to obtain facial feature data.
Optionally, above-mentioned pre- shooting module 401, can be also used for:
When not including face in the current shooting picture, is then shot, obtained in advance when current shooting picture is focused Collection of photographs is taken the photograph to pre-.
Or, shot in advance according to preset time interval, obtain pre- taking the photograph collection of photographs.
In conclusion the mobile terminal that the embodiment of the present invention four provides, mobile terminal can be in user according to subject Carried out during adjustment shooting angle pre- shooting obtain it is pre- take the photograph photo, the final photo that then will take the photograph photo and shooting in advance closes Connection can determine the final photo when the dissatisfied angle for wanting the final photo of adjustment of angle of the user to final photo For target picture, satisfied photo is selected to take the photograph photo in advance as target from associated pre- take the photograph in photo of the target picture, finally Reference target take the photograph in advance photo adjustment target picture in subject photo angle, due to target take the photograph in advance photo be user according to The photo shot in advance during subject adjustment shooting angle, therefore target takes the photograph photo and target picture with identical in advance Take pictures scene and identical subject, but target is taken the photograph in photo in advance and is shot in the angle of subject and target picture pair The angle of elephant is different.Therefore it may be referred to which target takes the photograph the photo angle of subject in photo adjustment target picture in advance;Meanwhile If mobile terminal does not receive second count according to operational order, the pre- photo of taking the photograph stored before can be deleted, to save storage Space.
Embodiment five
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in fig. 5 includes: at least One processor 501, memory 502, at least one network interface 504 and user interface 503.It is each in mobile terminal 500 Component is coupled by bus system 505.It is understood that bus system 505 is logical for realizing the connection between these components Letter.Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But it is For the sake of clear explanation, in Fig. 5 various buses are all designated as bus system 505.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 502 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- Only Memory, 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 (Random Access 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 502 of the system and method for description of the embodiment of the present invention is intended to include but is not limited to these With the memory of any other suitable type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 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 5022 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 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application The program or instruction stored in program 5022, processor 501, which is used to receive the first photographing operation at the mobile terminal, to be referred to It when enabling, is shot in advance according to current shooting picture, obtains pre- taking the photograph collection of photographs;The pre- collection of photographs of taking the photograph includes at least one Photo is taken the photograph in advance, and it is the mistake that the mobile terminal adjusts shooting angle in user according to subject that described at least one is taken the photograph photo in advance The photo shot in advance in journey;When the mobile terminal receives second count according to operational order, at least one final photograph is shot Piece;It pre- take the photograph each in collection of photographs by described and takes the photograph each in photo and at least one final photo final photograph in advance Piece is respectively associated;First choice operational order is received, target picture is determined from described at least one final photo;Receive second Selection operation instruction determines that target takes the photograph photo in advance from associated pre- take the photograph in collection of photographs of the target picture;With reference to the mesh Mark takes the photograph the photo angle that photo adjusts subject in the target picture in advance, wherein the subject includes face or object At least one of body.The method that the embodiments of the present invention disclose can be applied in processor 501, or by processor 501 realize.Processor 501 may be a kind of IC chip, the processing capacity with signal.It is above-mentioned during realization Each step of method can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.On The processor 501 stated can be general processor, digital signal processor (Digital Signal Processor, DSP), specially With 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 are patrolled Collect device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuits (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 place It manages in device, controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can With portion realizes in the processor or outside the processor.
The processor 501 is also used to: when in the current shooting picture including face, to the current shooting picture In face carry out recognition of face, to obtain facial feature data;The current shooting is calculated according to the facial feature data The corresponding face deviation angle of face in picture;Wherein, the face deviation angle is the deviation angle relative to standard faces Degree;When the face deviation angle is within the scope of predetermined angle, or, when the face deviation angle and preset at least one set It when unspecified angle value in angle value is identical, is then shot in advance, obtains pre- taking the photograph collection of photographs.
The processor 501 is also used to: whether the photosensitive value for detecting current environment meets the condition for carrying out recognition of face;If When current environment meets the condition for carrying out recognition of face, then face knowledge is carried out to the face in the current shooting picture Not, to obtain facial feature data.
The processor 501 is also used to: when not including face in the current shooting picture, then in current shooting picture It is shot in advance when focusing, obtains pre- taking the photograph collection of photographs;Or, shot in advance according to preset time interval, obtain pre- taking the photograph photograph Piece set.
The processor 501 is also used to: if the mobile terminal does not receive second count according to operational order, by described at least One is taken the photograph photo deletion in advance.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.In the embodiment of the present invention, mobile terminal 500 can be during user adjusts shooting angle according to subject Carry out pre- shooting obtain it is pre- take the photograph photo, then will take the photograph photo in advance and be associated with the final photo of shooting, when user is to final photo When the dissatisfied angle for wanting the final photo of adjustment of angle, which can be determined as target picture, from the target Associated pre- take the photograph in photo of photo selects satisfied photo to take the photograph photo in advance as target, turns finally to target and takes the photograph photo adjustment mesh in advance The photo angle for marking subject in photo, taking the photograph photo in advance due to target is to adjust shooting angle according to subject in user The photo shot in advance in the process, therefore target takes the photograph photo and target picture scene and the identical quilt having the same of taking pictures in advance Take the photograph object, but to take the photograph the angle of subject in photo in advance different from the angle of subject in target picture for target.It therefore, can be with Reference target takes the photograph the photo angle of subject in photo adjustment target picture in advance.
Embodiment six
Fig. 6 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.
The mobile terminal, comprising: memory, processor and be stored on the memory and can be on the processor The computer program of operation;It is realized when the processor executes the computer program in processing method of taking pictures as described above Step.
Specifically, the mobile terminal in Fig. 6 can be mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input unit 630, display unit 640, processor 660, voicefrequency circuit 670, WLAN (WirelessFidelity) module 680 and electricity Source 690.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with Including touch panel 631.Touch panel 631, collect user on it or nearby touch operation (such as user use hand The operation of any suitable object or attachment such as finger, stylus on touch panel 631), and driven according to preset formula Corresponding attachment device.Optionally, touch panel 631 may include both touch detecting apparatus and touch controller.Wherein, Touch detecting apparatus detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch control Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 660, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with And the multiple types such as surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 can also include other Input equipment 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 640 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.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 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 660 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in first memory 621, and is called and is stored in Data in second memory 622 execute the various functions and processing data of mobile terminal, to carry out to mobile terminal whole Monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 are used at the mobile terminal receive first count according to operational order When, it is shot in advance according to current shooting picture, obtains pre- taking the photograph collection of photographs;The pre- collection of photographs of taking the photograph includes at least one pre- Photo is taken the photograph, it is the process that the mobile terminal adjusts shooting angle in user according to subject that described at least one is taken the photograph photo in advance In the photo that shoots in advance;When the mobile terminal receives second count according to operational order, an at least final photo is shot; It pre- take the photograph each in collection of photographs by described and takes the photograph each final photo in photo and at least one final photo in advance It is respectively associated;First choice operational order is received, target picture is determined from described at least one final photo;Receive the second choosing Operational order is selected, determines that target takes the photograph photo in advance from associated pre- take the photograph in collection of photographs of the target picture;With reference to the target The photo angle that photo adjusts subject in the target picture is taken the photograph in advance, wherein the subject includes face or object At least one of.
The processor 660 is also used to: when in the current shooting picture including face, to the current shooting picture In face carry out recognition of face, to obtain facial feature data;The current shooting is calculated according to the facial feature data The corresponding face deviation angle of face in picture;Wherein, the face deviation angle is the deviation angle relative to standard faces Degree;When the face deviation angle is within the scope of predetermined angle, or, when the face deviation angle and preset at least one set It when unspecified angle value in angle value is identical, is then shot in advance, obtains pre- taking the photograph collection of photographs.
The processor 660 is also used to:: whether the photosensitive value for detecting current environment meets the condition for carrying out recognition of face; If current environment meets the condition for carrying out recognition of face, face knowledge is carried out to the face in the current shooting picture Not, to obtain facial feature data.
The processor 660 is also used to: when not including face in the current shooting picture, then in current shooting picture It is shot in advance when focusing, obtains pre- taking the photograph collection of photographs;Or, shot in advance according to preset time interval, obtain pre- taking the photograph photograph Piece set.
The processor 660 is also used to: if the mobile terminal does not receive second count according to operational order, by described at least One is taken the photograph photo deletion in advance.
As it can be seen that mobile terminal can adjust the process of shooting angle in user according to subject in the embodiment of the present invention The middle pre- shooting of progress obtain it is pre- take the photograph photo, then will take the photograph photo in advance and be associated with the final photo of shooting, when user is to final photo The angle dissatisfied angle for wanting the final photo of adjustment when, which can be determined as target picture, from the mesh Mark associated pre- take the photograph in photo of photo selects satisfied photo to take the photograph photo in advance as target, turns finally to target and takes the photograph photo adjustment in advance The photo angle of subject in target picture, taking the photograph photo in advance due to target is to adjust shooting angle according to subject in user During the photo that shoots in advance, therefore target takes the photograph photo and the target picture scene and identical having the same of taking pictures in advance Subject, but to take the photograph the angle of subject in photo in advance different from the angle of subject in target picture for target.Therefore, may be used Take the photograph the photo angle of subject in photo adjustment target picture in advance with reference target.
For above-mentioned apparatus embodiment, since it is basically similar to the method embodiment, so be described relatively simple, The relevent part can refer to the partial explaination of embodiments of method.
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.
It would have readily occurred to a person skilled in the art that: any combination application of above-mentioned each embodiment is all feasible, therefore Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited, This is not just detailed one by one.
Processing method of taking pictures provided herein not with any certain computer, virtual system or the intrinsic phase of other equipment It closes.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has present invention side Structure required by the system of case is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize the identification side of background music in video according to an embodiment of the present invention The some or all functions of some or all components in method.The present invention is also implemented as described here for executing Method some or all device or device programs (for example, computer program and computer program product).This The program that the realization of sample is of the invention can store on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other Form provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (11)

  1. The processing method 1. one kind is taken pictures is applied to mobile terminal, which is characterized in that the described method includes:
    When the mobile terminal receives first count according to operational order, is shot, obtained pre- in advance according to current shooting picture Take the photograph collection of photographs;It is described it is pre- take the photograph collection of photographs and include at least one take the photograph photo in advance, it is the shifting that described at least one, which is taken the photograph photo in advance, The photo that dynamic terminal is shot in advance during user adjusts shooting angle according to subject;
    When the mobile terminal receives second count according to operational order, an at least final photo is shot;
    It pre- take the photograph each in collection of photographs by described and takes the photograph each in photo and at least one final photo in advance finally Photo is respectively associated;
    First choice operational order is received, target picture is determined from described at least one final photo;
    The instruction of the second selection operation is received, determines that target takes the photograph photograph in advance from associated pre- take the photograph in collection of photographs of the target picture Piece;
    Photo is taken the photograph in advance using the target and replaces the target picture, wherein the subject includes in face or object It is at least one.
  2. 2. the method according to claim 1, wherein it is described according to current shooting picture carry out pre- shooting obtain it is pre- The step of taking the photograph collection of photographs, comprising:
    When in the current shooting picture including face, recognition of face is carried out to the face in the current shooting picture, with Obtain facial feature data;
    The corresponding face deviation angle of face in the current shooting picture is calculated according to the facial feature data;Wherein, The face deviation angle is the deviation angle relative to standard faces;
    When the face deviation angle is within the scope of predetermined angle, or,
    When the face deviation angle is identical as the unspecified angle value in preset at least one set of angle value, then clapped in advance It takes the photograph, obtains pre- taking the photograph collection of photographs.
  3. 3. according to the method described in claim 2, it is characterized in that, carrying out face to user according to current shooting picture described Before the step of identification is to obtain facial feature data, the method also includes:
    Whether the photosensitive value of detection current environment meets the condition for carrying out recognition of face;
    If current environment meets the condition for carrying out recognition of face, people is carried out to the face in the current shooting picture Face identification, to obtain facial feature data.
  4. 4. the method according to claim 1, wherein it is described according to current shooting picture carry out pre- shooting obtain it is pre- The step of taking the photograph collection of photographs, comprising:
    When not including face in the current shooting picture, is then shot, obtained pre- in advance when current shooting picture is focused Take the photograph collection of photographs;
    Or, shot in advance according to preset time interval, obtain pre- taking the photograph collection of photographs.
  5. 5. the method according to claim 1, wherein the method also includes:
    If the mobile terminal does not receive second count according to operational order, described at least one is taken the photograph photo in advance and deleted.
  6. 6. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
    Pre- shooting module, for when the mobile terminal receives first count according to operational order, according to current shooting picture into The pre- shooting of row obtains pre- taking the photograph collection of photographs;It is described it is pre- take the photograph collection of photographs and include at least one take the photograph photo in advance, described at least one is pre- Taking the photograph photo is the photo that the mobile terminal is shot in advance during user adjusts shooting angle according to subject;
    Shooting module, for shooting an at least final photo when the mobile terminal receives second count according to operational order;
    Relating module, for pre- taking the photograph each in collection of photographs by described and taking the photograph in photo and at least one final photo in advance Each final photo be respectively associated;
    First determining module determines that target is shone from described at least one final photo for receiving first choice operational order Piece;
    Second determining module, for receiving the instruction of the second selection operation, from the target picture is associated pre- takes the photograph collection of photographs Middle determining target takes the photograph photo in advance;
    Module is adjusted, replaces the target picture for taking the photograph photo in advance using the target, wherein the subject includes people At least one of face or object.
  7. 7. mobile terminal according to claim 6, which is characterized in that the pre- shooting module, comprising:
    First identification submodule, is used for when in the current shooting picture including face, in the current shooting picture Face carries out recognition of face, to obtain facial feature data;
    Computational submodule, for calculating the corresponding face of face in the current shooting picture according to the facial feature data Deviation angle;Wherein, the face deviation angle is the deviation angle relative to standard faces;
    Pre- shooting submodule is used for when the face deviation angle is within the scope of predetermined angle, or, working as the face deviation angle When degree is identical as the unspecified angle value in preset at least one set angle value, is then shot in advance, obtain pre- taking the photograph collection of photographs.
  8. 8. mobile terminal according to claim 7, which is characterized in that the pre- shooting module further include:
    Whether detection sub-module, the photosensitive value for detecting current environment meet the condition for carrying out recognition of face;
    Second identification submodule, if meet the condition for carrying out recognition of face for current environment, to the current bat The face taken the photograph in picture carries out recognition of face to obtain facial feature data.
  9. 9. mobile terminal according to claim 6, which is characterized in that the pre- shooting module is also used to:
    When not including face in the current shooting picture, is then shot, obtained pre- in advance when current shooting picture is focused Take the photograph collection of photographs;
    Or, shot in advance according to preset time interval, obtain pre- taking the photograph collection of photographs.
  10. 10. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
    Removing module takes the photograph photograph for described at least one if not receiving second count according to operational order for the mobile terminal in advance Piece is deleted.
  11. 11. a kind of mobile terminal, comprising: memory, processor and be stored on the memory and can be on the processor The computer program of operation;It is characterized in that, the processor realizes such as claim 1 to 5 when executing the computer program Step in processing method of taking pictures described in any one.
CN201710614366.1A 2017-07-25 2017-07-25 One kind is taken pictures processing method and mobile terminal Active CN107509024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710614366.1A CN107509024B (en) 2017-07-25 2017-07-25 One kind is taken pictures processing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710614366.1A CN107509024B (en) 2017-07-25 2017-07-25 One kind is taken pictures processing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107509024A CN107509024A (en) 2017-12-22
CN107509024B true CN107509024B (en) 2019-01-04

Family

ID=60689476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710614366.1A Active CN107509024B (en) 2017-07-25 2017-07-25 One kind is taken pictures processing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107509024B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382592B (en) * 2018-12-27 2023-09-29 杭州海康威视数字技术股份有限公司 Living body detection method and apparatus
CN111415301B (en) * 2019-01-07 2024-03-12 珠海金山办公软件有限公司 Image processing method, device and computer readable storage medium
CN110728234A (en) * 2019-10-12 2020-01-24 爱驰汽车有限公司 Driver face recognition method, system, device and medium
CN113032282B (en) * 2021-04-29 2024-04-09 北京字节跳动网络技术有限公司 Method, device and equipment for testing gesture recognition device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673346A (en) * 2008-09-09 2010-03-17 日电(中国)有限公司 Method, equipment and system for processing image
WO2012063467A1 (en) * 2010-11-11 2012-05-18 パナソニック株式会社 Image processing device, image processing method, program, and imaging device
CN104182741A (en) * 2014-09-15 2014-12-03 联想(北京)有限公司 Image acquisition prompt method and device and electronic device
CN104243832A (en) * 2014-09-30 2014-12-24 北京金山安全软件有限公司 Method and device for shooting through mobile terminal and mobile terminal
CN104506721A (en) * 2014-12-15 2015-04-08 南京中科创达软件科技有限公司 Self-timer system and use method for mobile phone camera
CN106060398A (en) * 2016-06-30 2016-10-26 维沃移动通信有限公司 Method for automatically adjusting camera and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101897549B1 (en) * 2012-01-09 2018-09-12 삼성전자주식회사 Apparatus and method for displaying camera view area in a portable terminal
US20150071547A1 (en) * 2013-09-09 2015-03-12 Apple Inc. Automated Selection Of Keeper Images From A Burst Photo Captured Set
CN104301613B (en) * 2014-10-16 2016-03-02 深圳市中兴移动通信有限公司 Mobile terminal and image pickup method thereof
CN105007418B (en) * 2015-07-03 2018-07-06 广东欧珀移动通信有限公司 A kind of photographic method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673346A (en) * 2008-09-09 2010-03-17 日电(中国)有限公司 Method, equipment and system for processing image
WO2012063467A1 (en) * 2010-11-11 2012-05-18 パナソニック株式会社 Image processing device, image processing method, program, and imaging device
CN104182741A (en) * 2014-09-15 2014-12-03 联想(北京)有限公司 Image acquisition prompt method and device and electronic device
CN104243832A (en) * 2014-09-30 2014-12-24 北京金山安全软件有限公司 Method and device for shooting through mobile terminal and mobile terminal
CN104506721A (en) * 2014-12-15 2015-04-08 南京中科创达软件科技有限公司 Self-timer system and use method for mobile phone camera
CN106060398A (en) * 2016-06-30 2016-10-26 维沃移动通信有限公司 Method for automatically adjusting camera and mobile terminal

Also Published As

Publication number Publication date
CN107509024A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN106027907B (en) A kind of method and mobile terminal of adjust automatically camera
CN107257439B (en) A kind of image pickup method and mobile terminal
CN107395969B (en) A kind of image pickup method and mobile terminal
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN107509024B (en) One kind is taken pictures processing method and mobile terminal
CN105847674B (en) A kind of preview image processing method and mobile terminal based on mobile terminal
CN107317993B (en) A kind of video call method and mobile terminal
CN106231178B (en) A kind of self-timer method and mobile terminal
CN107659769B (en) A kind of image pickup method, first terminal and second terminal
CN106534685A (en) Panoramic image generation method and mobile terminal
CN106937054B (en) A kind of take pictures weakening method and the mobile terminal of mobile terminal
CN107368150A (en) A kind of photographic method and mobile terminal
CN107566723B (en) A kind of image pickup method, mobile terminal and computer readable storage medium
CN106657806B (en) A kind of exposure method and mobile terminal
CN106713659B (en) A kind of panorama shooting method and mobile terminal
CN107404577B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN106210526A (en) A kind of image pickup method and mobile terminal
CN107357540A (en) The method of adjustment and mobile terminal of a kind of display direction
CN106502512A (en) A kind of display methods of picture and mobile terminal
CN105959574B (en) A kind of photographic method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106372252B (en) A kind of image display method and mobile terminal
CN106161932B (en) A kind of photographic method and mobile terminal
CN106993139B (en) A kind of image pickup method and mobile terminal
CN106973237B (en) A kind of image pickup method and mobile terminal

Legal Events

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