CN104683677B - Increase the system and method for voice description for photo - Google Patents
Increase the system and method for voice description for photo Download PDFInfo
- Publication number
- CN104683677B CN104683677B CN201310611258.0A CN201310611258A CN104683677B CN 104683677 B CN104683677 B CN 104683677B CN 201310611258 A CN201310611258 A CN 201310611258A CN 104683677 B CN104683677 B CN 104683677B
- Authority
- CN
- China
- Prior art keywords
- photo
- audio
- electronic device
- hand
- mobile electronic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
A method of increasing voice description for photo, comprising: open camera and microphone, recording function is called to start to record;The time for needing the recording saved is set, interim memory is opened up;Shutter is pressed, shooting is completed, the first audio stream is deposited to audio file;Continue to record, the second audio stream is deposited to the audio file, and the audio file is deposited to the storage device of hand-hold mobile electronic device;Audio file and photo are named as identical filename, and suffix is different;Extra information field is added in the file header of the photo, and the information field is written into its store path information, and the photo is saved to the storage device of the hand-hold mobile electronic device.The present invention also provides a kind of systems for increasing voice description for photo.Using the present invention, family can be used and hear the voice recorded when taking pictures while browsing photo, brings endless fine memory and laughter to user.
Description
Technical field
The present invention relates to a kind of system and methods for increasing voice description for photo.
Background technique
People when taking pictures, generally can all have it is some interacted with environment or with people, for example when taking pictures to others, her can be teased
It laughs at, him can be allowed to pose, these voices can be recorded, as speech explanation when oneself shooting this photo.In these
Hold, many enjoyment can be brought when browsing photo afterwards.Although video recording also can achieve similar effect, resolution ratio, from
Dynamic white balance, auto-focusing, flash glint etc. can not also facilitate not as photo when browsing in picture library compared with photo.
Hope is brought for photo increase voice for the sound photo of these problems and being announced to the world splendidly for whip application, still
In whip application, field speech when taking pictures can only cannot be recorded in photo later dubbing;Although and sound photo is into answering
With just automatically beginning to record, but user cannot time for starting of oneself control recording.The photo that such application simultaneously obtains is necessary
It can just be checked by special application or specific website, arbitrarily cannot can share and transmit as common photo.
Summary of the invention
In view of the foregoing, it is necessary to a kind of method for increasing voice description for photo be provided, family can be used and browsing
The voice recorded when taking pictures is heard while photo, brings endless fine memory and laughter to user.
In view of the foregoing, there is a need to provide a kind of system for increasing voice description for photo.
A kind of system increasing voice description for photo, installs and runs on hand-hold mobile electronic device, the system packet
It includes:
Recording module calls recording function to start to record after opening camera and microphone;Setup module, for mentioning
For a set interface, the record length for needing to save by interface setting;The setup module is also used to described hand-held
The interim memory of a preservation audio stream is opened up in the storage device of action electronic device;Preserving module presses shutter for working as
When, the first audio stream being temporarily stored into interim memory is saved to audio file;The preserving module is also used to press fast
The second audio stream generated behind the door is saved into the interim memory and audio file, and the audio file is saved to described
The storage device of hand-hold mobile electronic device;Module is named, for the audio file and captured photo to be named as phase
Same filename, and suffix is different;The preserving module is also used to that additional information word is added in the file header of the photo
The store path information of the audio file is written the information field, and the photo is saved to the hand-held row by section
The storage device of dynamic electronic device.
A method of increasing voice description for photo, method includes the following steps:
(a) camera and microphone for opening hand-hold mobile electronic device call recording function to start to record;(b) setting needs
The time for the recording to be saved, and open up interim memory;(c) shutter is pressed, photograph taking is completed, by what is kept in interim memory
First audio stream is saved into audio file;(d) continue to record, fast the second audio stream behind the door will be pressed and follow first sound closely
Frequency stream is saved into the audio file, and the audio file is saved to the storage dress of the hand-hold mobile electronic device
It sets;(e) audio file and captured photo are named as identical filename, and suffix is different;(f) in the photo
File header in be added extra information field, and the information field is written into the store path information of the audio file, and
The photo is saved to the storage device of the hand-hold mobile electronic device.
Compared to the prior art, the system and method provided by the invention for increasing voice description for photo, solves user
The problem at the beginning of voice at scene can not be recorded in real time while taking pictures and be unable to control recording, shines user in browsing
It can play live recording when taking pictures when piece, voice photo of the present invention need not pass through special application or ad hoc networks
Standing can check, user is allow arbitrarily to share and transmit.
Detailed description of the invention
Fig. 1 is the running environment architecture diagram that the present invention is the system preferred embodiment that photo increases voice description.
Fig. 2 is the process of the preferred embodiment for the shooting recording photo that the present invention is the method that photo increases voice description
Figure.
Fig. 3 is that the ideal of preferred embodiment for the shooting voice photo that the present invention is the method that photo increases voice description is clapped
According to pattern diagram.
Fig. 4 is the general bat of the preferred embodiment for the shooting voice photo that the present invention is the method that photo increases voice description
According to pattern diagram.
Fig. 5 is the quick bat of the preferred embodiment for the shooting voice photo that the present invention is the method that photo increases voice description
According to pattern diagram.
Fig. 6 is the flow chart for the browsing recording photo preferred embodiment that the present invention is the method that photo increases voice description.
Main element symbol description
Hand-hold mobile electronic device 1
Increase the system 10 of voice description for photo
Display device 11
Storage device 12
Processor 13
Recording module 101
Setup module 102
Preserving module 103
Name module 104
Read module 105
Playing module 106
The present invention that the following detailed description will be further explained with reference to the above drawings.
Specific embodiment
As shown in fig.1, being the application environment frame that the present invention is 10 preferred embodiment of system that photo increases voice description
Composition.Described is that photo increases the installation of system 10 of voice description and runs on hand-hold mobile electronic device 1.The hand
Holding action electronic device 1 further includes, but is not limited only to, display device 11, storage device 12 and processor 13.
The hand-hold mobile electronic device 1 can be mobile phone, digital camera, personal digital assistant (Personal
Digital Assistant), palm PC etc..The storage device 12 can be the interior of hand-hold mobile electronic device 1 itself
It deposits, can also be external memory card, such as SM card (Smart Media Card, smart media card), SD card (Secure Digital
Card, safe digital card), CF card (Compact Flash Card, standard flash memory card) TF card (Trans Flash Card) etc..
It is described be photo increase voice description system 10(hereinafter referred to as " system ") include recording module 101,
Setup module 102, preserving module 103, name module 104, read module 105 and playing module 106.The so-called function of the present invention
Can module refer to and a kind of performed by the processor 13 by hand-hold mobile electronic device 1 and can complete the one of fixed function
Series of programs instruction segment is stored in the storage device 12 of hand-hold mobile electronic device 1.The functional module 101-106's
Concrete function will be described in detail in the flow chart of Fig. 2 later and Fig. 3.
As shown in fig.2, being the preferable implementation for the shooting voice photo that the present invention is the method that photo increases voice description
The flow chart of example.By step S11 to step S18, the voice at scene can not be recorded in real time while taking pictures by solving user
And it is unable to control problem at the beginning of recording.
Step S11 when taking pictures, opens camera and microphone, and the recording module 101 calls recording function to start to record.
Step S12, the setup module 102 provide a set interface, the recording for needing to save by interface setting
Time, and then an interim memory is opened up in storage device 12 according to the record length of setting.
For example, setting N+M second recording holding times (M, N are natural number), that is, save press fastly in front of the door N seconds with press shutter
Recording in M seconds afterwards.The setup module 102 opens up the interim memory of N seconds audio streams of a preservation in storage device 12 simultaneously.
During taking pictures, the audio stream for generation of recording is saved to the interim memory, and when the time exceeds N seconds, new audio stream adds
In the tail portion of the N seconds audio flow queue, old audio stream is moved out of interim memory, is faced with the principle continuous renewal of first in first out
When memory in audio stream, until user terminates to take pictures.
Step S13, user press shutter, and photograph taking is completed.The preserving module 103 is by the first sound in interim memory
Frequency stream is saved into audio file.The N seconds audio streams mentioned in first audio stream, that is, step S12.If user mentions
Before press shutter, the audio stream in the interim memory is there is no shutter at N seconds, is subject to, by the sound in the interim memory
Frequency stream is denoted as the first audio stream, is stored in the audio file.
Step S14, the recording module 101 continue to record, and the preserving module 103 will press fast the second audio behind the door
Stream follows first audio stream closely and saves into audio file and interim memory, and the audio file is saved to storage device
12.The M seconds audio streams mentioned in second audio stream, that is, step S12.
As shown in Figure 5, it is noted that if not arriving M seconds, user just presses shutter again, then in the preserving module
Audio stream in 103 interim memories is denoted as the first new audio stream (i.e. N2Second audio stream) the new audio file of deposit
After (i.e. audio file 2), by the second new audio stream (i.e. M2Audio stream) be stored in the new audio file while, continuing will be old
The second audio stream (i.e. M1Audio stream) it is stored in old audio file (i.e. audio file 1), terminated until M seconds.
Step S15, the name module 104 by the audio file with press photo captured by shutter be named as it is identical
Filename, and suffix is different.
Extra information field is added in the file header of the photo in step S16, the preserving module 103, by the sound
The information field is written in the store path information of frequency file, and the photo is saved to storage device 12.
Step S17, user consider whether to continue to take pictures, when decide to continue with take pictures when, return step S13, otherwise enter step
Rapid S18.
Step S18, when user decides not to take pictures, what the release of setup module 102 was opened up in storage device 12 faces
When memory, recording module 101 stops recording, and user closes camera and microphone.
Specifically, when user takes pictures, in fact it could happen that such as Fig. 3, Fig. 4 and three kinds of situations shown in fig. 5.As shown in fig.3,
It is the ideal photographing mode of the preferred embodiment for the shooting voice photo that the present invention is the method that photo increases voice description, that is, uses
Family strictly observes the time being arranged in the step S12 and takes pictures: when taking pictures, user opens microphone and camera, ability after N second
It presses shutter and does not press shutter again within the M second later, undergo the step S11 to step S18, by the audio text
Part preservation finishes, and again waits for N seconds, carries out taking pictures next time.Preceding primary bat when continuously taking pictures, under this photographing mode
It is not influenced according on rear once photo taking, the audio file of generation is mutually indepedent, without intersection, the effect of the voice photo of shooting
Fruit is ideal.
As shown in fig.4, being the preferable implementation for the shooting voice photo that the present invention is the method that photo increases voice description
After the general photographing mode of example, i.e. user save previous audio file, there is no wait N seconds time just again
Press shutter.Then as shown in N2 seconds audio streams in figure, first audio stream of rear once photo taking includes partially or even complete
The second audio stream (M1 seconds audio stream i.e. as shown in the figure) of once photo taking before portion.When continuously taking pictures, this photographing mode is generated
Audio file have small part coincidence, the effect of the voice photo of shooting is general.
As shown in fig.5, being the preferable implementation for the shooting voice photo that the present invention is the method that photo increases voice description
The snapshots mode of example, i.e. user continuously quickly take pictures: when taking pictures, user once presses fastly behind the door, immediately preceding
Press shutter again, such as N in figure2Shown in second audio stream, rear the first audio stream of audio file includes that preceding audio file is whole
The content of the first audio stream of second audio stream and part.When continuously taking pictures, the audio file that this photographing mode generates is repeated
Part is more, and the effect of the voice photo of shooting is fine.
As shown in fig.6, being the preferable implementation for the browsing voice photo that the present invention is the method that photo increases voice description
The flow chart of example.
Step S21, user are browsed in storage device 12 by the display device 11 of the hand-hold mobile electronic device 1
Photo.
Step S22, the read module 105 read the file header extra information field information of the photo.
Step S23, the read module 105 judge whether there is the storage of audio file identical with the photo name
Routing information.
Step S24, when read module 105 is unread arrives the audio files storage routing information, the playing module
106 directly show photo in display device 11.
Step S25, when read module 105 reads the audio files storage routing information, the playing module 106
The photo is shown in display device 11 and increases an audio play button on photo.
Step S26, user click the audio play button, and playing module 106 calls described in the broadcasting of audio play function
Audio file.
S21 to step S26 through the above steps makes user can play live recording when taking pictures when browsing photo,
And voice photo of the present invention need not can just be checked by special application or specific website, arbitrarily can be shared and be passed
It passs.
The above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although referring to preferred embodiment to this hair
It is bright to be described in detail, those skilled in the art should understand that, it can modify to technical solution of the present invention
Or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. a kind of system for increasing voice description for photo, runs in hand-hold mobile electronic device, which is characterized in that the system
Include:
Recording module calls recording function to start to record after opening camera and microphone;
The record length for needing to save is arranged by the interface for providing a set interface in setup module;
The setup module is also used to open up a preservation audio stream in the storage device of the hand-hold mobile electronic device
Interim memory;
Preserving module, for upon depression of the shutter, the first audio stream being temporarily stored into interim memory to be saved to audio file;
The preserving module is also used to press the second audio stream generated behind the door fastly and saves to the interim memory and audio text
In part, and the audio file is saved to the storage device of the hand-hold mobile electronic device;
Module is named, for the audio file and captured photo to be named as identical filename, and suffix is different;
The preserving module is also used to that extra information field is added in the file header of the photo, by the audio file
The information field is written in store path information, and the photo is saved to the storage dress of the hand-hold mobile electronic device
It sets.
2. increasing the system of voice description for photo as described in claim 1, which is characterized in that the preserving module is also used to
When pressing shutter, the first audio stream holding time that the audio stream kept in the interim memory is arranged in insufficient setup module
When, it is subject to and presses shutter, the audio stream kept in the interim memory is denoted as the first audio stream, is deposited to audio file.
3. increasing the system of voice description for photo as described in claim 1, which is characterized in that the interim memory is root
It is opened up according to the record length being arranged in setup module.
4. increasing the system of voice description for photo as described in claim 1, which is characterized in that the system further include:
Read module when for browsing photo in the display device of the hand-hold mobile electronic device, reads the photo text
Audio files storage routing information in part head extra information field;
Playing module, for increasing an audio play button on the photo when showing photo in a display device, and
When clicking the audio play button, audio play function is called to play the audio file.
5. increasing the system of voice description for photo as claimed in claim 4, which is characterized in that the playing module is also used to
When the audio files storage routing information is not present, directly shown in the display device of the hand-hold mobile electronic device
Photo.
6. a kind of method for increasing voice description for photo, which is characterized in that method includes the following steps:
(a) camera and microphone for opening hand-hold mobile electronic device call recording function to start to record;
(b) time for the recording that setting needs to save, and open up interim memory;
(c) shutter is pressed, photograph taking is completed, and the first audio stream kept in interim memory is saved into audio file;
(d) continue to record, fast the second audio stream behind the door will be pressed follow first audio stream closely and save to the audio file
In, and the audio file is saved to the storage device of the hand-hold mobile electronic device;
(e) audio file and captured photo are named as identical filename, and suffix is different;
(f) extra information field is added in the file header of the photo, and the store path information of the audio file is write
Enter the information field, and the photo is saved to the storage device of the hand-hold mobile electronic device.
7. increasing the method for voice description for photo as claimed in claim 6, which is characterized in that in the step c, when pressing
Shutter when the first audio stream holding time of the audio stream deficiency setting kept in the interim memory, is subject to and presses shutter,
The audio stream kept in the interim memory is denoted as the first audio stream, is deposited to audio file.
8. increasing the method for voice description for photo as claimed in claim 6, which is characterized in that the interim memory is root
It is opened up according to the record length of setting.
9. increasing the method for voice description for photo as claimed in claim 6, which is characterized in that this method further include:
(g) when user needs to continue to take pictures, otherwise return step c enters step h;
(h) when user needs not continue to take pictures, interim memory is discharged, and stops recording, closes camera and microphone.
10. increasing the method for voice description for photo as claimed in claim 6, which is characterized in that this method further include:
(i) hand-hold mobile electronic device is opened, photo is browsed;
(j) the file header extra information field information of the photo is read;
(k) when in file header, there are when the store path information of the audio file, the hand-hold mobile electronic device shows institute
Photo is stated, and increases an audio play button on the photo;
(l) audio play button is clicked, the hand-hold mobile electronic device calls audio play function to play the audio
File;
(m) when the store path information of the audio file is not present in file header, the hand-hold mobile electronic device is direct
Show the photo.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310611258.0A CN104683677B (en) | 2013-11-26 | 2013-11-26 | Increase the system and method for voice description for photo |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310611258.0A CN104683677B (en) | 2013-11-26 | 2013-11-26 | Increase the system and method for voice description for photo |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104683677A CN104683677A (en) | 2015-06-03 |
CN104683677B true CN104683677B (en) | 2019-06-18 |
Family
ID=53318190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310611258.0A Active CN104683677B (en) | 2013-11-26 | 2013-11-26 | Increase the system and method for voice description for photo |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104683677B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106610982A (en) * | 2015-10-22 | 2017-05-03 | 中兴通讯股份有限公司 | Media file generation method and apparatus |
CN107094237B (en) * | 2017-06-21 | 2019-12-10 | 深圳传音通讯有限公司 | photographing method, device and equipment |
CN107395846B (en) * | 2017-07-07 | 2019-07-30 | 珠海格力电器股份有限公司 | A kind of voice and photograph album correlating method and its device, user terminal |
CN109300177B (en) * | 2017-07-24 | 2024-01-23 | 中兴通讯股份有限公司 | Picture processing method and device |
CN110313174B (en) * | 2019-05-15 | 2021-09-28 | 深圳市大疆创新科技有限公司 | Shooting control method and device, control equipment and shooting equipment |
CN111191068A (en) * | 2019-12-27 | 2020-05-22 | 上海擎感智能科技有限公司 | Mood statistical method, system, medium and device based on picture |
CN113747098B (en) * | 2021-07-30 | 2023-04-07 | 荣耀终端有限公司 | Photo file generation method with audio identification, photo display method and equipment |
CN116800877A (en) * | 2022-03-17 | 2023-09-22 | 华为技术有限公司 | Picture processing method and related equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0654247A (en) * | 1992-07-28 | 1994-02-25 | Olympus Optical Co Ltd | Camera |
US6327423B1 (en) * | 1997-04-18 | 2001-12-04 | Nikon Corporation | Information processing apparatus and recording medium |
JP2007235432A (en) * | 2006-02-28 | 2007-09-13 | Casio Comput Co Ltd | Image sound recorder and image sound recording control program |
TWM354097U (en) * | 2007-11-26 | 2009-04-01 | Chi-Lin Hong | Camera with radio device |
CN101783858A (en) * | 2009-01-19 | 2010-07-21 | 洪奇麟 | Photo taking device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4066378B2 (en) * | 2004-09-01 | 2008-03-26 | ソニー株式会社 | Recording / reproducing apparatus and control method thereof |
JP5117280B2 (en) * | 2008-05-22 | 2013-01-16 | 富士フイルム株式会社 | IMAGING DEVICE, IMAGING METHOD, REPRODUCTION DEVICE, AND REPRODUCTION METHOD |
-
2013
- 2013-11-26 CN CN201310611258.0A patent/CN104683677B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0654247A (en) * | 1992-07-28 | 1994-02-25 | Olympus Optical Co Ltd | Camera |
US6327423B1 (en) * | 1997-04-18 | 2001-12-04 | Nikon Corporation | Information processing apparatus and recording medium |
JP2007235432A (en) * | 2006-02-28 | 2007-09-13 | Casio Comput Co Ltd | Image sound recorder and image sound recording control program |
TWM354097U (en) * | 2007-11-26 | 2009-04-01 | Chi-Lin Hong | Camera with radio device |
CN101783858A (en) * | 2009-01-19 | 2010-07-21 | 洪奇麟 | Photo taking device |
Also Published As
Publication number | Publication date |
---|---|
CN104683677A (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104683677B (en) | Increase the system and method for voice description for photo | |
WO2019192351A1 (en) | Short video capture method, device and electronic terminal | |
WO2017177768A1 (en) | Information processing method, terminal, and computer storage medium | |
CN104169913B (en) | A kind of picture display method and device, terminal device | |
CN106412645B (en) | To the method and apparatus of multimedia server uploaded videos file | |
WO2017148442A1 (en) | Audio and video processing method and apparatus, and computer storage medium | |
CN105009599A (en) | Automatic identification of a notable moment | |
CN104125388B (en) | A kind of method and apparatus for shooting and storing photograph | |
US9900497B2 (en) | System and method for preserving video clips from a handheld device | |
US9888176B2 (en) | Video apparatus and photography method thereof | |
CN115002340A (en) | Video processing method and electronic equipment | |
WO2017157135A1 (en) | Media information processing method, media information processing device and storage medium | |
CN106331479B (en) | Video processing method and device and electronic equipment | |
CN109583514A (en) | A kind of image processing method, device and computer storage medium | |
CN104980719A (en) | Image processing method, image processing apparatus and electronic equipment | |
CN108257198B (en) | Method and system for electronizing paper picture book | |
CN110913138B (en) | Continuous shooting method, device, terminal and computer readable storage medium | |
WO2014110055A1 (en) | Mixed media communication | |
WO2012065567A1 (en) | Conversion method and apparatus of text message | |
CN104754268B (en) | Record the method and device of inverted order video | |
CN114466283A (en) | Audio acquisition method and device, electronic equipment and peripheral component method | |
TWI465929B (en) | Distributing collaborative computer editing system | |
WO2017185338A1 (en) | Audio-video file generation method and apparatus | |
WO2016188304A1 (en) | Photographing method and device | |
WO2022213974A1 (en) | Auxiliary image capture methods and apparatuses for pets |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |