Summary of the invention
The present invention provides a kind of photographic method and terminal and takes customer satisfaction system figure to reduce operation when user takes pictures
Picture.
On the one hand, a kind of photographic method is provided, which comprises
Under photographing mode, the range information of terminal and user is received;
According to the range information, judge whether the terminal reaches pre-determined distance value at a distance from user;
If the result judged be it is yes, take pictures.
Preferably, described under photographing mode, the range information of terminal and user is received, is specifically included:
Receive the phonetic order that user is directed to terminal input;
According to the intensity of the voice signal in the phonetic order, the terminal is obtained at a distance from user.
Preferably, described under photographing mode, the range information of terminal and user is received, is specifically included:
Under photographing mode, infrared detector is opened;
The terminal and the range information of user are detected by the infrared detector.
Preferably, if the result judged be it is yes, take pictures, comprising:
After setting time after reaching pre-determined distance value at a distance from the terminal and user, take pictures;Or
After the terminal reaches the pre-determined distance value at a distance from user, voice prompting of taking pictures is carried out;
After receiving the confirmation instruction of the voice prompting of taking pictures, take pictures.
Preferably, the method also includes:
According to the corresponding relationship between at least one preset distance value and image imaging effect, determine with detect away from
From corresponding image imaging effect;
According to determining described image imaging effect, image imaging when taking pictures is handled;
Wherein, the corresponding relationship between the distance value and image imaging effect includes:
When the distance is first distance value, corresponding described image imaging effect includes: increase brightness;
When the distance is second distance value, corresponding described image imaging effect includes: that amendment shape of face or removal are used
Family facial marks.
On the other hand, a kind of terminal is provided, the terminal includes:
First receiving unit, for receiving the terminal and the range information of user under photographing mode;
Judging unit, for according to the range information, judge the terminal whether reach at a distance from user it is default away from
From value;
Photographing unit, if for the result that the judging unit judges be it is yes, take pictures.
Preferably, first receiving unit includes:
Second receiving unit, the phonetic order for being directed to terminal input for receiving user;
Acquiring unit obtains the terminal and user for the intensity according to the voice signal in the phonetic order
Range information.
Preferably, first receiving unit includes:
Opening unit, for opening infrared detector under the photographing mode;
Detection unit, for detecting the terminal and the range information of user by infrared detector.
Preferably, the photographing unit is specifically used for:
After setting time after reaching pre-determined distance value at a distance from the terminal and user, take pictures;Or
The terminal further include:
Voice alerting unit, for taking pictures after the terminal reaches the pre-determined distance value at a distance from user
Voice prompting;
The photographing unit is specifically used for: after receiving the confirmation instruction of the voice prompting of taking pictures, taking pictures.
Preferably, the terminal further include:
Determination unit, for according to the corresponding relationship between at least one preset distance value and image imaging effect, really
Fixed image imaging effect corresponding at a distance from detecting;
Processing unit, for handling image imaging when taking pictures according to determining described image imaging effect;
Wherein, the corresponding relationship between the distance value and image imaging effect includes:
When the distance is first distance value, corresponding described image imaging effect includes: increase brightness;
When the distance is second distance value, corresponding described image imaging effect includes: that amendment shape of face or removal are used
Family facial marks.
As it can be seen that a kind of photographic method and terminal that provide according to the present invention, when terminal is under photographing mode, passes through and receive eventually
End and the range information of user are taken pictures when terminal reaches pre-determined distance value at a distance from user, are pressed again without user
It takes pictures button, it is possible to reduce customer satisfaction system image is taken in operation when user takes pictures.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Below with reference to Fig. 1-Fig. 3, photographic method provided by the invention is described in detail:
Referring to Fig. 1, being a kind of flow diagram of photographic method provided in an embodiment of the present invention, this method includes following
Step:
Step S101 receives the range information of terminal and user under photographing mode.
The terminal that the present embodiment is related to includes the portable terminal that mobile phone, tablet computer etc. have camera.User opens
The camera of the terminal is taken pictures, and when taking pictures, presses button of taking pictures, and into photographing mode, then, subscriber station is to from terminal
Suitable position is ready for taking pictures, and terminal receives its range information with user.
Step S102 judges whether the terminal reaches pre-determined distance value at a distance from user according to the range information,
If so, proceeding to step S103;Otherwise, repeat step S101 and S102.
Step S103, takes pictures.
Distance value can be preset, when terminal reaches pre-determined distance value at a distance from user, is taken pictures automatically, nothing
User is needed to press button of taking pictures again, it is possible to reduce customer satisfaction system image is taken in operation when user takes pictures.
Of course, it is possible to consider that multiple pre-determined distance values are arranged, when reaching first pre-determined distance value, first photograph is taken
Then piece enters back into photographing mode, when reaching second pre-determined distance value, take second photo, more so as to take
Photo is opened, user can select the photo that suitably distance is shot later.
A kind of photographic method provided according to embodiments of the present invention, when terminal is under photographing mode, by receive terminal with
The range information of user takes pictures when terminal reaches pre-determined distance value at a distance from user, presses and take pictures again without user
Button, it is possible to reduce customer satisfaction system image is taken in operation when user takes pictures.
Referring to Fig. 2, for the flow diagram of another photographic method provided in an embodiment of the present invention, this method include with
Lower step:
Step S201 opens infrared detector under photographing mode.
Step S202 detects the range information of terminal and user by the infrared detector.
The range information of terminal and user is detected by infrared detector.
Terminal generally all has infrared inductor or detector, by infrared-ray can detecte with target obstacle away from
From.Terminal faces user and takes pictures, and therefore, infrared detector one surely detects user, so as to detect with user's
Distance.
Step S203 judges whether the terminal reaches pre-determined distance value at a distance from user according to the range information,
If so, proceeding to step S204;Otherwise, step S201-S203 is continued to execute.
Step S204, takes pictures.
After terminal to user reaches pre-determined distance value after a certain period of time, it then takes pictures, can moved to avoid user
Movement during dynamic causes the image taken fuzzy.
Step S205, according to the corresponding relationship between at least one preset distance value and image imaging effect, determine with
The corresponding image imaging effect of the distance detected.
Step S206 is handled image imaging when taking pictures according to determining described image imaging effect.
User is different at a distance from terminal, then the image effect taken is also different, can if user is closer from terminal
The user face come can be taken or body type is larger, user generally likes clapping oneself thinner, if user is closer from terminal,
User's wrinkle, spot may also be clapped to be apparent, this is also the effect that user is unwilling to see;If user from
Terminal farther out, may take the brightness of image of the user come not enough etc., therefore, it is necessary to the actual range according to user and terminal,
It handles the image come is taken.
It is closed it is possible, firstly, to which default one or more user is corresponding between the distance value of terminal and image imaging effect
System, for example, can be set user at a distance from terminal farther out when, be correspondingly arranged image imaging effect for increase brightness;It can be with
User and when being closer of terminal are set, is correspondingly arranged image imaging effect as amendment shape of face, so that shape of face becomes smaller, or goes
Except user's face mark etc..
Then, according to the distance value of the actually detected user arrived and terminal, corresponding image imaging effect is determined, according to true
Fixed image imaging effect is handled the image come is taken.
A kind of photographic method provided according to embodiments of the present invention, when terminal is under photographing mode, by detection terminal with
The distance of user is taken pictures when terminal reaches pre-determined distance value at a distance from user, pressed again without user take pictures by
Button, it is possible to reduce customer satisfaction system image is taken in operation when user takes pictures;And it can be according to the actually detected user arrived and terminal
Distance value, to take come image handle, can further decorative image, obtain the more satisfied image of user.
Referring to Fig. 3, be another photographic method provided in an embodiment of the present invention flow diagram, this method include with
Lower step:
Step S301 receives the phonetic order that user is directed to terminal input.
User is manually opened or indicates that the camera in unlatching terminal enters photographing mode by voice, or claps entering
After mode, user can also issue phonetic order to terminal, such as: " all set ", " can start to take pictures " etc., terminal connects
Receive the phonetic order of user.
Step S302 obtains the terminal at a distance from user according to the intensity of the voice signal in the phonetic order
Information.
Voice signal in phonetic order has certain intensity, the voice signal for the phonetic order that different distance issues
Intensity is different, therefore, according to the intensity of voice signal, the range information of available terminal and user.
Step S303 judges whether the terminal reaches pre-determined distance value at a distance from user according to the range information;
If so, proceeding to step S304;Otherwise, step S301-S303 is continued to execute.
Step S304 carries out voice prompting of taking pictures after the terminal reaches the pre-determined distance value at a distance from user.
Step S305 takes pictures after receiving the confirmation instruction of the voice prompting of taking pictures.
When terminal reaches pre-determined distance value at a distance from user, voice prompting of taking pictures is carried out, such as " start to take pictures,
OK? ", according to voice prompting, stopping immediately acting user, and replys " OK ", and terminal is instructed according to the confirmation for voice prompting of taking pictures,
It takes pictures.
By the interactive voice between terminal and user, the user experience of terminal is enhanced, and the user to take pictures can be allowed to have
Sufficient preparation, avoids taking fuzzy image.
Step S306, according to the corresponding relationship between at least one preset distance value and image imaging effect, determine with
The corresponding image imaging effect of the distance detected.
Step S307 is handled image imaging when taking pictures according to determining described image imaging effect.
Step S306, S307 is identical as step S205, S206 of embodiment illustrated in fig. 2 respectively, and details are not described herein.
A kind of photographic method provided according to embodiments of the present invention, when terminal is under photographing mode, by receive terminal with
The range information of user takes pictures when terminal reaches pre-determined distance value at a distance from user, presses and take pictures again without user
Button, it is possible to reduce customer satisfaction system image is taken in operation when user takes pictures;And it can be according to the actually detected user arrived and end
The distance value at end, to take come image handle, can further decorative image, obtain the more satisfied image of user.
Below with reference to Fig. 4-Fig. 6, photographic method provided by the invention is described in detail:
Referring to Fig. 4, being a kind of structural schematic diagram of terminal provided in an embodiment of the present invention, which includes:
First receiving unit 11, for receiving the range information of terminal and user under photographing mode.
The terminal that the present embodiment is related to includes the portable terminal that mobile phone, tablet computer etc. have camera.User opens
The camera of the terminal is taken pictures, and when taking pictures, presses button of taking pictures, and into photographing mode, then, subscriber station is to from terminal
Suitable position is ready for taking pictures, and the first receiving unit 11 receives the range information of itself and user.
Judging unit 12, for judging whether the terminal reaches default at a distance from user according to the range information
Distance value.
Photographing unit 13, if for the result that the judging unit judges be it is yes, take pictures.
Distance value can be preset, when terminal reaches pre-determined distance value at a distance from user, photographing unit 13 is automatic
It takes pictures, presses button of taking pictures again without user, it is possible to reduce customer satisfaction system image is taken in operation when user takes pictures.
Of course, it is possible to consider that multiple pre-determined distance values are arranged, when terminal reaches first pre-determined distance at a distance from user
When value, photographing unit 13 takes first photo, then enters back into photographing mode, when terminal reaches second at a distance from user
When pre-determined distance value, photographing unit 13 takes second photo, and so as to take multiple pictures, user can close in selection later
The photo of suitable distance shooting.
A kind of terminal provided according to embodiments of the present invention, when terminal is under photographing mode, by receiving terminal and user
Range information take pictures when terminal reaches pre-determined distance value at a distance from user, pressed again without user take pictures by
Button, it is possible to reduce customer satisfaction system image is taken in operation when user takes pictures.
Referring to Fig. 5, for the structural schematic diagram of another terminal provided in an embodiment of the present invention, which includes:
First receiving unit 21, for receiving the range information of terminal and user under photographing mode.
In the present embodiment, the first receiving unit 21 includes: opening unit 211 and detection unit 212.
Opening unit 211, for opening infrared detector under the photographing mode.
Detection unit 212, for detecting the terminal and the range information of user by the infrared detector.
Terminal generally all has infrared inductor or detector, after opening unit 211 opens the infrared detector of terminal, inspection
Survey unit 212 can detecte at a distance from target obstacle by infrared-ray.Terminal faces user and takes pictures, therefore, infrared
Detector one surely detects user, so as to detect at a distance from user.
Judging unit 22, for judging whether the terminal reaches default at a distance from user according to the range information
Distance value.
Photographing unit 23, if for the result that the judging unit judges be it is yes, take pictures.
After terminal to user reaches pre-determined distance value after a certain period of time, it then takes pictures, can moved to avoid user
Movement during dynamic causes the image taken fuzzy.
When the distance detected reaches pre-determined distance value, voice prompting is carried out, user stops immediately according to voice prompting
Movement, waiting are taken pictures.
Determination unit 24, for according to the corresponding relationship between at least one preset distance value and image imaging effect,
Determine image imaging effect corresponding at a distance from detecting.
Processing unit 25, for handling image imaging when taking pictures according to determining described image imaging effect.
User is different at a distance from terminal, then the image effect taken is also different, can if user is closer from terminal
The user face come can be taken or body type is larger, user generally likes clapping oneself thinner, if user is closer from terminal,
User's wrinkle, spot may also be clapped to be apparent, this is also the effect that user is unwilling to see;If user from
Terminal farther out, may take the brightness of image of the user come not enough etc., therefore, it is necessary to the actual range according to user and terminal,
It handles the image come is taken.
It is closed it is possible, firstly, to which default one or more user is corresponding between the distance value of terminal and image imaging effect
System, for example, can be set user at a distance from terminal farther out when, be correspondingly arranged image imaging effect for increase brightness;It can be with
User and when being closer of terminal are set, is correspondingly arranged image imaging effect as amendment shape of face, so that shape of face becomes smaller, or goes
Except user's face mark etc..
Then, according to the distance value of the detection unit 212 actually detected user arrived and terminal, determination unit 24, which determines, to be corresponded to
Image imaging effect, processing unit 25 handles the image come is taken according to determining image imaging effect.
A kind of terminal provided according to embodiments of the present invention passes through detection terminal and user when terminal is under photographing mode
Distance take pictures when terminal reaches pre-determined distance value at a distance from user, press button of taking pictures again without user, can
To reduce operation when user takes pictures, customer satisfaction system image is taken;And can according to the actually detected user arrived and terminal away from
From value, handle the image come is taken, can further decorative image, obtain the more satisfied image of user.
Referring to Fig. 6, being the structural schematic diagram of another terminal provided in an embodiment of the present invention, which includes:
First receiving unit 31, for receiving the range information of terminal and user under photographing mode.
In the present embodiment, the first receiving unit 31 includes: the second receiving unit 311 and acquiring unit 312.
Second receiving unit 311, the phonetic order for being directed to terminal input for receiving user.
User is manually opened or indicates that the camera in unlatching terminal enters photographing mode by voice, or claps entering
After mode, user can also issue phonetic order to terminal, such as: " all set ", " can start to take pictures " etc. receive single
Member 311 receives the phonetic order of user.
Acquiring unit 312 obtains the terminal and user for the intensity according to the voice signal in the phonetic order
Range information.
Voice signal in phonetic order has certain intensity, the voice signal for the phonetic order that different distance issues
Intensity is different, therefore, according to the intensity of voice signal, the range information of acquiring unit 312 available terminal and user.
Judging unit 32, for judging whether the terminal reaches default at a distance from user according to the range information
Distance value.
Voice alerting unit 33, for being clapped after the terminal reaches the pre-determined distance value at a distance from user
According to voice prompting.
Photographing unit 34, for taking pictures after receiving the confirmation instruction of the voice prompting of taking pictures.
When the distance detected reaches pre-determined distance value, voice alerting unit 33 carries out voice prompting of taking pictures, such as " opens
Beginning takes pictures, OK? ", user is according to voice prompting, and stopping immediately acting, and replys " OK ", and photographing unit 34 is according to voice of taking pictures
The confirmation of prompt instructs, and takes pictures.
By the interactive voice between terminal and user, the user experience of terminal is enhanced, and the user to take pictures can be allowed to have
Sufficient preparation, avoids taking fuzzy image.
Determination unit 35, for according to the corresponding relationship between at least one preset distance value and image imaging effect,
Determine image imaging effect corresponding at a distance from detecting.
Processing unit 36, for handling image imaging when taking pictures according to determining described image imaging effect.
Determination unit 34, the function of processing unit 35 respectively with the determination unit of embodiment illustrated in fig. 5 23, processing unit 24
Identical, details are not described herein.
A kind of terminal provided according to embodiments of the present invention passes through detection terminal and user when terminal is under photographing mode
Distance take pictures when terminal reaches pre-determined distance value at a distance from user, press button of taking pictures again without user, can
To reduce operation when user takes pictures, customer satisfaction system image is taken;And can according to the actually detected user arrived and terminal away from
From value, handle the image come is taken, can further decorative image, obtain the more satisfied image of user.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with
It is realized with hardware realization or firmware realization or their combination mode.It when implemented in software, can be by above-mentioned function
Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.Meter
Calculation machine readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another
Any medium of a place transmission computer program.Storage medium can be any usable medium that computer can access.With
For this but be not limited to: computer-readable medium may include random access memory (Random Access Memory,
RAM), read-only memory (Read-Only Memory, ROM), Electrically Erasable Programmable Read-Only Memory (Electrically
Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in
Carry or storage have instruction or data structure form desired program code and can by computer access any other
Medium.Furthermore.Any connection appropriate can become computer-readable medium.For example, if software is using coaxial cable, light
Fine optical cable, twisted pair, Digital Subscriber Line (Digital SubscriberLine, DSL) or such as infrared ray, radio and micro-
The wireless technology of wave etc is transmitted from website, server or other remote sources, then coaxial cable, optical fiber cable, multiple twin
The wireless technology of line, DSL or such as infrared ray, wireless and microwave etc includes in the fixing of affiliated medium.Such as the present invention
Used, disk (Disk) and dish (disc) include compression optical disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), soft
Disk and Blu-ray Disc, the usually magnetic replicate data of which disk, and dish is then with laser come optical replicate data.Combination above
It should also be as including within the protection scope of computer-readable medium.
In short, being not intended to limit of the invention the foregoing is merely the preferred embodiment of technical solution of the present invention
Protection scope.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in
Within protection scope of the present invention.