CN106899804A - A kind of photographic method and mobile terminal - Google Patents

A kind of photographic method and mobile terminal Download PDF

Info

Publication number
CN106899804A
CN106899804A CN201710042943.4A CN201710042943A CN106899804A CN 106899804 A CN106899804 A CN 106899804A CN 201710042943 A CN201710042943 A CN 201710042943A CN 106899804 A CN106899804 A CN 106899804A
Authority
CN
China
Prior art keywords
beautification
element set
set file
target
module
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.)
Pending
Application number
CN201710042943.4A
Other languages
Chinese (zh)
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 CN201710042943.4A priority Critical patent/CN106899804A/en
Publication of CN106899804A publication Critical patent/CN106899804A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/20Movements or behaviour, e.g. gesture recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Social Psychology (AREA)
  • Psychiatry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the present invention provides a kind of photographic method, is applied to the mobile terminal with camera, and methods described includes:In image shoot process, every two field picture of the photographed scene that the camera is gathered is obtained in real time;Record everyone person characteristic information in every two field picture;Based on the beautification element set file that everyone person characteristic information, generation at least one are associated with the time;After the completion of image taking, target image is generated;The target association relation set up between the target image and the beautification element set file.The embodiment of the present invention also provides a kind of mobile terminal.The photographic method of the embodiment of the present invention not only can easily beautify photo, can also increase the interactive and interest taken pictures.

Description

A kind of photographic method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of photographic method and mobile terminal.
Background technology
Mobile terminal of the prior art typically all has camera function.If mobile terminal user desires to every in photo Some beautify elements to individual's addition, beautification element can only be added on everyone manually after being taken pictures using mobile terminal.Example Such as, when arriving on Christmas Day, mobile terminal user wants to be added on the head portrait of everyone in photo Christmas cap, it is necessary to hand Dynamic selection Christmas cap, and Christmas cap is dragged on everyone head portrait, complete addition.Therefore, the photographic method of prior art In image shoot process, any treatment will not be carried out to image so that the process of addition beautification element is cumbersome.
The content of the invention
The embodiment of the present invention provides a kind of photographic method and mobile terminal, and hand is needed with the photographic method for solving prior art Dynamic selection addition beautification element, the problem for causing the process of addition beautification element cumbersome.
A kind of first aspect, there is provided photographic method, is applied to the mobile terminal with camera, and methods described includes:
In image shoot process, every two field picture of the photographed scene that the camera is gathered is obtained in real time;
Record everyone person characteristic information in every two field picture;
Based on everyone person characteristic information, the beautification element set text that generation at least one is associated with the time Part;
After the completion of image taking, target image is generated;
The target association relation set up between the target image and the beautification element set file.
Second aspect, there is provided a kind of mobile terminal, including camera, the mobile terminal also include:
First acquisition module, in image shoot process, obtaining the photographed scene that the camera is gathered in real time Every two field picture;
Logging modle, for everyone character features in the described every two field picture for recording the first acquisition module acquisition Information;
First generation module, for based on everyone person characteristic information, generation described in logging modle record At least one beautification element set file being associated with the time;
Second generation module, for after the completion of image taking, generating target image;
Module is set up, the target image and first generation module for setting up the second generation module generation Target association relation between the beautification element set file of generation.
So, in the embodiment of the present invention, by everyone person characteristic information, base in the image for obtaining camera collection Can generate the beautification element set file being associated with the time in the person characteristic information, and by the beautification element set file and image Association, is processed image accordingly with will pass through the beautification element, not only can easily beautify photo, can also increase bat According to interactive and interest.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the photographic method of first embodiment of the invention;
Fig. 2 is the flow chart of the photographic method of second embodiment of the invention;
Fig. 3 is the mesh set up between target image and beautification element set file of the photographic method of second embodiment of the invention A kind of flow chart of the step of after the step of mark incidence relation;
Fig. 4 is the mesh set up between target image and beautification element set file of the photographic method of second embodiment of the invention Another flow chart of the step of after the step of mark incidence relation;
Fig. 5 is the mesh set up between target image and beautification element set file of the photographic method of second embodiment of the invention Another flow chart of the step of after the step of mark incidence relation;
Fig. 6 is the flow chart of the photographic method of third embodiment of the invention;
Fig. 7 is a kind of structured flowchart of the mobile terminal of fourth embodiment of the invention;
Fig. 8 is another structured flowchart of the mobile terminal of fourth embodiment of the invention;
Fig. 9 is the structured flowchart of the mobile terminal of fifth embodiment of the invention;
Figure 10 is the structured flowchart of the mobile terminal of sixth embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the acquired every other implementation under the premise of creative work is not made of those of ordinary skill in the art Example, belongs to the scope of protection of the invention.
First embodiment
First embodiment of the invention discloses a kind of photographic method.The method is applied to the mobile terminal with camera. As shown in figure 1, the method specifically includes the steps:
Step 101:In image shoot process, every two field picture of the photographed scene that camera is gathered is obtained in real time.
The camera can be front camera, or rear camera.
Step 102:Everyone person characteristic information in the every two field picture of record.
Preferably, the person characteristic information includes position, the size of head portrait, the position of body, the profile of body of head portrait In at least one.Can be used to determine the point of addition of the beautification element in beautification element set file by the person characteristic information With size etc..It should be appreciated that the person characteristic information is not limited thereto.
Step 103:Person characteristic information based on everyone, the beautification element set that generation at least one is associated with the time File.
Preferably, the time include red-letter day and/or season.The beautification element set file being associated with the time refers to the U.S. Changing element set file can reflect some features in the time.For example, the time is Christmas Day, then the beautification element set file has The element of Christmas correlation.For example, the beautification element in the beautification element set file is Christmas cap.The beautification element set text of the generation Beautification element in part has been based on everyone person characteristic information and point of addition and size etc. is determined.
Step 104:After the completion of image taking, target image is generated.
Mobile terminal user can instruct or make movement every empty gesture instruction by phonetic order, key command, touch gestures Image is generated target image by terminal.
Step 105:The target association relation set up between target image and beautification element set file.
Target image and beautification element set file association can be made by the step, will pass through the beautification element of the association Image is processed accordingly, for example, beautification element is shown on target image, beautification element is merged with target image, incited somebody to action Target image is sent to other receiving terminals etc. with beautification element.
To sum up, the photographic method of first embodiment of the invention, by everyone people in the image for obtaining camera collection Thing characteristic information, the beautification element set file being associated with the time can be generated based on the person characteristic information, and the beautification is first Element collection file is associated with image, and image is processed accordingly with will pass through the beautification element, not only can easily beautify photograph Piece, can also increase the interactive and interest taken pictures.
Second embodiment
Second embodiment of the invention discloses a kind of photographic method.The method is applied to the mobile terminal with camera. As shown in Fig. 2 the method specifically includes the steps:
Step 201:In image shoot process, every two field picture of the photographed scene that camera is gathered is obtained in real time.
The camera can be front camera, or rear camera.
Step 202:Everyone person characteristic information in the every two field picture of record.
Preferably, the person characteristic information includes position, the size of head portrait, the position of body, the profile of body of head portrait In at least one.Can be used to determine the point of addition of the beautification element in beautification element set file by the person characteristic information With size etc..It should be appreciated that the person characteristic information is not limited thereto.
Step 203:Obtain the default beautification element being associated with the time.
Preferably, the time include red-letter day and/or season.The beautification element being associated with the time refers to the beautification element Some features in the time can be reflected.For example, the time is Christmas Day, then associated beautification element can be Christmas cap, Christmas Old man's clothes etc..For example, the time is summer, then associated beautification element can be sunbonnet, sunglasses etc..
Step 204:Person characteristic information based on everyone, adjust each beautification size of element, position, shape and/ Or angle.
Preferably, the person characteristic information includes position, the size of head portrait, the position of body, the profile of body of head portrait In at least one, then according to these person characteristic informations, adjust each the beautification size of element, position, shape and/or angle Degree so that when show on target image beautify element when, the size of the beautification element, position, shape and/or angle etc. with it is right The person characteristic information answered is matched, so as to target image can be beautified.
Step 205:Based on each beautification element, the beautification element set that generation at least one is associated with the time after adjustment File.
Wherein, one beautification element set file of each time correspondence, each beautification element set file includes that at least one is beautiful Change element.
By the step, can by the beautification element corresponding with the same time be located at one set in, when need display During beautification element, all beautification elements in the beautification element set can be simultaneously shown.
Step 206:After the completion of image taking, target image is generated.
Mobile terminal user can instruct or make movement every empty gesture instruction by phonetic order, key command, touch gestures Image is generated target image by terminal.
Step 207:The target association relation set up between target image and beautification element set file.
Target image and beautification element set file association can be made by the step, so as to need to carry out target image During beautification, the beautification element in the beautification element set file can be in the target image shown.
Preferably, as shown in figure 3, after step 207, the method can also include the steps:
Step 301:Obtain temporal information.
Wherein, the temporal information for mobile terminal user check target image time or mobile terminal system when Between.By obtaining temporal information, the corresponding target time can be determined according to the temporal information.
Step 302:It is determined that the target time corresponding with temporal information.
The target time includes red-letter day and/or season.By presetting for mobile terminal system or user, this can be made Temporal information only corresponds to red-letter day or only corresponds to season, it is also possible to makes the temporal information one red-letter day of correspondence, also determines corresponding Season.By obtaining the target time, the beautification element set file being associated with the target time can be obtained.
For example, for red-letter day, by judging whether corresponding red-letter day on the date.For season, first by GPS location Determine that the geographical position of mobile terminal is to be located at the Northern Hemisphere or the Southern Hemisphere etc. mode, then in conjunction with the hemisphere residing for mobile terminal Judge corresponding season on the date.By taking the Northern Hemisphere as an example, 3~May is spring, and 6~August is summer, and 9~November is autumn, 12 It is within~2 months winter.Certainly, mobile terminal system or user can also be according to the local actual conditions default corresponding moons in season Part, so that it is more accurate that association can be made to beautify element set.
Step 303:Based on target time and target association relation, the target beautification element that acquisition is associated with the target time Collection file.
Because the beautification element set file in target association relation is associated with the time, therefore, can be obtained by the target time The target beautification element set file being associated with the identical time in target time is taken, to beautify element set file using the target In beautification element target image is processed accordingly.
Step 304:The beautification element that target is beautified in element set file is included on target image.
Beautification element can in the target image be shown by the step, make mobile terminal user can check landscaping effect so as to Determine whether to be satisfied with the landscaping effect.
By above-mentioned step, it may be determined that the target time corresponding with temporal information, so as to will can be closed with the target time Beautification element in the beautification element set file of connection shows in the target image, to reach the effect of beautification target image.
Preferably, as shown in figure 4, after step 207, the method can also include the steps:
Step 401:Obtain the selected beautification element set file of mobile terminal user.
Mobile terminal user can directly according to the corresponding beautification element set file of self-demand selection.It should be appreciated that The step can also be carried out after the step 304, and the beautification element for checking the display by step 304 reaches satisfied effect Afterwards, the beautification element set file is selected.
Step 402:The beautification element of the selected beautification element set file of user is carried out into image synthesis with target image, Generation composograph is simultaneously stored.
Can will show that the target image of beautification element generates a new merging image and individually stores by the step.
By above-mentioned step, can be new with target image generation by beautification element according to the selection of mobile terminal user Image stored, do not interfere with original target image.
Preferably, as shown in figure 5, after step 207, the method can also include the steps:
Step 501:Target image and each beautification element set file are stored respectively.
Target image and each beautification element set file are stored respectively so that the beautification element set file will not take target figure The memory space of picture.
Step 502:When transmission instruction is received, target image is respectively sent to receive with each beautification element set file End.
Target image and each beautification element set file are sent respectively, and recipient can be made to receive the target image and beautification unit After element collection file, when needing to show in the target image the beautification element set file, also can be according to target image and beautification unit Target association relation between element collection file, shows beautification element in the target image.Receiving terminal receives the target image It is also to store the target image and beautification element set file respectively after beautification element set file, therefore, beautification element set text Part will not also take the memory space of the target image of receiving terminal.
To sum up, the photographic method of second embodiment of the invention, by everyone people in the image for obtaining camera collection Thing characteristic information, the beautification element set file being associated with the time can be generated based on the person characteristic information, and the beautification is first Element collection file is associated with image, and the beautification element in the beautification element set file can be based on everyone person characteristic information, adjust Whole size, position, shape and/or the angle of itself, is processed image accordingly with will pass through the beautification element, not only may be used Easily beautify photo, the interactive and interest taken pictures can also be increased;Additionally, the beautification that will can be associated with the target time Beautification element in element set file to show check landscaping effect for mobile terminal user in the picture;Additionally, will can also show The image for beautifying element is individually created new image preservation, does not interfere with original target image;Additionally, can also be by target image Individually stored with beautification element set file, and target image is respectively sent to receiving terminal with each beautification element set file, so that Not only beautification element set file will not take the memory space of target image, receiving terminal is also used the beautification element set Beautification element beautification target image in file.
3rd embodiment
Third embodiment of the invention discloses a kind of photographic method.The method is applied to the mobile terminal with camera. As shown in fig. 6, the method specifically includes the steps:
Step 601:In image shoot process, every two field picture of the photographed scene that camera is gathered is obtained in real time.
The camera can be front camera, or rear camera.
Step 602:Everyone person characteristic information in the every two field picture of record.
Preferably, the person characteristic information includes position, the size of head portrait, the position of body, the profile of body of head portrait In at least one.Can be used to determine the point of addition of the beautification element in beautification element set file by the person characteristic information With size etc..It should be appreciated that the person characteristic information is not limited thereto.
Step 603:Obtain everyone residing shooting background.
Shooting background in image residing for everyone there may be difference, for example, somebody plays ball on the beach, somebody In marine swimming, then shooting background is respectively seabeach and seawater.Different shooting backgrounds might have different suitable beautifications Themes, accordingly, it would be desirable to passing through the step obtains everyone shooting background.
Step 604:Based on residing shooting background, it is determined that the beautification themes matched with residing shooting background.
It is different due to shooting visual field so that shooting background is different.Different shooting backgrounds matches different beautification element masters Topic.For example, shooting background is on seabeach, then it is seabeach theme to beautify themes, and shooting background is marine, then beautify element master Entitled seawater theme.
Step 605:According to beautification themes, it is determined that the beautification element matched with beautification themes.
The beautification element of matching beautification themes is can determine that by the step, so as to the beautification unit being best suitable for can be obtained Element, is not in photographed scene and the beautification unmatched problem of element when needing to show in the target image the beautification element. For example, for seabeach theme, the beautification element that it includes can have sunglasses, sunbonnet etc..For seawater theme, what it included Beautification element can have swimming cap, swimming glasses etc..
Step 606:Person characteristic information based on everyone, adjust each beautification size of element, position, shape and/ Or angle.
Preferably, the person characteristic information includes position, the size of head portrait, the position of body, the profile of body of head portrait In at least one, then according to these person characteristic informations, adjust each the beautification size of element, position, shape and/or angle Degree so that when show on target image beautify element when, the size of the beautification element, position, shape and/or angle etc. with it is right The person characteristic information answered is matched, so as to target image can be beautified.
Step 607:Based on each beautification element, the beautification element set that generation at least one is associated with the time after adjustment File.
Wherein, one beautification element set file of each time correspondence, each beautification element set file includes that at least one is beautiful Change element.When there is shooting background and be different, same beautification element set file includes at least two beautification themes Beautification element, so that the beautification element of the different corresponding beautification themes of shooting background matching.
By the step, can by the beautification element corresponding with the same time be located at one set in, when need display During beautification element, all beautification elements in the beautification element set can be simultaneously shown.
Step 608:After the completion of image taking, target image is generated.
Mobile terminal user can instruct or make movement every empty gesture instruction by phonetic order, key command, touch gestures Image is generated target image by terminal.
Step 609:The target association relation set up between target image and beautification element set file.
Target image and beautification element set file association can be made by the step, so as to need to carry out target image During beautification, the beautification element in the beautification element set file can be in the target image shown.
The method of the present embodiment after step 609 has been carried out, also can as in the second embodiment, carry out step 301~ 304, step 401~402, step 501~502 will not be repeated here.
The photographic method of third embodiment of the invention, by obtaining the shooting in the image that camera is gathered residing for everyone Background and everyone person characteristic information, the U.S. being associated with the time can be generated based on the shooting background and person characteristic information Change element set file, and the beautification element set file is associated with image, the beautification element in the beautification element set file can base In everyone person characteristic information, size, position, shape and/or the angle of itself are adjusted, while also matching corresponding shooting Background, is processed image accordingly with will pass through the beautification element, not only can easily beautify photo, can also increase bat According to interactive and interest;Additionally, obtain the target time corresponding with the temporal information by obtaining temporal information, can by with Beautification element in the beautification element set file of target time association to show check beautification for mobile terminal user in the picture Effect;Additionally, can also show that the image of beautification element is individually created the image preservation of information, original target figure is not interfered with Picture;Additionally, can also by target image with beautification element set file individually store, and by target image and it is each beautification element set file Receiving terminal is respectively sent to, so that not only beautification element set file will not take the memory space of target image, can also make reception End also can be using the beautification element beautification target image in the beautification element set file.
Fourth embodiment
Fourth embodiment of the invention discloses a kind of mobile terminal, can realize the thin of photographic method in above-described embodiment Section, and reach identical effect.The mobile terminal can be but not limited to mobile phone, panel computer, MP3/MP4, intelligent watch, intelligence Energy bracelet, personal digital assistant (Personal Digital Assistant, PDA), vehicle-mounted computer etc..
As shown in fig. 7, the mobile terminal 700 includes:Camera 701.Additionally, the mobile terminal 700 also includes:
First acquisition module 702, in image shoot process, obtaining the shooting that camera 701 is gathered in real time Every two field picture of scape.
The camera 701 can be front camera, or rear camera.
Logging modle 703, for everyone character features letter in the every two field picture for recording the acquisition of the first acquisition module 702 Breath.
Preferably, the person characteristic information includes position, the size of head portrait, the position of body, the profile of body of head portrait In at least one.Can be used to determine the point of addition of the beautification element in beautification element set file by the person characteristic information With size etc..It should be appreciated that the person characteristic information is not limited thereto.
First generation module 704, for everyone person characteristic information recorded based on logging modle 703, generation is extremely A few beautification element set file being associated with the time.
Preferably, the time include red-letter day and/or season.The beautification element set file being associated with the time refers to the U.S. Changing element set file can reflect some features in the time.For example, the time is Christmas Day, then the beautification element set file has The element of Christmas correlation.For example, the beautification element in the beautification element set file is Christmas cap.The beautification element set text of the generation Beautification element in part has been based on everyone person characteristic information and point of addition and size etc. is determined.
Second generation module 705, for after the completion of image taking, generating target image.
The user of mobile terminal 700 can be by phonetic order, key command, touch gestures instruction or makes the every empty gesture instruction Image is generated target image by two generation modules 705.
Module 706 is set up, the target image for setting up the generation of the second generation module 705 is given birth to the first generation module 704 Into beautification element set file between target association relation.
Target image and beautification element set file association can be made by the module, will pass through the beautification element of the association Image is processed accordingly, for example, beautification element is shown on target image, beautification element is merged with target image, incited somebody to action Target image is sent to other receiving terminals etc. with beautification element.
Designed by above-mentioned module, by everyone person characteristic information in the image for obtaining the collection of camera 701, The beautification element set file being associated with the time can be generated based on the person characteristic information, and by the beautification element set file and is schemed As association, image is processed accordingly with will pass through the beautification element.
Preferably, as shown in figure 8, the first generation module 704 includes:
First acquisition submodule 7041, for obtaining the default beautification element being associated with the time.
Preferably, the time include red-letter day and/or season.The beautification element being associated with the time refers to the beautification element Some features in the time can be reflected.For example, the time is Christmas Day, then associated beautification element can be Christmas cap, Christmas Old man's clothes etc..For example, the time is summer, then associated beautification element can be sunbonnet, sunglasses etc..
First adjustment submodule 7042, for everyone person characteristic information recorded based on logging modle 703, adjustment Each size, position, shape and/or angle for beautifying element that first acquisition submodule 7041 is obtained.
Preferably, the person characteristic information includes position, the size of head portrait, the position of body, the profile of body of head portrait In at least one, then according to these person characteristic informations, adjust each the beautification size of element, position, shape and/or angle Degree so that when show on target image beautify element when, the size of the beautification element, position, shape and/or angle etc. with it is right The person characteristic information answered is matched, so as to target image can be beautified.
First generation submodule 7043, element is beautified for each after being adjusted based on the first adjustment submodule 7042, raw Into at least one beautification element set file being associated with the time.
Wherein, one beautification element set file of each time correspondence, each beautification element set file includes that at least one is beautiful Change element.
The beautification element corresponding with the same time can be located in a set by the module, when needs display is beautiful When changing element, all beautification elements in the beautification element set can be simultaneously shown.
Designed by above-mentioned module, the beautification element set file being associated with the time, beautification element set text can be generated Beautification element in part can be based on everyone person characteristic information, adjust size, position, shape and/or the angle of itself, with The beautification element is will pass through to process image accordingly.
Preferably, the first generation module 704 includes:
Second acquisition submodule 7044, for obtaining everyone residing shooting background.
Shooting background in image residing for everyone there may be difference, for example, somebody plays ball on the beach, somebody In marine swimming, then shooting background is respectively seabeach and seawater.Different shooting backgrounds might have different suitable beautifications Themes, accordingly, it would be desirable to passing through the step obtains everyone shooting background.
First determination sub-module 7045, for the residing shooting background obtained based on the second acquisition submodule 7044, it is determined that The beautification themes that the residing shooting background obtained with the second acquisition submodule 7044 is matched.
It is different due to shooting visual field so that shooting background is different.Different shooting backgrounds matches different beautification element masters Topic.For example, shooting background is on seabeach, then it is seabeach theme to beautify themes, and shooting background is marine, then beautify element master Entitled seawater theme.
Second determination sub-module 7046, for the beautification themes determined according to the first determination sub-module 7045, it is determined that The beautification element matched with beautification themes.
The beautification element of matching beautification themes is can determine that by the module, so as to the beautification unit being best suitable for can be obtained Element, is not in photographed scene and the beautification unmatched problem of element when needing to show in the target image the beautification element. For example, for seabeach theme, the beautification element that it includes can have sunglasses, sunbonnet etc..For seawater theme, what it included Beautification element can have swimming cap, swimming glasses etc..
Second adjustment submodule 7047, for everyone person characteristic information recorded based on logging modle 703, adjustment Each size, position, shape and/or angle for beautifying element that second determination sub-module 7046 determines.
Preferably, the person characteristic information includes position, the size of head portrait, the position of body, the profile of body of head portrait In at least one, then according to these person characteristic informations, adjust each the beautification size of element, position, shape and/or angle Degree so that when show on target image beautify element when, the size of the beautification element, position, shape and/or angle etc. with it is right The person characteristic information answered is matched, so as to target image can be beautified.
Second generation submodule 7048, element is beautified for each after being adjusted based on the second adjustment submodule 7047, raw Into at least one beautification element set file being associated with the time.
Wherein, different shooting backgrounds matches different beautification elements, and each time correspondence one beautifies element set file, Each beautification element set file includes at least one beautification element, and when there is shooting background and be different, same beautification element Collection file includes the beautification element of at least two themes.
By the module, can by the beautification element corresponding with the same time be located at one set in, when need display During beautification element, all beautification elements in the beautification element set can be simultaneously shown.
Designed by above-mentioned module, the beautification element in the beautification element set file can not only be based on everyone personage Characteristic information, adjusts size, position, shape and/or the angle of itself, while also matching everyone shooting background corresponding.
Preferably, the mobile terminal 700 also includes:
Second acquisition module 707, the target image and the of the generation of the second generation module 705 is set up for setting up module 706 After the step of target association relation beautified between element set file of the generation of one generation module 704, temporal information is obtained.
Wherein, the temporal information for mobile terminal user check target image time or mobile terminal system when Between.By obtaining temporal information, the corresponding target time can be determined according to the temporal information.
Determining module 708, for determining the target time corresponding with the temporal information of the acquisition of the second acquisition module 707.
The target time includes red-letter day and/or season.By presetting for the system of mobile terminal 700 or user, can The temporal information is only corresponded to red-letter day or only correspond to season, it is also possible to make the temporal information one red-letter day of correspondence, it is right also to determine The season answered.By obtaining the target time, the beautification element set file being associated with the target time can be obtained.
For example, for red-letter day, by judging whether corresponding red-letter day on the date.For season, first by GPS location Determine that the geographical position of mobile terminal is to be located at the Northern Hemisphere or the Southern Hemisphere etc. mode, then in conjunction with the hemisphere residing for mobile terminal Judge corresponding season on the date.By taking the Northern Hemisphere as an example, 3~May is spring, and 6~August is summer, and 9~November is autumn, 12 It is within~2 months winter.Certainly, the system of mobile terminal 700 or user can also be according to the default season correspondences of local actual conditions Month so that can make association beautify element set it is more accurate.
3rd acquisition module 709, for target time for determining based on determining module 708 and sets up the foundation of module 706 Target association relation, the target beautification element set file that acquisition is associated with the target time.
Because the beautification element set in target association relation is associated with the time, therefore, can by the target time, obtain with The target beautification element set file that the identical time in target time is associated, to be beautified in element set file using the target Beautification element is processed target image accordingly.
Display module 710, the beautification element that the target for the 3rd acquisition module 709 to be obtained is beautified in element set file It is displayed on the target image of the generation of the second generation module 705.
Beautification element can in the target image be shown by the module, the user of mobile terminal 700 is checked landscaping effect To determine whether to be satisfied with the landscaping effect.
By above-mentioned module, it may be determined that the target time corresponding with temporal information, so as to will can be closed with the target time Beautification element in the beautification element set file of connection shows in the target image, to reach the effect of beautification target image.
Preferably, the mobile terminal 700 also includes:
Memory module 711, target image and first life of the generation of the second generation module 705 are set up for setting up module 706 Into after the step of the target association relation between the beautification element set file of the generation of module 704, second is stored respectively and generates mould The target image of the generation of block 705 and each beautification element set file of the generation of the first generation module 704.
Target image is stored with each beautification element set file by the module respectively so that the beautification element set file will not Take the memory space of target image.
Sending module 712, for when receive send instruction when, the target image that memory module 711 is stored and each U.S. Change element set file and be respectively sent to receiving terminal.
Target image and each beautification element set file are sent by the module respectively, recipient can be made to receive the target figure After picture and beautification element set file, when needing to show in the target image the beautification element set file, also can be according to target figure Target association relation between picture and beautification element set file, shows beautification element in the target image.Receiving terminal is received It is also to store the target image and beautification element set file respectively after the target image and beautification element set file, therefore, the U.S. Changing element set file will not also take the memory space of target image of receiving terminal.
By above-mentioned module, can by target image with beautification element set file individually store, and by target image with it is each Beautification element set file is respectively sent to receiving terminal, so that not only beautification element set file will not take the storage sky of target image Between, can also make receiving terminal also using the beautification element beautification target image in the beautification element set file.
Preferably, the mobile terminal 700 also includes:
4th acquisition module 713, the target image and the of the generation of the second generation module 705 is set up for setting up module 706 After the step of target association relation beautified between element set file of the generation of one generation module 704, mobile terminal 700 is obtained The beautification element set file of the selected generation of first generation module 704 of user.
The user of mobile terminal 700 can directly according to the corresponding beautification element set of self-demand selection.It should be appreciated that Can be carried out after the display beautification element of display module 710, satisfied effect is reached by the beautification element for checking the display Afterwards, the beautification element set file is selected.
3rd generation module 714, the selected beautification element set file of user for the 4th acquisition module 713 to be obtained Beautification element and the target image of the generation of the second generation module 705 carry out image synthesis, generation composograph is simultaneously stored.
Can will show that the target image of beautification element generates a new merging image and individually stores by the module, will not The original target image of influence.
Designed by above-mentioned module, element and target image can will be beautified according to the selection of the user of mobile terminal 700 The new image of generation is stored, and does not interfere with original target image.
To sum up, the mobile terminal 700 of 4th example of the invention, by obtaining in the image that camera 701 is gathered everyone Person characteristic information, can generate the beautification element set file being associated with the time based on the person characteristic information, and by the U.S. Changing element set file to be associated with image, image being processed accordingly with will pass through the beautification element, not only can be easily beautiful Change photo, the interactive and interest taken pictures can also be increased;Beautification element in the beautification element set file can be based on each The person characteristic information of people, adjusts size, position, shape and/or the angle of itself, or, in the beautification element set file Beautification element can not only be based on everyone person characteristic information, adjust size, position, shape and/or the angle of itself, and also With corresponding shooting background;Additionally, obtain the target time corresponding with the temporal information by obtaining temporal information, can by with this Beautification element in the beautification element set file of target time association to show check beautification effect for mobile terminal user in the picture Really;Additionally, can will also show that the image of beautification element is individually created new image and preserves, original target image is not interfered with; Additionally, can also individually store target image with beautification element set file, and target image and each beautification element set file are divided Do not send to receiving terminal, so that not only beautification element set file will not take the memory space of target image, can also make receiving terminal Also can be using the beautification element beautification target image in the beautification element set file.
5th embodiment
Fig. 9 is the structured flowchart of the mobile terminal of fifth embodiment of the invention.Mobile terminal 900 shown in Fig. 9 includes:Extremely Few processor 901, memory 902, at least one network interface 904, user interface 903 and a camera 906.Mobile terminal Each component in 900 is coupled by bus system 905.It is understood that bus system 905 be used for realize these components it Between connection communication.Bus system 905 in addition to including data/address bus, also including power bus, controlling bus and status signal Bus.But for the sake of for clear explanation, various buses are all designated as bus system 905 in fig .9.
Wherein, user interface 903 can include display, keyboard or pointing device for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 902 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside height Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (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 (Synch Link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 902 be intended to including but not limited to these With the memory of any other suitable type.
In some embodiments, memory 902 stores following element, can perform module or data structure, or Person their subset, or their superset:Operating system 9021 and application program 9022.
Wherein, operating system 9021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for Realize various basic businesses and process hardware based task.Application program 9022, comprising various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 9022.
In embodiments of the present invention, by the program for calling memory 902 to store or instruction, specifically, can be application The program stored in program 9022 or instruction.Processor 901 is used for:In image shoot process, the institute of camera 906 is obtained in real time Every two field picture of the photographed scene of collection;Everyone person characteristic information in the every two field picture of record;Personage based on everyone Characteristic information, the beautification element set file that generation at least one is associated with the time;After the completion of image taking, target figure is generated Picture;The target association relation set up between target image and beautification element set file.
The method that the embodiments of the present invention are disclosed can apply in processor 901, or be realized by processor 901. Processor 901 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 901 or software form.Above-mentioned treatment Device 901 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and logic diagram.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module may be located at random access memory, and flash memory, read-only storage may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 902, processor 901 reads the information in memory 902, with reference to the step of its hardware completion above method.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application 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 In reason device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory 902 and by computing device.Memory 902 can realize in processor 901 or outside processor 901.
Alternatively, processor 901 is used for:Person characteristic information based on everyone, generation at least one is related to the time In the step of beautification element set file of connection, processor 901 specifically for:Obtain the default beautification unit being associated with the time Element;Person characteristic information based on everyone, adjusts size, position, shape and/or the angle of each beautification element;Based on tune Each beautification element, the beautification element set file that generation at least one is associated with the time after whole;Wherein, each time correspondence One beautification element set file, each beautification element set file includes at least one beautification element.
Alternatively, processor 901 is used for:Person characteristic information based on everyone, generation at least one is related to the time In the step of beautification element set file of connection, processor 901 specifically for:Obtain everyone residing shooting background;Based on residing Shooting background, it is determined that the beautification themes matched with residing shooting background;According to beautification themes, it is determined that with beautification element The beautification element of theme matching;Person characteristic information based on everyone, adjusts size, position, the shape of each beautification element And/or angle;Based on each beautification element, the beautification element set file that generation at least one is associated with the time after adjustment; Wherein, different shooting backgrounds matches different beautification themes, and each time correspondence one beautifies element set file, each Beautification element set file includes at least one beautification element, and when there is shooting background and be different, same beautification element set text Part includes the beautification element of at least two beautification themes.
Alternatively, in position, the size of head portrait, the position of body, the profile of body of the person characteristic information including head portrait At least one.
Alternatively, processor 901 is used for:The target association relation set up between target image and beautification element set file After step, processor 901 is additionally operable to:Obtain temporal information;It is determined that the target time corresponding with temporal information;During based on target Section and target association relation, the target beautification element set file that acquisition is associated with the target time;By target beautification element set text Beautification element in part is displayed on target image;Wherein, temporal information checks the time of target image for mobile terminal user Or the system time of mobile terminal, the time include red-letter day and/or season.
Alternatively, processor 901 is used for:The target association relation set up between target image and beautification element set file After step, processor 901 is additionally operable to:Target image and each beautification element set file are stored respectively;Instruction is sent when receiving When, target image is respectively sent to receiving terminal with each beautification element set file.
Alternatively, processor 901 is used for:The target association relation set up between target image and beautification element set file After step, processor 901 is additionally operable to:Obtain the selected beautification element set file of the user of mobile terminal 900;By selected by user The beautification element of the beautification element set file selected carries out image synthesis with target image, generates composograph and stores.
Mobile terminal 900 can realize each process of mobile terminal realization in previous embodiment, to avoid repeating, here Repeat no more.
The mobile terminal 900 of the embodiment of the present invention, it is special by everyone personage in the image for obtaining the collection of camera 906 Reference ceases, and can generate the beautification element set file being associated with the time based on the person characteristic information, and by the beautification element set File is associated with image, and image is processed accordingly with will pass through the beautification element, not only can easily beautify photo, also The interactive and interest taken pictures can be increased;It is special that beautification element in the beautification element set file can be based on everyone personage Reference ceases, and adjusts size, position, shape and/or the angle of itself, or, the beautification element in the beautification element set file is not Everyone person characteristic information can be only based on, size, position, shape and/or the angle of itself is adjusted, corresponding bat is also matched Take the photograph background;Additionally, obtaining the target time corresponding with the temporal information by obtaining temporal information, will can be closed with the target time Beautification element in the beautification element set file of connection to show check landscaping effect for mobile terminal user in the picture;Additionally, also Can will show that the image of beautification element is individually created new image and preserves, not interfere with original target image;Additionally, can also be by Target image is individually stored with beautification element set file, and target image is respectively sent to receive with each beautification element set file End, so that not only beautification element set file will not take the memory space of target image, can also make receiving terminal also use the U.S. Change the beautification element beautification target image in element set file.
Sixth embodiment
Figure 10 is the structural representation of the mobile terminal of sixth embodiment of the invention.Specifically, the mobile terminal in Figure 10 1000 can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric Brain etc..
Mobile terminal 1 000 in Figure 10 include radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, Input block 1030, display unit 1040, processor 1060, voicefrequency circuit 1070, WiFi (Wireless Fidelity) module 1080th, power supply 1090 and camera 1050.
Wherein, input block 1030 can be used to receive the numeral or character information of user input, and produce with movement eventually The user at end 1000 is set and the relevant signal input of function control.Specifically, in the embodiment of the present invention, the input block 1030 can include contact panel 1031.Contact panel 1031, also referred to as touch-screen, can collect user thereon or neighbouring touch Operation (such as user uses the operations of any suitable object or annex on contact panel 1031 such as finger, stylus) is touched, and Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 1031 may include touch detecting apparatus and Two parts of touch controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the letter that touch operation brings Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into Contact coordinate, then give the processor 1060, and the order sent of receiving processor 1060 and can be performed.Furthermore, it is possible to Contact panel 1031 is realized using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1031, input block 1030 can also include other input equipments 1032, and other input equipments 1032 can be included but is not limited to One kind or many in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Wherein, display unit 1040 can be used for display by the information of user input or be supplied to information and the movement of user The various menu interfaces of terminal 1000.Display unit 1040 may include display panel 1041, optionally, using LCD or can have The forms such as machine light emitting diode (Organic Light-Emitting Diode, OLED) configure display panel 1041.
It should be noted that contact panel 1031 can cover display panel 1041, touch display screen is formed, when the touch display screen Detect thereon or after neighbouring touch operation, processor 1060 is sent to determine the type of touch event, with post processing Device 1060 provides corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show 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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area be used for show utilization rate control higher, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 1060 is the control centre of mobile terminal 1 000, using various interfaces and connection whole mobile phone Various pieces, by running or performing software program of the storage in first memory 1021 and/or module, and call and deposit The data in second memory 1022 are stored up, the various functions and processing data of mobile terminal 1 000 are performed, so as to mobile whole End 1000 carries out integral monitoring.Optionally, processor 1060 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 1021 in software program and/or module and/ Or the data in the second memory 1022, processor 1060 is used for:In image shoot process, camera 1050 is obtained in real time Every two field picture of the photographed scene for being gathered;Everyone person characteristic information in the every two field picture of record;People based on everyone Thing characteristic information, the beautification element set file that generation at least one is associated with the time;After the completion of image taking, target is generated Image;The target association relation set up between target image and beautification element set file.
Alternatively, processor 1060 is used for:Person characteristic information based on everyone, generation at least one is related to the time In the step of beautification element set file of connection, processor 1060 specifically for:Obtain the default beautification unit being associated with the time Element;Person characteristic information based on everyone, adjusts size, position, shape and/or the angle of each beautification element;Based on tune Each beautification element, the beautification element set file that generation at least one is associated with the time after whole;Wherein, each time correspondence One beautification element set file, each beautification element set file includes at least one beautification element.
Alternatively, processor 1060 is used for:Person characteristic information based on everyone, generation at least one is related to the time In the step of beautification element set file of connection, processor 1060 specifically for:Obtain everyone residing shooting background;Based on residing Shooting background, it is determined that the beautification themes matched with residing shooting background;According to beautification themes, it is determined that with beautification element The beautification element of theme matching;Person characteristic information based on everyone, adjusts size, position, the shape of each beautification element And/or angle;Based on each beautification element, the beautification element set file that generation at least one is associated with the time after adjustment; Wherein, different shooting backgrounds matches different beautification themes, and each time correspondence one beautifies element set file, each Beautification element set file includes at least one beautification element, and when there is shooting background and be different, same beautification element set text Part includes the beautification element of at least two beautification themes.
Alternatively, in position, the size of head portrait, the position of body, the profile of body of the person characteristic information including head portrait At least one.
Alternatively, processor 1060 is used for:The target association relation set up between target image and beautification element set file The step of after, processor 1060 is additionally operable to:Obtain temporal information;It is determined that the target time corresponding with temporal information;Based on mesh Timestamp section and target association relation, the target beautification element set file that acquisition is associated with the target time;Target is beautified into element Beautification element in collection file is displayed on target image;Wherein, temporal information checks target image for mobile terminal user Time or the system time of mobile terminal, the time include red-letter day and/or season.
Alternatively, processor 1060 is used for:The target association relation set up between target image and beautification element set file The step of after, processor 1060 is additionally operable to:Target image and each beautification element set file are stored respectively;Refer to when transmission is received When making, target image is respectively sent to receiving terminal with each beautification element set file.
Alternatively, processor 1060 is used for:The target association relation set up between target image and beautification element set file The step of after, processor 1060 is additionally operable to:Obtain the selected beautification element set file of the user of mobile terminal 1 000;By user The beautification element of selected beautification element set file carries out image synthesis with target image, generates composograph and stores.
It can be seen that, mobile terminal 1 000, by everyone person characteristic information in the image for obtaining the collection of camera 1050, The beautification element set file being associated with the time can be generated based on the person characteristic information, and by the beautification element set file and is schemed As association, image being processed accordingly with will pass through the beautification element, not only can easily be beautified photo, can also be increased The interactive and interest taken pictures;Beautification element in the beautification element set file can be based on everyone person characteristic information, Size, position, shape and/or the angle of itself are adjusted, or, the beautification element in the beautification element set file can not only be based on Everyone person characteristic information, adjusts size, position, shape and/or the angle of itself, also matches corresponding shooting background; Additionally, the target time corresponding with the temporal information is obtained by obtaining temporal information, the U.S. that will can be associated with the target time Beautification element in change element set file to show check landscaping effect for mobile terminal user in the picture;Additionally, can also show Show that the image of beautification element is individually created new image and preserves, do not interfere with original target image;Additionally, can also be by target figure As individually being stored with beautification element set file, and target image is respectively sent to receiving terminal with each beautification element set file, from And not only beautifying element set file will not take the memory space of target image, receiving terminal can be also set also to use the beautification element Beautification element beautification target image in collection file.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be by other Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (14)

1. a kind of photographic method, is applied to the mobile terminal with camera, it is characterised in that methods described includes:
In image shoot process, every two field picture of the photographed scene that the camera is gathered is obtained in real time;
Record everyone person characteristic information in every two field picture;
Based on the beautification element set file that everyone person characteristic information, generation at least one are associated with the time;
After the completion of image taking, target image is generated;
The target association relation set up between the target image and the beautification element set file.
2. method according to claim 1, it is characterised in that described based on everyone person characteristic information, it is raw Into at least one be associated with the time beautification element set file the step of, including:
Obtain the default beautification element being associated with the time;
Based on everyone person characteristic information, size, position, shape and/or the angle of each beautification element are adjusted Degree;
Based on the beautification element set file that each the described beautification element after adjustment, generation at least one are associated with the time;
Wherein, one beautification element set file of each time correspondence, each beautification element set file includes at least one beautification unit Element.
3. method according to claim 1, it is characterised in that described based on everyone person characteristic information, it is raw Into at least one be associated with the time beautification element set file the step of, including:
Obtain everyone residing shooting background;
Based on residing shooting background, it is determined that the beautification themes matched with residing shooting background;
According to the beautification themes, it is determined that the beautification element matched with the beautification themes;
Based on everyone person characteristic information, size, position, shape and/or the angle of each beautification element are adjusted Degree;
Based on the beautification element set file that each the described beautification element after adjustment, generation at least one are associated with the time;
Wherein, different shooting backgrounds matches different beautification themes, and each time correspondence one beautifies element set file, Each beautification element set file includes at least one beautification element, and when there is shooting background and be different, same beautification element Collection file includes the beautification element of at least two beautification themes.
4. according to the method in claim 2 or 3, it is characterised in that the person characteristic information includes position, the head of head portrait At least one in the size of picture, the position of body, the profile of body.
5. method according to claim 1, it is characterised in that described to set up the target image with the beautification element set After the step of target association relation between file, methods described also includes:
Obtain temporal information;
It is determined that the target time corresponding with the temporal information;
Based on the target time and the target association relation, the target beautification element that acquisition is associated with the target time Collection file;
The beautification element that the target is beautified in element set file is included on the target image;
Wherein, the temporal information time of the target image or mobile terminal for mobile terminal user checks is System time, the time includes red-letter day and/or season.
6. method according to claim 1, it is characterised in that described to set up the target image with the beautification element set After the step of target association relation between file, methods described also includes:
The target image is stored respectively with each beautification element set file;
When transmission instruction is received, the target image is respectively sent to receiving terminal with each beautification element set file.
7. method according to claim 1, it is characterised in that described to set up the target image with the beautification element set After the step of target association relation between file, methods described also includes:
Obtain the selected beautification element set file of mobile terminal user;
The beautification element of the selected beautification element set file of the user is carried out into image synthesis with the target image, is generated Composograph is simultaneously stored.
8. a kind of mobile terminal, including camera, it is characterised in that the mobile terminal also includes:
First acquisition module, in image shoot process, obtaining the every of the photographed scene that the camera is gathered in real time Two field picture;
Logging modle, for everyone character features letter in the described every two field picture for recording the first acquisition module acquisition Breath;
First generation module, for based on everyone person characteristic information described in logging modle record, generation to be at least One beautification element set file being associated with the time;
Second generation module, for after the completion of image taking, generating target image;
Module is set up, the target image for setting up the second generation module generation is generated with first generation module The beautification element set file between target association relation.
9. mobile terminal according to claim 8, it is characterised in that first generation module includes:
First acquisition submodule, for obtaining the default beautification element being associated with the time;
First adjustment submodule, for based on everyone person characteristic information described in logging modle record, adjusting institute State size, position, shape and/or the angle of each beautification element of the first acquisition submodule acquisition;
First generation submodule, for based on each the described beautification element after the described first adjustment submodule adjustment, generation to be extremely A few beautification element set file being associated with the time;
Wherein, one beautification element set file of each time correspondence, each beautification element set file includes at least one beautification unit Element.
10. mobile terminal according to claim 8, it is characterised in that first generation module includes:
Second acquisition submodule, for obtaining everyone residing shooting background;
First determination sub-module, for the residing shooting background obtained based on second acquisition submodule, it is determined that with described The beautification themes of the residing shooting background matching that two acquisition submodules are obtained;
Second determination sub-module, for the beautification themes determined according to first determination sub-module, it is determined that and institute State the beautification element of beautification themes matching;
Second adjustment submodule, for based on everyone person characteristic information described in logging modle record, adjusting institute State size, position, shape and/or the angle of each beautification element of the second determination sub-module determination;
Second generation submodule, for based on each the described beautification element after the described second adjustment submodule adjustment, generation to be extremely A few beautification element set file being associated with the time;
Wherein, different shooting backgrounds matches different beautification themes, and each time correspondence one beautifies element set file, Each beautification element set file includes at least one beautification element, and when there is shooting background and be different, same beautification element Collection file includes the beautification element of at least two beautification themes.
11. mobile terminal according to claim 9 or 10, it is characterised in that the person characteristic information includes head portrait At least one in position, the size of head portrait, the position of body, the profile of body.
12. mobile terminals according to claim 8, it is characterised in that also include:
Second acquisition module, for it is described set up module set up the target image of second generation module generation with it is described First generation module generation the beautification element set file between target association relation the step of after, obtain the time letter Breath;
Determining module, for determining the target time corresponding with the temporal information of second acquisition module acquisition;
3rd acquisition module, for the target time determined based on the determining module and the institute for setting up module foundation Target association relation is stated, the target beautification element set file that acquisition is associated with the target time;
Display module, the beautification element that the target for the 3rd acquisition module to be obtained is beautified in element set file shows Show on the target image of second generation module generation;
Wherein, the temporal information time of the target image or mobile terminal for mobile terminal user checks is System time, the time includes red-letter day and/or season.
13. mobile terminals according to claim 8, it is characterised in that also include:
Memory module, the target image and described first that module sets up the second generation module generation is set up for described Generation module generation the beautification element set file between target association relation the step of after, described second is stored respectively Each beautification element set file that the target image of generation module generation is generated with first generation module;
Sending module, for when transmission instruction is received, by the target image of memory module storage and each beautification Element set file is respectively sent to receiving terminal.
14. mobile terminals according to claim 8, it is characterised in that also include:
4th acquisition module, for it is described set up module set up the target image of second generation module generation with it is described First generation module generation the beautification element set file between target association relation the step of after, obtain mobile terminal The beautification element set file of the selected first generation module generation of user;
3rd generation module, the selected beautification element set file of the user for the 4th acquisition module to be obtained The target image that beautification element is generated with second generation module carries out image synthesis, generates composograph and stores.
CN201710042943.4A 2017-01-20 2017-01-20 A kind of photographic method and mobile terminal Pending CN106899804A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710042943.4A CN106899804A (en) 2017-01-20 2017-01-20 A kind of photographic method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710042943.4A CN106899804A (en) 2017-01-20 2017-01-20 A kind of photographic method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106899804A true CN106899804A (en) 2017-06-27

Family

ID=59198155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710042943.4A Pending CN106899804A (en) 2017-01-20 2017-01-20 A kind of photographic method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106899804A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107424117A (en) * 2017-07-17 2017-12-01 广东欧珀移动通信有限公司 Image U.S. face method, apparatus, computer-readable recording medium and computer equipment
WO2021052074A1 (en) * 2019-09-19 2021-03-25 北京字节跳动网络技术有限公司 Method and apparatus for interacting with image, and medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038693A (en) * 2014-05-23 2014-09-10 小米科技有限责任公司 Method and device for taking photos
CN104867096A (en) * 2014-02-25 2015-08-26 腾讯科技(深圳)有限公司 Method for dynamically changing watermark content and device thereof
CN105117207A (en) * 2015-07-27 2015-12-02 小米科技有限责任公司 Album creating method and apparatus
CN105338237A (en) * 2014-08-06 2016-02-17 腾讯科技(深圳)有限公司 Image processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104867096A (en) * 2014-02-25 2015-08-26 腾讯科技(深圳)有限公司 Method for dynamically changing watermark content and device thereof
CN104038693A (en) * 2014-05-23 2014-09-10 小米科技有限责任公司 Method and device for taking photos
CN105338237A (en) * 2014-08-06 2016-02-17 腾讯科技(深圳)有限公司 Image processing method and device
CN105117207A (en) * 2015-07-27 2015-12-02 小米科技有限责任公司 Album creating method and apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107424117A (en) * 2017-07-17 2017-12-01 广东欧珀移动通信有限公司 Image U.S. face method, apparatus, computer-readable recording medium and computer equipment
WO2021052074A1 (en) * 2019-09-19 2021-03-25 北京字节跳动网络技术有限公司 Method and apparatus for interacting with image, and medium and electronic device

Similar Documents

Publication Publication Date Title
CN107566717A (en) A kind of image pickup method, mobile terminal and computer-readable recording medium
CN106027900A (en) Photographing method and mobile terminal
CN106648035A (en) Image resolution adjusting method and mobile terminal
CN106534685A (en) Panoramic image generation method and mobile terminal
CN107678641A (en) A kind of method and mobile terminal into target display interface
CN106777329B (en) A kind of processing method and mobile terminal of image information
CN107317993A (en) A kind of video call method and mobile terminal
CN107172346A (en) A kind of weakening method and mobile terminal
CN107395998A (en) A kind of image capturing method and mobile terminal
CN106713764A (en) Photographic method and mobile terminal
CN106791400A (en) A kind of method for displaying image and mobile terminal
CN105847674A (en) Preview image processing method based on mobile terminal, and mobile terminal therein
CN106657793A (en) Image processing method and mobile terminal
CN107172361A (en) The method and mobile terminal of a kind of pan-shot
CN106454104A (en) Photographing method and mobile terminal
CN107147852A (en) Image capturing method, mobile terminal and computer-readable recording medium
CN105827754A (en) High dynamic-range image generation method and mobile terminal
CN106778393A (en) A kind of information processing method and mobile terminal
CN107302655B (en) It is a kind of to shoot the adjusting method and mobile terminal found a view
CN106791438A (en) A kind of photographic method and mobile terminal
CN107026982B (en) A kind of photographic method and mobile terminal of mobile terminal
CN106506942A (en) A kind of photographic method and mobile terminal
CN107509040A (en) A kind of photographic method and mobile terminal
CN106888354A (en) A kind of singlehanded photographic method and mobile terminal
CN106357989A (en) Brightness adjustment method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170627

RJ01 Rejection of invention patent application after publication