Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a photographing method and a mobile terminal, which can automatically photograph at the best photographing time point when a photographer follows and reads a prompt tone. The following examples are each to be construed in detail.
Referring to fig. 1, fig. 1 is a flowchart illustrating a photographing method according to an embodiment of the present invention. As shown in fig. 1, the photographing method may include the steps of:
s101: determining the best shooting time point of a shot object when the shot object follows and reads the prompt tone;
specifically, in one embodiment of the present invention, the optimum shooting time point of the subject when following the alert tone can be determined according to the pitch change of the alert tone, alternatively, the optimum shooting time point of the photographer when following the alert sound may be determined according to the volume change of the alert sound, for example, when the prompt tone is "nice", the waveform diagram of the volume of the prompt tone is shown in fig. 2, as can be seen from fig. 2, the "nice" character and the "good" character each have a volume peak, the time when the prompt tone is just played can be set to 0, the time when the "good" word just uttered is t1, the time when the sound volume of the "good" word reaches the peak is t2, and the waveform when the user follows and reads "good" can also be as shown in fig. 2, that is, the time point when the microphone just detects that the user starts to follow the reading is set to 0, and then the time when the volume of the "good" word reaches the peak is also t 2; since the sound wave detection and the camera photographing are delayed, if the photographing time point is automatically selected, the user can be selected to photograph in the process that the sound volume rises to the peak when reading the 'good' word, that is, to photograph automatically at the time point between t1 and t 2. In another embodiment of the present invention, the optimal photographing time point may be set by a user training in advance, that is, the user exercises follow-up reading in advance, determines which sound the mouth corner is in a smiling state and marks the sound, for example, when the photographer reads the cue sound, photographs of a plurality of persons to be photographed are taken in succession, a selection signal of the user for one or at least two of the photographs of the plurality of persons to be photographed (that is, one or at least two photographs with the best facial effect are selected by the user) is received, and then the optimal photographing time point of the person to be photographed when the subject starts to follow-up reading the cue sound may be determined according to the photographing time point when the selected one or at least two photographs start to follow-up reading the cue sound with respect to the person to be photographed.
S102: playing the prompt tone to enable the shot person to follow the prompt tone;
specifically, after determining the best shooting time point when the photographer follows the cue tone (e.g., "nice"), the cue tone may be played so that the photographer follows the cue tone.
S103: monitoring the follow-up reading of the prompt tone by the shot person, and shooting the shot person according to the best shooting time point;
specifically, the follow-up of the subject to the alert tone may be monitored through the microphone, and the subject may be automatically photographed according to the best photographing time point of the alert tone (e.g., "nice") determined in step S101 when being followed up, so that the best smiling face effect of the subject may be automatically photographed.
In the photographing method provided in fig. 1, the best photographing time point of the photographed person when reading the cue tone can be determined, the cue tone is played to make the photographed person read the cue tone, the photographed person can monitor the reading of the cue tone, and the photographed person can be photographed according to the best photographing time point, so that the photographed person can be photographed automatically at the best photographing time point when the photographed person reads the cue tone, the best smiling face effect can be obtained, and the user experience can be improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating another photographing method according to an embodiment of the invention. As shown in fig. 3, the photographing method may include the steps of:
s301: receiving a control signal for setting a prompt tone, and setting an interesting word or an audio file associated with the interesting word as the prompt tone;
specifically, people do not need to yell with wind to the so-called "eggplant" and "eggplant" can be replaced with other interesting words, such as "hit" in japanese (meaning "hello"), interesting foreign languages such as "Let's go", "very good", "Oh my good" in english, and of course, rich chinese phrases, idioms, posters, and lingers. These interesting words and sentences or audio files related to the interesting words and sentences can be stored in the mobile terminal in advance, and when a user selects a certain interesting word and sentence or audio file related to the interesting word and sentence and clicks a photographing button, the mobile terminal can display the selected interesting word and sentence on the screen and play the foreign sound at the same time.
S302: determining the best shooting time point of a shot object when the shot object follows and reads the prompt tone;
specifically, in one embodiment of the present invention, the optimum shooting time point of the subject when following the alert tone can be determined according to the pitch change of the alert tone, alternatively, the optimum shooting time point of the photographer when following the alert sound may be determined according to the volume change of the alert sound, for example, when the prompt tone is "nice", the waveform diagram of the volume of the prompt tone is shown in fig. 2, as can be seen from fig. 2, the "nice" character and the "good" character each have a volume peak, the time when the prompt tone is just played can be set to 0, the time when the "good" word just uttered is t1, the time when the sound volume of the "good" word reaches the peak is t2, and the waveform when the user follows and reads "good" can also be as shown in fig. 2, that is, the time point when the microphone just detects that the user starts to follow the reading is set to 0, and then the time when the volume of the "good" word reaches the peak is also t 2; since the sound wave detection and the camera photographing are delayed, if the photographing time point is automatically selected, the user can be selected to photograph in the process that the sound volume rises to the peak when reading the 'good' word, that is, to photograph automatically at the time point between t1 and t 2. In another embodiment of the present invention, the optimal photographing time point may be set by a user training in advance, that is, the user exercises follow-up reading in advance, determines which sound the mouth corner is in a smiling state and marks the sound, for example, when the photographer reads the cue sound, photographs of a plurality of persons to be photographed are taken in succession, a selection signal of the user for one or at least two of the photographs of the plurality of persons to be photographed (that is, one or at least two photographs with the best facial effect are selected by the user) is received, and then the optimal photographing time point of the person to be photographed when the subject starts to follow-up reading the cue sound may be determined according to the photographing time point when the selected one or at least two photographs start to follow-up reading the cue sound with respect to the person to be photographed.
S303: determine whether the automatic photographing mode is on?
Specifically, when the automatic photographing mode is determined to be turned on, the process goes to step S304; when the automatic photographing mode is not turned on, the process goes to step S306.
S304: playing the prompt tone to enable the shot person to follow the prompt tone;
specifically, after determining the best shooting time point when the photographer follows the cue tone (e.g., "nice"), the cue tone may be played so that the photographer follows the cue tone; the interesting words and sentences can be played through Text To Speech (TTS) technology, or audio files associated with the interesting words and sentences can be played, so that the shooter can follow the interesting words and sentences. It should be noted that, in addition to the optimum shooting time point when the subject follows the alert sound before the shooting, the optimum shooting time point when the subject follows the alert sound may be determined according to the volume trend or the pitch change of the alert sound when the alert sound is directly played in step S304.
S305: monitoring the follow-up reading of the prompt tone by the shot person, and shooting the shot person according to the best shooting time point;
specifically, the follow-up of the subject to the alert tone may be monitored through the microphone, and the subject may be automatically photographed according to the best photographing time point of the alert tone (e.g., "nice") determined in step S302 when being followed up, so that the best smiling face effect of the subject may be automatically photographed.
S306: playing the prompt tone to enable the shot person to follow the prompt tone;
specifically, after determining the best shooting time point when the photographer follows the cue tone (e.g., "nice"), the cue tone may be played so that the photographer follows the cue tone; the interesting words and sentences can be played through Text To Speech (TTS) technology, or audio files associated with the interesting words and sentences can be played, so that the shooter can follow the interesting words and sentences.
S307: receiving a control instruction of manually taking a picture by a user so as to take a picture of a person to be taken;
specifically, when the photographer follows the alert tone, the user (i.e., photographer) can manually press the shutter at his or her own judgment to photograph the photographer.
In the photographing method provided in fig. 3, different alert tones can be selected, the best photographing time point of the photographer when reading the alert tone with him is determined, the alert tone is played so that the photographer can read with him, the reading with him of the alert tone by the photographer is monitored, and the photographer is photographed according to the best photographing time point, so that the photographer can automatically photograph at the best photographing time point when reading with him of the alert tone, the best smiling face effect is photographed, and the user experience is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 4, the mobile terminal 40 may include a photographing time point determining module 401, an alert tone playing module 402, and a photographing module 403, wherein:
a shooting time point determining module 401, configured to determine an optimal shooting time point when the photographer follows the prompt tone; specifically, in one embodiment of the present invention, the optimum shooting time point of the photographer when following the alert tone can be determined based on the pitch change of the alert tone, alternatively, the optimum shooting time point of the photographer when following the alert sound may be determined according to the volume change of the alert sound, for example, when the prompt tone is "nice", the waveform diagram of the volume of the prompt tone is shown in fig. 2, as can be seen from fig. 2, the "nice" character and the "good" character each have a volume peak, the time when the prompt tone is just played can be set to 0, the time when the "good" word just uttered is t1, the time when the sound volume of the "good" word reaches the peak is t2, and the waveform when the user follows and reads "good" can also be as shown in fig. 2, that is, the time point when the microphone just detects that the user starts to follow the reading is set to 0, and then the time when the volume of the "good" word reaches the peak is also t 2; since the sound wave detection and the camera photographing are delayed, if the photographing time point is automatically selected, the user can be selected to photograph in the process that the sound volume rises to the peak when reading the 'good' word, that is, to photograph automatically at the time point between t1 and t 2. In another embodiment of the present invention, the optimal photographing time point may be set by a user training in advance, that is, the user exercises follow-up reading in advance, determines which sound the mouth corner is in a smiling state and marks the sound, for example, when the photographer reads the cue sound, photographs of a plurality of persons to be photographed are taken in succession, a selection signal of the user for one or at least two of the photographs of the plurality of persons to be photographed (that is, one or at least two photographs with the best facial effect are selected by the user) is received, and then the optimal photographing time point of the person to be photographed when the subject starts to follow-up reading the cue sound may be determined according to the photographing time point when the selected one or at least two photographs start to follow-up reading the cue sound with respect to the person to be photographed.
An alert tone playing module 402, configured to play an alert tone so that the photographer follows the alert tone; specifically, after determining the best shooting time point when the photographer follows the cue tone (e.g., "nice"), the cue tone may be played so that the photographer follows the cue tone; the interesting words and sentences can be played through TTS technology, or audio files related to the interesting words and sentences can be played, so that the shooter can follow the interesting words and sentences. It should be noted that, in addition to the optimum shooting time point when the photographer reads the alert sound immediately before photographing, the shooting time point determining module 401 may determine the optimum shooting time point when the photographer reads the alert sound immediately when the alert sound playing module 402 plays the alert sound according to the volume trend or the pitch change of the alert sound.
The shooting module 403 is configured to monitor the follow-up reading of the prompt tone by the photographer, and photograph the photographer according to the best shooting time point obtained by the shooting time point determination module 401; specifically, the following reading of the alert tone by the photographer can be monitored through the microphone, and the photographer can be automatically photographed according to the best shooting time point when the alert tone (e.g., "nice") determined by the shooting time point determining module 401 is followed up, so that the best smiling face effect of the photographer can be automatically photographed.
Wherein, the best time point of shooing when the mobile terminal that figure 4 provided can confirm by the shooter and follow and read the warning sound, broadcast the warning sound so that by the shooter follow and read the warning sound, monitor by the shooter to follow and read of warning sound to according to best time point of shooing, shoot by the shooter, thereby can be by the shooter with follow and read the best time point of shooing when warning sound and carry out automatic shooting, shoot out the best smiling face effect, and improve user experience.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. The mobile terminal 50 shown in fig. 5 is optimized by the mobile terminal 40 shown in fig. 4. In the mobile terminal 50 shown in fig. 5, the mobile terminal further includes a cue tone setting module 501, and the shooting time point determining module 401 further includes a first determining unit 4011, a second determining unit 4012, and a third determining unit 4013, the third determining unit 4013 further includes a first sub-unit 40131, a second sub-unit 40132, and a third sub-unit 40133, and the cue tone playing module 402 further includes a first playing unit 4021 and a second playing unit 4022, wherein:
a prompt tone setting module 501, configured to receive a control signal for setting a prompt tone, and set an interesting word or an audio file associated with the interesting word as a prompt tone; specifically, people do not need to yell with wind to the so-called "eggplant" and "eggplant" can be replaced with other interesting words, such as "hit" in japanese (meaning "hello"), interesting foreign languages such as "Let's go", "very good", "Oh my good" in english, and of course, rich chinese phrases, idioms, posters, and lingers. These interesting words or audio files related to the interesting words may be stored in the mobile terminal 50 in advance, and when the user selects a certain interesting word or audio file related to the interesting word and clicks the photographing button, the mobile terminal 50 may display the selected interesting word on the screen and play the foreign sound at the same time.
Further, a first determination unit 4011 in the shooting time point determination module 401 is configured to determine an optimal shooting time point of the person to be shot when following the prompt tone according to the pitch change of the prompt tone; specifically, the pitch change of the cue tone may be detected by software or hardware that monitors the pitch change, and the optimum shooting time point may be determined when, for example, the pitch change waveform pattern peaks.
A second determination unit 4012 configured to determine an optimal shooting time point of the subject when reading the alert tone following, according to the pitch change of the alert tone; specifically, for example, when the alert sound is "nice", the waveform diagram of the volume of the alert sound is as shown in fig. 2, as can be seen from fig. 2, the "nice" word and the "good" word each have a volume peak, the time when the alert sound is just played can be set to 0, the time when the "good" word just sounds is t1, the time when the volume of the "good" word reaches the peak is t2, and the waveform diagram when the user reads after the "nice" can also be as shown in fig. 2, i.e., the time point when the microphone just detects that the user starts to read after is set to 0, and the time when the volume of the "good" word reaches the peak is t 2; since the sound wave detection and the camera photographing are delayed, if the photographing time point is automatically selected, the user can be selected to photograph in the process that the sound volume rises to the peak when reading the 'good' word, that is, to photograph automatically at the time point between t1 and t 2.
Further, the continuous shooting sub-unit 40131 in the third determination unit 4013 is configured to continuously shoot a plurality of photographs of the subject when the subject follows the cue tone.
A receiving unit 40132, configured to receive a selection signal from the user for one or at least two of the photos of the multiple subjects taken by the continuous shooting sub-unit 40131, that is, the one or at least two photos with the best facial effect are selected by the user.
The determining sub-unit 40133 is configured to determine an optimal shooting time point of the subject when the subject follows the reading of the cue tone according to the shooting time point of the selected one or at least two pictures relative to when the subject starts to follow the reading of the cue tone.
Further, the first playing unit 4021 in the prompt tone playing module 402 is configured to play the interesting word and phrase by using a TTS technique, so that the photographer can follow and read the interesting word and phrase.
The second playing unit 4022 is configured to play the audio file associated with the interesting words and phrases, so that the photographer can follow and read the relevant interesting words and phrases.
The mobile terminal provided by fig. 5 can select different prompt tones, determine the best shooting time point of the photographed person when reading the prompt tones, play the prompt tones so that the photographed person can read the prompt tones, monitor the reading of the prompt tones by the photographed person, and take a picture of the photographed person according to the best shooting time point, so that the photographed person can automatically shoot at the best shooting time point when the photographed person reads the prompt tones, the best smiling face effect is obtained, and the user experience is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. The mobile terminal 60 may include a processor 601, a camera 602, a speaker 603, a microphone 604, and a memory 605, wherein:
the processor 601 is connected to a camera 602, a speaker 603, a microphone 604 and a memory 605, respectively.
The processor 601 may be used to invoke the program stored in the memory 605 to perform the following operations:
the optimum shooting time point of the shot person when the shot person reads the prompt tone is determined, the prompt tone is played through the loudspeaker 603 so that the shot person reads the prompt tone, the shot person reads the prompt tone through the microphone 604 in a follow-up mode, and the shot person is shot through the camera 602 according to the optimum shooting time point when the prompt tone is read in a follow-up mode.
Further, the processor 601 may determine an optimal photographing time point of the photographer when following the alert tone according to the volume trend or the pitch change of the alert tone.
Further, the processor 601 may continuously take pictures of a plurality of subjects through the camera 602 when the subject follows the alert tone, receive a selection signal of the user for one or at least two of the pictures of the plurality of subjects, and determine an optimal shooting time point of the subject when the subject follows the alert tone according to a shooting time point when the selected one or at least two pictures start to follow the alert tone with respect to the subject.
Wherein, the best time point of shooing when following the reading of the warning tone by the shooter can be confirmed to the mobile terminal that figure 6 provided, the play warning tone is so that the shooter follows the reading of the warning tone, monitor and be followed the reading of the warning tone by the shooter, and according to best time point of shooing, shoot to the shooter, thereby can carry out automatic shooting at the best time point of shooter when following the reading of the warning tone, shoot out the best smiling face effect, and improve user experience.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules or units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs.
The photographing method and the mobile terminal provided by the embodiment of the invention are described in detail, a specific example is applied in the description to explain the principle and the implementation of the invention, and the description of the embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.