CN103916519A - Method and system for realizing audio play through camera and gyroscope - Google Patents
Method and system for realizing audio play through camera and gyroscope Download PDFInfo
- Publication number
- CN103916519A CN103916519A CN201210594257.5A CN201210594257A CN103916519A CN 103916519 A CN103916519 A CN 103916519A CN 201210594257 A CN201210594257 A CN 201210594257A CN 103916519 A CN103916519 A CN 103916519A
- Authority
- CN
- China
- Prior art keywords
- camera
- gyroscope
- audio frequency
- play
- gyro sensor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a method and system for realizing audio play through a camera and a gyroscope. The camera and the gyroscope can be used for capturing user motion, and play control can still be realized through the camera even if the gyroscope cannot work normally. The technical scheme is as follows: the system comprises a user motion capturing device and an audio play device. The user motion capturing device comprises a gyroscope sensor and a camera motion capturing device. The gyroscope sensor obtains data captured by the gyroscope and gives a corresponding logic feedback; the camera motion capturing device simulates the data captured by the gyroscope and gives a corresponding logic feedback; and the audio play device plays a corresponding audio file according to the received logic feedbacks.
Description
Technical field
The present invention relates to a kind of audio frequency broadcast mode, relate in particular to a kind of data according to camera and gyroscope seizure and realize the method and system that audio frequency is play.
Background technology
For example, music software in handheld device (mobile phone) is the switching that realizes broadcasting by the gyroscope chip of mobile phone.When user is in the time rocking mobile phone, capture this action, switch the song of playing.Make mistakes if the shortcoming of this switching mode is current gyroscope, just cannot use this function.
Summary of the invention
The object of the invention is to address the above problem, provide a kind of and realized by camera and gyroscope the method and system that audio frequency is play, can catch user action by camera and gyroscope, in the situation that gyroscope cannot normally be worked, also can realize and play manipulation by camera.
Technical scheme of the present invention is: the present invention has disclosed a kind of system that realizes audio frequency broadcasting by camera and gyroscope, comprises user action trap setting, audio playing apparatus, wherein:
User action trap setting comprises gyro sensor and camera motion capture device, wherein:
Gyro sensor, obtains the gyrostatic data that capture and makes corresponding logic feedback;
Camera motion capture device, simulates the gyrostatic data that capture and makes corresponding logic feedback;
Audio playing apparatus, plays corresponding audio file according to the logic feedback receiving.
According to an embodiment who realizes the system of audio frequency broadcasting by camera and gyroscope of the present invention, camera motion capture device continues repeatedly to absorb picture, in plurality of pictures, fix some points, calculate the side-play amount of these fixing points, the data that capture according to side-play amount simulation gyro sensor.
According to an embodiment who realizes the system of audio frequency broadcasting by camera and gyroscope of the present invention, system also comprises:
Network environment judgment means, be connected between user action trap setting and audio playing apparatus, judge whether current network environment connects normally, if normally filter out the interested audio frequency of user and be sent to client, select the local audio frequency of having downloaded to play if undesired.
According to an embodiment who realizes the system of audio frequency broadcasting by camera and gyroscope of the present invention, acquiescence gyro sensor is in running order, in the time that gyro sensor cannot normally be worked, camera motion capture device is switched to operating state.
The present invention has also disclosed a kind of method that realizes audio frequency broadcasting by camera and gyroscope, comprising:
Whether the gyroscope that judges handheld device is working properly, if normally catch data by gyroscope and make corresponding logic feedback, if the undesired camera that starts handheld device is simulated the gyrostatic data that capture and made corresponding logic feedback;
Handheld device is play corresponding audio file according to the logic feedback receiving.
According to an embodiment who realizes the method for audio frequency broadcasting by camera and gyroscope of the present invention, camera is simulated gyrostatic process and is comprised:
Camera continues repeatedly to absorb picture, fixes some points in plurality of pictures, calculates the side-play amount of these fixing points, the data that capture according to side-play amount simulation gyro sensor.
According to an embodiment who realizes the method for audio frequency broadcasting by camera and gyroscope of the present invention, before handheld device is according to the step of audio file corresponding to the logic feedback broadcasting receiving, also comprise:
Judge whether current network environment connects normally, if normally filter out the interested audio frequency of user and be sent to client, select the local audio frequency of having downloaded to play if undesired.
The present invention contrasts prior art following beneficial effect: the solution of the present invention is by camera and gyrostatic integrating capture user action, also can whether normally come playing network audio frequency or local audio according to current network environment.Compared to prior art, the present invention can be realized and be play manipulation by the action collection of camera in the situation that gyroscope cannot normally be worked, and can automatically select suitable broadcasting source according to network environment.
Accompanying drawing explanation
Fig. 1 shows the schematic diagram of realizing the first embodiment of the system of audio frequency broadcasting by camera and gyroscope of the present invention.
Fig. 2 shows the schematic diagram of realizing the second embodiment of the system of audio frequency broadcasting by camera and gyroscope of the present invention.
Fig. 3 shows the flow chart of realizing the first embodiment of the method for audio frequency broadcasting by camera and gyroscope of the present invention.
Fig. 4 shows the flow chart of realizing the second embodiment of the method for audio frequency broadcasting by camera and gyroscope of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
Fig. 1 shows the principle that realizes the first embodiment of the system of audio frequency broadcasting by camera and gyroscope of the present invention.Refer to Fig. 1, the system of the present embodiment comprises user action trap setting 1, audio playing apparatus 3.User action trap setting 1 comprises gyro sensor 10 and camera motion capture device 12.
Gyro sensor 10 obtains the gyrostatic data that capture and makes corresponding logic feedback.Camera motion capture device 12 is simulated the gyrostatic data that capture and is made corresponding logic feedback.The concrete action of camera motion capture device 12 is to continue repeatedly to absorb picture, fixes some points in plurality of pictures, calculates the side-play amount of these fixing points, the data that capture according to side-play amount simulation gyro sensor.Or can calculate user by the variable quantity of light to external world and whether shake mobile handset.Under default situations, gyro sensor 10 is in running order, in the time that gyro sensor 10 cannot normally be worked, camera motion capture device 12 is switched to operating state.
Audio playing apparatus 3 is play corresponding audio file according to the logic feedback receiving.
Fig. 2 shows the principle that realizes the second embodiment of the system of audio frequency broadcasting by camera and gyroscope of the present invention.Refer to Fig. 2, the system of the present embodiment comprises user action trap setting 2, network environment judgment means 4, audio playing apparatus 6.User action trap setting 2 comprises gyro sensor 20 and camera motion capture device 22.
Gyro sensor 20 obtains the gyrostatic data that capture and makes corresponding logic feedback.Camera motion capture device 22 is simulated the gyrostatic data that capture and is made corresponding logic feedback.The concrete action of camera motion capture device 22 is to continue repeatedly to absorb picture, fixes some points in plurality of pictures, calculates the side-play amount of these fixing points, the data that capture according to side-play amount simulation gyro sensor.Or can calculate user by the variable quantity of light to external world and whether shake mobile handset.Under default situations, gyro sensor 20 is in running order, in the time that gyro sensor 20 cannot normally be worked, camera motion capture device 22 is switched to operating state.
It is normal that network environment judgment means 4 judges whether current network environment mobile networks such as () such as Wifi, GPRS, 3G, LTE connects, if normally filter out the interested audio frequency of user and be sent to client, select the local audio frequency of having downloaded to play if undesired.That is if current in the normal situation of network environment, program captures user shaking mobile handset, can play the audio frequency that a first user may like according to user's hobby; If current without network environment, program such as captures user, shaking mobile handset (mobile phone, panel computer, PDA etc.), plays the first audio frequency that subscriber's local has been downloaded.
Audio playing apparatus 6 is play corresponding audio file according to the logic feedback receiving.
Fig. 3 shows the flow process that realizes the first embodiment of the method for audio frequency broadcasting by camera and gyroscope of the present invention.Referring to Fig. 3, is the detailed description of the implementation step of the method to the present embodiment below.
Step S10: whether the gyroscope that judges handheld device is working properly, if normally enter step S12, enters step S11 if undesired.
Step S11: start the camera of handheld device, simulate the gyrostatic data that capture and make corresponding logic feedback.
Camera is simulated gyrostatic process: camera continues repeatedly to absorb picture, fixes some points in plurality of pictures, calculates the side-play amount of these fixing points, the data that capture according to side-play amount simulation gyro sensor.Or can calculate user by the variable quantity of light to external world and whether shake mobile handset.
Step S12: catch data and make corresponding logic feedback by gyroscope.
Step S13: handheld device is play corresponding audio file according to the logic feedback receiving.
Fig. 4 shows the flow process that realizes the second embodiment of the method for audio frequency broadcasting by camera and gyroscope of the present invention.Referring to Fig. 4, is the detailed description of the implementation step of the method to the present embodiment below.
Step S20: whether the gyroscope that judges handheld device is working properly, if normally enter step S22, enters step S21 if undesired.
Step S21: start the camera of handheld device, simulate the gyrostatic data that capture and make corresponding logic feedback.
Camera is simulated gyrostatic process: camera continues repeatedly to absorb picture, fixes some points in plurality of pictures, calculates the side-play amount of these fixing points, the data that capture according to side-play amount simulation gyro sensor.Or can calculate user by the variable quantity of light to external world and whether shake mobile handset.
Step S22: catch data and make corresponding logic feedback by gyroscope.
Step S23: judge whether current network environment connects normally, if normally enter step S24, enter step S25 if undesired.
Step S24: filter out the interested audio frequency of user and be sent to client.
Step S25: select the local audio frequency of having downloaded.
Step S26: handheld device is play corresponding audio file according to the logic feedback receiving.
Above-described embodiment is available to those of ordinary skills and realizes and use of the present invention; those of ordinary skills can be without departing from the present invention in the case of the inventive idea; above-described embodiment is made to various modifications or variation; thereby protection scope of the present invention do not limit by above-described embodiment, and it should be the maximum magnitude that meets the inventive features that claims mention.
Claims (7)
1. realize by camera and gyroscope the system that audio frequency is play, comprise user action trap setting, audio playing apparatus, wherein:
User action trap setting comprises gyro sensor and camera motion capture device, wherein:
Gyro sensor, obtains the gyrostatic data that capture and makes corresponding logic feedback;
Camera motion capture device, simulates the gyrostatic data that capture and makes corresponding logic feedback;
Audio playing apparatus, plays corresponding audio file according to the logic feedback receiving.
2. the system that realizes audio frequency broadcasting by camera and gyroscope according to claim 1, it is characterized in that, camera motion capture device continues repeatedly to absorb picture, in plurality of pictures, fix some points, calculate the side-play amount of these fixing points, the data that capture according to side-play amount simulation gyro sensor.
3. the system that realizes audio frequency broadcasting by camera and gyroscope according to claim 1, is characterized in that, system also comprises:
Network environment judgment means, be connected between user action trap setting and audio playing apparatus, judge whether current network environment connects normally, if normally filter out the interested audio frequency of user and be sent to client, select the local audio frequency of having downloaded to play if undesired.
4. the system that realizes audio frequency broadcasting by camera and gyroscope according to claim 1, it is characterized in that, acquiescence gyro sensor is in running order, in the time that gyro sensor cannot normally be worked, camera motion capture device is switched to operating state.
5. realize by camera and gyroscope the method that audio frequency is play, comprising:
Whether the gyroscope that judges handheld device is working properly, if normally catch data by gyroscope and make corresponding logic feedback, if the undesired camera that starts handheld device is simulated the gyrostatic data that capture and made corresponding logic feedback;
Handheld device is play corresponding audio file according to the logic feedback receiving.
6. the method that realizes audio frequency broadcasting by camera and gyroscope according to claim 5, is characterized in that, camera is simulated gyrostatic process and comprised:
Camera continues repeatedly to absorb picture, fixes some points in plurality of pictures, calculates the side-play amount of these fixing points, the data that capture according to side-play amount simulation gyro sensor.
7. the method that realizes audio frequency broadcasting by camera and gyroscope according to claim 5, is characterized in that, before handheld device is according to the step of audio file corresponding to the logic feedback broadcasting receiving, also comprises:
Judge whether current network environment connects normally, if normally filter out the interested audio frequency of user and be sent to client, select the local audio frequency of having downloaded to play if undesired.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210594257.5A CN103916519A (en) | 2012-12-31 | 2012-12-31 | Method and system for realizing audio play through camera and gyroscope |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210594257.5A CN103916519A (en) | 2012-12-31 | 2012-12-31 | Method and system for realizing audio play through camera and gyroscope |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103916519A true CN103916519A (en) | 2014-07-09 |
Family
ID=51041915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210594257.5A Pending CN103916519A (en) | 2012-12-31 | 2012-12-31 | Method and system for realizing audio play through camera and gyroscope |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103916519A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677343A (en) * | 2016-01-04 | 2016-06-15 | 上海斐讯数据通信技术有限公司 | Mobile terminal convenient operation method and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731793A (en) * | 2005-08-17 | 2006-02-08 | 孙丹 | Method for replacing key-press operation via detecting camera mobile phone cam movement |
US20080147217A1 (en) * | 2006-12-13 | 2008-06-19 | Ensky Technology (Shenzhen) Co., Ltd. | Motion responsive portable media player |
CN102487416A (en) * | 2009-11-30 | 2012-06-06 | 美新半导体(无锡)有限公司 | System for combining geomagnetic sensor and handheld equipment or mobile equipment |
-
2012
- 2012-12-31 CN CN201210594257.5A patent/CN103916519A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731793A (en) * | 2005-08-17 | 2006-02-08 | 孙丹 | Method for replacing key-press operation via detecting camera mobile phone cam movement |
US20080147217A1 (en) * | 2006-12-13 | 2008-06-19 | Ensky Technology (Shenzhen) Co., Ltd. | Motion responsive portable media player |
CN102487416A (en) * | 2009-11-30 | 2012-06-06 | 美新半导体(无锡)有限公司 | System for combining geomagnetic sensor and handheld equipment or mobile equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677343A (en) * | 2016-01-04 | 2016-06-15 | 上海斐讯数据通信技术有限公司 | Mobile terminal convenient operation method and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101954012B1 (en) | Method, terminal, and system for processing data in a video stream | |
RU2663481C2 (en) | Method and device for installing connectable module of intelligent device | |
JP6324625B2 (en) | Live interactive system, information transmission method, information reception method and apparatus | |
CN104967902B (en) | Video sharing method, apparatus and system | |
TWI474712B (en) | Communication method, apparatus and system between digital television receiving terminal and mobile terminal | |
CN110139139A (en) | A kind of method for processing business, terminal, server and Related product | |
CN104811787A (en) | Game video recording method and game video recording device | |
CN111803940A (en) | Game processing method and device, electronic equipment and computer-readable storage medium | |
CN104967900A (en) | Video generating method and video generating device | |
CN106412681A (en) | Bullet screen video live broadcasting method and device | |
KR101808773B1 (en) | Method, device, system, program and recording medium for starting target function | |
CN104935740A (en) | Method for starting vibration motor of mobile terminal and mobile terminal | |
CN106028092A (en) | Television screenshot sharing method and device | |
CN104394481A (en) | Video playing method and device | |
CN106791955B (en) | A kind of method and system of determining live streaming duration | |
US20170171571A1 (en) | Push Video Documentation Methods and Appliances | |
CN103024266A (en) | Shooting optimization method, system and device of mobile terminal | |
CN103024200B (en) | Be applied to image pickup method and the filming apparatus of intelligent terminal | |
CN104951329A (en) | Configuration and startup method of application templates and mobile terminal | |
CN103179026A (en) | Communication method and system in user interactive system, server and client | |
CN103500059B (en) | A kind of method, system and device being undertaken painting by mobile Internet | |
CN112348748A (en) | Image special effect processing method and device, electronic equipment and computer readable storage medium | |
WO2017020671A1 (en) | Video interaction method and apparatus, and video source device | |
CN112532885A (en) | Anti-shake method and device and electronic equipment | |
CN103051786A (en) | Mobile terminal interaction method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140709 |