Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Referring to Fig. 1, the embodiment of the invention provide a kind of in the process of taking pictures the method for indicating template photo, comprising:
Step 101: obtain the template photo;
Step 102: this template photo handled obtaining the composition reference diagram, the profile of the object that comprises in this template photo that this composition reference diagram is transparence or this template photo;
Step 103: this composition reference diagram is presented in the picture of finding a view of terminal shooting in real time.
The template photo of the embodiment of the invention by obtaining, this template photo handled obtain the composition reference diagram, the profile of the object that comprises in this template photo that this composition reference diagram is transparence or this template photo, this composition reference diagram is presented in the picture of finding a view of terminal shooting in real time, thereby the user need and not find a view between the picture at the template photo and switch back and forth, the efficient of taking pictures from raising.
The embodiment of the invention provide a kind of in the process of taking pictures the method for indicating template photo.Wherein, in embodiments of the present invention, the template photo is carried out translucentization processing, obtain the template photo of transparence, and this template photo of transparence is presented in the picture of finding a view that terminal takes in real time, so that adjusting, the user clapped personage's posture or the putting position of made thing body.Referring to Fig. 2, this method comprises:
Step 201: obtain the find a view photographed scene information of picture of terminal taking, this photographed scene information comprises takes in geographical location information, shooting time information, Weather information, number of person, color information and the stage property information at least one;
Wherein, the user can use terminal that the personage who is taken pictures or the object of being taken pictures are taken, and shooting obtains the picture of finding a view.And when the user takes when finding a view picture, obtain the find a view photographed scene information of picture of terminal taking.
Wherein, obtain the shooting geographical location information, can for:
Obtain the current position coordinates of terminal, obtain the current geographical location information of terminal according to the current position coordinates of terminal, the geographical location information that terminal is current is defined as taking geographical location information.
Wherein, can comprise GPS(Global Positioning System in the terminal, global positioning system) module; Preferable, can obtain the position coordinates of terminal by the GPS module that terminal comprises.
Preferable, current according to terminal position coordinates inquires the current geographical location information of terminal from network.
Wherein, in embodiments of the present invention, the image that comprises in also can the picture of finding a view according to terminal taking finds out corresponding shooting geographical location information from the image stored and the corresponding relation of taking geographical location information.
Wherein, obtain shooting time information, can for:
Obtain the time point of current shooting, obtain shooting time information according to the time point of current shooting.Wherein, shooting time information can comprise information such as the morning, afternoon, night, spring, summer, autumn and/or winter.
Wherein, obtain Weather information, can for:
The position coordinates current according to terminal inquires current Weather information from network.Wherein, Weather information can comprise day fine, cloudy, rainy day or avenge information such as sky.
Wherein, obtain number of person, can for:
From the picture of finding a view of terminal current shooting, obtain character image, the character image that obtains is added up obtaining number of person.
Wherein, obtain color information, comprising:
Determine the pattern of the picture of finding a view of terminal taking, if be color mode, the color information of then obtaining is color mode, if be white-black pattern, the color information of then obtaining is white-black pattern.
Wherein, obtain stage property information, can for:
The subject image that comprises in the picture of finding a view according to terminal taking is obtained stage property information.
Wherein, the user can arrange the information type that photographed scene information comprises; For example, be respectively geographical location information and the shooting time information of taking if the user arranges the information type that photographed scene information comprises, the photographed scene information of then obtaining in this step comprises geographical location information and the shooting time information of taking; If the user arranges information type that photographed scene information comprises and is respectively and takes geographical location information, Weather information and color information, then the photographed scene information obtained in this step of step comprises and takes geographical location information, Weather information and color information.
Wherein, the photographed scene scene information can also comprise the default information type, if the user does not arrange the information type that photographed scene information comprises, then according to the default information type, obtains photographed scene information.For example, the photographed scene scene information can also comprise that the default information type is respectively geographical location information and the shooting time information of taking, and the photographed scene information of then obtaining in this step comprises geographical location information and the shooting time information of taking.
Step 202: according to this photographed scene information, obtain the template photo;
Preferable, according to this photographed scene information, from the template photo library, obtain the template photo that has this photographed scene information.
Wherein, there is corresponding photographed scene information in each the template photo that comprises in the template photo library; Preferable, the photographed scene information of each template photo can be stored in respectively in the fileinfo of each template photo.
Preferable, can in the fileinfo of template photo, increase a newer field, the photographed scene information of this template photo is stored in this newer field; Perhaps, select field in the field that can comprise at the fileinfo of template photo, the photographed scene information of this template photo is stored in the field of selection.
Preferable, if obtain many template photos according to this photographed scene information, then show many template photos that obtain, so that the user selects a template photo, and receive the template photo that the user selects.
For example, suppose that this photographed scene information comprises shooting geographical location information and shooting time information, then obtains the template photo that comprises this shooting geographical location information and this shooting time information in the photographed scene information from the template photo library.
Wherein, the template photo library can be stored in terminal this locality, perhaps is stored in the high in the clouds server that is arranged in network.
Preferable, this step can for: according to this photographed scene information, from the template photo library of the local storage of terminal, obtain the template photo that has this photographed scene information; Perhaps, according to this photographed scene information, obtain the template photo that has this photographed scene information in the template photo library of from the server of high in the clouds, storing.
Wherein, because terminal is subjected to the restriction of hardware, the quantity of the template photo that comprises in the template photo library that makes the quantity of the template photo that comprises in the template photo library of terminal storage to store in the server of high in the clouds is so the matching degree of finding a view between the picture of the template photo that obtains in the template photo library of storing from the server of high in the clouds and terminal taking is higher.
Wherein, in embodiments of the present invention, the user also can directly select a template photo from the template photo library, submit the template photo of selecting to.
Preferable, in inventive embodiments, can receive the template photo that the user selects from the template photo library.
Step 203: this template photo is carried out translucent processing, obtain this template photo of transparence;
Step 204: this template photo of transparence is presented in the picture of finding a view of terminal shooting in real time, is clapped personage's posture or the putting position of made thing body so that the user adjusts.
Wherein, terminal is taken in real time and is obtained the picture of finding a view.Particularly, this template photo of transparence is superimposed upon the upper strata of the picture of finding a view that terminal takes in real time and this template photo of showing transparency.
Wherein, this template photo of transparence is superimposed upon the terminal upper strata of the picture of finding a view of shooting in real time, the user can see through this template photo of transparence and see the picture of finding a view that terminal is taken in real time, the picture of finding a view that this template photo of more transparentization and terminal are taken is in real time adjusted and is clapped personage's posture or the putting position of made thing body.
The embodiment of the invention is by carrying out translucentization processing to the template photo that obtains, obtain this template photo of transparence, this template photo of transparence is superimposed upon the terminal upper strata of the picture of finding a view of shooting in real time, and this template photo of showing transparency, the user can see through this template photo of transparence and see the picture of finding a view that terminal is taken in real time, the picture of finding a view that this template photo of more transparentization and terminal are taken in real time, adjust the putting position of the posture of being clapped the personage or the object of being clapped, so the user need be in template photo and the switching back and forth between the picture of not finding a view, the efficient of taking pictures from raising; In addition, obtain the template photo automatically according to the find a view photographed scene information of picture of terminal taking, improve the efficient of taking pictures further.
The embodiment of the invention provide a kind of in the process of taking pictures the method for indicating template photo.Wherein, in embodiments of the present invention, extract the profile of the object that the template photo comprises, the profile of the object that this template photo is comprised is presented in the picture of finding a view that terminal takes in real time, is clapped personage's posture or the putting position of made thing body so that the user adjusts.Referring to Fig. 3, this method comprises:
Step 301: obtain the find a view photographed scene information of picture of terminal taking, this photographed scene information comprises takes in geographical location information, shooting time information, Weather information, number of person, color information and the stage property information at least one;
Wherein, the user can use terminal that the personage who is taken pictures or the object of being taken pictures are taken, and shooting obtains the picture of finding a view.And when the user takes when finding a view picture, obtain the find a view photographed scene information of picture of terminal taking.
Wherein, obtain the shooting geographical location information, can for:
Obtain the current position coordinates of terminal, obtain the current geographical location information of terminal according to the current position coordinates of terminal, the geographical location information that terminal is current is defined as taking geographical location information.
Wherein, can comprise the GPS module in the terminal; Preferable, can obtain the position coordinates of terminal by the GPS module that terminal comprises.
Preferable, current according to terminal position coordinates inquires the current geographical location information of terminal from network.
Wherein, in embodiments of the present invention, the image that comprises in also can the picture of finding a view according to terminal taking finds out corresponding shooting geographical location information from the image stored and the corresponding relation of taking geographical location information.
Wherein, obtain shooting time information, can for:
Obtain the time point of current shooting, obtain shooting time information according to the time point of current shooting.Wherein, shooting time information can comprise information such as the morning, afternoon, night, spring, summer, autumn and/or winter.
Wherein, obtain Weather information, can for:
The position coordinates current according to terminal inquires current Weather information from network.Wherein, Weather information can comprise day fine, cloudy, rainy day or avenge information such as sky.
Wherein, obtain number of person, can for:
From the picture of finding a view of terminal current shooting, obtain character image, the character image that obtains is added up obtaining number of person.
Wherein, obtain color information, comprising:
Determine the pattern of the picture of finding a view of terminal taking, if be color mode, the color information of then obtaining is color mode, if be white-black pattern, the color information of then obtaining is white-black pattern.
Wherein, obtain stage property information, can for:
The subject image that comprises in the picture of finding a view according to terminal taking is obtained stage property information.
Wherein, the user can arrange the information type that photographed scene information comprises; For example, be respectively geographical location information and the shooting time information of taking if the user arranges the information type that photographed scene information comprises, the photographed scene information of then obtaining in this step comprises geographical location information and the shooting time information of taking; If the user arranges information type that photographed scene information comprises and is respectively and takes geographical location information, Weather information and color information, then the photographed scene information obtained in this step of step comprises and takes geographical location information, Weather information and color information.
Step 302: according to this photographed scene information, obtain the template photo;
Preferable, according to this photographed scene information, from the template photo library, obtain the template photo that has this photographed scene information.
Wherein, there is corresponding photographed scene information in each the template photo that comprises in the template photo library; Preferable, the photographed scene information of each template photo can be stored in respectively in the fileinfo of each template photo.
Preferable, can in the fileinfo of template photo, increase a newer field, the photographed scene information of this template photo is stored in this newer field; Perhaps, select field in the field that can comprise at the fileinfo of template photo, the photographed scene information of this template photo is stored in the field of selection.
Preferable, if obtain many template photos according to this photographed scene information, then show many template photos that obtain, so that the user selects a template photo, and receive the template photo that the user selects.
For example, suppose that this photographed scene information comprises shooting geographical location information and shooting time information, then obtains the template photo that comprises this shooting geographical location information and this shooting time information in the photographed scene information from the template photo library.
Wherein, the template photo library can be stored in terminal this locality, perhaps is stored in the high in the clouds server that is arranged in network.
Preferable, this step can for: according to this photographed scene information, from the template photo library of the local storage of terminal, obtain the template photo that has this photographed scene information; Perhaps, according to this photographed scene information, obtain the template photo that has this photographed scene information in the template photo library of from the server of high in the clouds, storing.
Wherein, because terminal is subjected to the restriction of hardware, the quantity of the template photo that comprises in the template photo library that makes the quantity of the template photo that comprises in the template photo library of terminal storage to store in the server of high in the clouds is so the matching degree of finding a view between the picture of the template photo that obtains in the template photo library of storing from the server of high in the clouds and terminal taking is higher.
Wherein, in embodiments of the present invention, the user also can directly select a template photo from the template photo library, submit the template photo of selecting to.
Preferable, in inventive embodiments, can receive the template photo that the user selects from the template photo library.Step 303: the profile of the object that this template photo of extraction comprises from this template photo;
Particularly, this template photo is carried out the special efficacy filter handle, obtain the profile of the object that this template photo comprises.
Preferential, can from this template photo, extract the personage's that this template photo comprises profile; Perhaps, can from this template photo, extract the profile of one or more objects of the area occupied maximum that this template photo comprises.
For example, get access to template photo as shown in Figure 4 in step 302, comprise character image in this template photo, extract personage's profile from template photo as shown in Figure 4, this personage's profile as shown in Figure 5.
Step 304: the contour of object that this template photo is comprised is presented in the picture of finding a view of terminal shooting in real time, is clapped personage's posture or the putting position of made thing body so that the user adjusts.
Wherein, terminal is taken in real time and is obtained the picture of finding a view.Particularly, the profile of the object that this template photo is comprised is superimposed upon the upper strata of the picture of finding a view that terminal takes in real time, and shows the contour of object that this template photo comprises.
Wherein, the contour of object that this template photo is comprised is superimposed upon the terminal upper strata of the picture of finding a view of shooting in real time, the user is the picture of finding a view taken in real time of the contour of object that comprises of this template photo and terminal relatively, adjusts and is clapped personage's posture or the putting position of made thing body.
For example, terminal is taken in real time the picture of finding a view as shown in Figure 6, as shown in Figure 5 personage's profile is superimposed upon in as shown in Figure 6 the picture of finding a view, the result who obtains as shown in Figure 7, and at this personage's of screen displayed that finds a view shown in Figure 7 profile.
The embodiment of the invention is by the profile of the object that extracts the template photo and comprise, the profile of the object that this template photo is comprised is superimposed upon the upper strata of the picture of finding a view that terminal takes in real time, and show the profile of the object that this template photo comprises, the user is the profile of the object that comprises of this template photo and the picture of finding a view that terminal is taken in real time relatively, adjust and clapped personage's posture or the putting position of made thing body, so the user need be in template photo and the switching back and forth between the picture of not finding a view, the efficient of taking pictures from raising; In addition, obtain the template photo automatically according to the find a view photographed scene information of picture of terminal taking, improve the efficient of taking pictures further.
Referring to Fig. 8, the embodiment of the invention provide a kind of in the process of taking pictures the device of indicating template photo, comprising:
Acquisition module 401 is used for obtaining the template photo;
Processing module 402 is used for described template photo handled obtaining the composition reference diagram, and described composition reference diagram is the profile of the object that comprises in the described template photo of transparence or the described template photo;
Display module 403 is used for described composition reference diagram is presented at the picture of finding a view that terminal is taken in real time.
Preferable, referring to Fig. 9, described processing module 402 comprises:
Translucent processing unit 4021 is used for described template photo is carried out translucent processing, obtains the described template photo of transparence; Perhaps,
Extraction unit 4022 is for the profile that extracts the object that comprises the described template photo from described template photo.
Preferable, described display module 403 is used for described composition reference diagram is superimposed upon the described terminal upper strata of the picture of finding a view of shooting in real time, shows described composition reference diagram.
Preferable, referring to Figure 10, described acquisition module 401 comprises:
Receiving element 4011 is used for receiving the template photo that the user selects from the template photo library; Perhaps,
Acquiring unit 4012 for the photographed scene information of the picture of finding a view according to terminal taking, obtains the template photo.
Preferable, referring to Figure 11, described device also comprises:
Information acquisition module 404 is used for obtaining the find a view photographed scene information of picture of terminal taking.
Wherein, the find a view photographed scene information of picture of described terminal taking comprises and takes in geographical location information, shooting time information, Weather information, number of person, color information and the stage property information at least one.
The template photo of the embodiment of the invention by obtaining, this template photo handled obtain the composition reference diagram, the profile of the object that comprises in this template photo that this composition reference diagram is transparence or this template photo, this composition reference diagram is presented in the picture of finding a view of terminal shooting in real time, thereby the user need and not find a view between the picture at the template photo and switch back and forth, the efficient of taking pictures from raising; In addition, obtain the template photo automatically according to the find a view photographed scene information of picture of terminal taking, improve the efficient of taking pictures further.
The all or part of step that one of ordinary skill in the art will appreciate that realization above-described embodiment can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.