CN109758716B - Rope skipping counting method based on sound information - Google Patents
Rope skipping counting method based on sound information Download PDFInfo
- Publication number
- CN109758716B CN109758716B CN201910233228.8A CN201910233228A CN109758716B CN 109758716 B CN109758716 B CN 109758716B CN 201910233228 A CN201910233228 A CN 201910233228A CN 109758716 B CN109758716 B CN 109758716B
- Authority
- CN
- China
- Prior art keywords
- rope skipping
- audio
- rope
- skipping
- counting method
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000010586 diagram Methods 0.000 claims abstract description 12
- 230000009471 action Effects 0.000 claims abstract description 7
- 238000005070 sampling Methods 0.000 claims abstract description 5
- 238000001914 filtration Methods 0.000 claims description 3
- 230000007246 mechanism Effects 0.000 abstract description 3
- 230000008447 perception Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002612 cardiopulmonary effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000010304 firing Methods 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 230000001603 reducing effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Time Recorders, Dirve Recorders, Access Control (AREA)
Abstract
The invention discloses a rope skipping counting method based on sound information, which belongs to the technical field of intelligent fitness sports equipment and comprises the following steps: 1) acquiring audio data of rope skipping actions, extracting audio sampling frequency from the audio data, and drawing an audio waveform diagram with time as an abscissa; 2) setting upper and lower amplitude thresholds to denoise the audio oscillogram; 3) finding out pulse extreme points in the denoised audio oscillogram, calculating the number of the pulse extreme points, and only keeping counting for one time for the extreme points in the same rope skipping period to obtain the initial rope skipping times n; 4) obtaining average pulse interval time T according to initial rope skipping times n1(ii) a 5) Calculating the interval time T between every two adjacent pulses according to the audio waveform diagram2If T is2>3T1If the rope skipping fails, the rope skipping times are reduced once; 6) and outputting and displaying the rope skipping times. The mechanism analysis of auditory perception is applied, the audio information is judged, automatic counting of rope skipping is achieved, and accuracy is improved.
Description
Technical Field
The invention relates to the technical field of intelligent fitness sports equipment, in particular to a rope skipping counting method based on sound information.
Background
The skipping rope is a sports game in which one person or a plurality of people do various skipping actions in a rope which is circularly swung. The skipping rope is aerobic exercise and is a kind of exercise with higher efficiency in the aerobic exercise, the skipping rope not only can strengthen the cardio-pulmonary function and the muscles of each main part of the body, but also can train the balance sense and the agility of the body, and the skipping rope consumes more heat than running. In addition, the rope skipping movement mode is simple, the limitation of places and weather is not needed, the rope skipping can train the endurance of a human body, a plurality of young people select the rope skipping to perform fat reducing activities, and at present, monitoring equipment aiming at the rope skipping is few in the market.
The skipping rope is a necessary subject for the physical examination of primary and secondary school students, manual counting is needed in the skipping rope process, precious time of a judge is delayed when the number of people is large and counting errors easily occur when the skipping rope speed is high or the attention of the judge is not concentrated. The existing skipping rope capable of automatically counting often has the problems of inaccurate counting, incapability of reversely counting, incapability of lasting service time and the like.
For example, chinese patent publication No. CN108721826A discloses an intelligent skipping rope, a skipping rope counting method and a device, the intelligent skipping rope comprises a rope and a handle; the handle is provided with two ends which are respectively arranged on the rope; the handle comprises a rotating shaft arranged in the middle part, and the rotating shaft is connected with a rope; the handle also comprises a Hall sensor which is arranged on the circumferential outer side of the rotating shaft and corresponds to the magnet, so that the magnet passes through the Hall sensor when the rotating shaft rotates; the handle also comprises an acceleration sensor and a processor, and the processor is connected with the Hall sensor and the acceleration sensor; the processor processes the information acquired by the Hall sensor and the acceleration sensor and judges whether the skipping rope is single-skipping or double-skipping; the handle also comprises a display screen which is electrically connected with the processor.
The Chinese patent document with publication number CN108211317A discloses a record display system for rope skipping competition results, wherein a wireless transceiver module receives information of a plurality of expert scoring information tables and counting information of a plurality of rope skipping handles, and wirelessly transmits data to a control module of a computer terminal; receiving control instruction information of a computer terminal, and sending the control instruction information to each corresponding scorer and each corresponding transmitting handle; the transmitting handle module records and displays rope skipping times data and transmits counting data to the wireless transceiver module in real time; the scoring module stores the record tables of the scores of different types of competitions, receives the control information of the computer terminal and the record tables of the scores of the corresponding competitions, and the referee fills the scores of the competitions through the scoring module, thereby having the functions of handwriting and signature; the scoring module sends scoring scores of the referees to the wireless radio frequency transceiver module; the control module controls and controls the wireless transceiver module, the firing handle module and the scorer module.
The two rope skipping counting methods need to use a specific skipping rope, but the condition of skip jump cannot be eliminated in the rope skipping process, and meanwhile, the problems that the counting is not accurate enough, the counting cannot be performed reversely, the service life cannot be prolonged and the like exist.
Disclosure of Invention
The invention aims to provide a rope skipping counting method based on sound information, which judges audio information by applying auditory mechanism analysis in the rope skipping counting process of people to realize automatic accurate counting of rope skipping.
In order to achieve the above object, the rope skipping counting method based on sound information provided by the invention comprises the following steps:
1) acquiring audio data of rope skipping actions, extracting audio sampling frequency from the audio data, and drawing an audio waveform diagram with time as an abscissa;
2) setting a threshold value of an upper amplitude value and a lower amplitude value to denoise the audio oscillogram;
3) finding out pulse extreme points in the denoised audio oscillogram, calculating the number of the pulse extreme points, and only keeping counting for one time for the extreme points in the same rope skipping period to obtain the initial rope skipping times n;
4) obtaining average pulse interval time T according to initial rope skipping times n1;
5) Calculating the interval time T between every two adjacent pulses according to the audio waveform diagram2If T is2>3T1If the rope skipping fails, the rope skipping times are reduced once;
6) and outputting and displaying the rope skipping times.
In the technical scheme, the audio fluctuation graph is drawn into a coordinate system according to the audio data information, the time frame is taken as a horizontal axis, and the rope skipping times are calculated according to the number of peak values of the audio fluctuation graph after the rope skipping failure is eliminated. The mechanism analysis of auditory perception is applied, the audio information is judged, automatic counting of rope skipping is achieved, and accuracy is improved.
Preferably, step 1) further includes performing filtering processing on the audio waveform map.
Preferably, the audio data is filtered by using a fast fourier transform method. Because the pulses are very close and can not be identified by naked eyes, the invention adopts a method of setting a certain time interval DT to remove repeated counting and only keeps once.
Preferably, in step 3), a pulse signal generated by rope skipping is obtained according to the audio waveform diagram, and the primary pulse signal is used as a primary rope skipping count.
When rope skipping fails, the interval time between two adjacent pulses is obviously prolonged, so that the method judges whether rope skipping fails or not, and if so, the rope skipping times are reduced once. Preferably, in the step 3), the skipping period is 5000 pulses. Because the sampling frequency is 44.1K, the Ginies world record of personal skipping rope at present is 322 times/minute, the pulse number of each skipping is calculated to be about 7000 times, the invention takes 5000 pulses, and the difference between the pulse number of twice skipping rope and the repeat pulse number of single skipping rope can be distinguished.
For the convenience of counting, step 3) preferably further includes numbering the pulse extreme points.
Preferably, in step 1), a video recording device is used to record the rope skipping action, and then audio data is extracted from the recorded video file. Or the sound recording equipment can be adopted to directly extract the sound data.
Compared with the prior art, the invention has the beneficial effects that:
the rope skipping counting method based on the sound information can realize automatic accurate counting without adopting a special rope skipping, and can not only count immediately, but also play back the recorded sound. Especially, with the wide adoption of mobile shooting and recording equipment, the method has stronger practicability.
Drawings
FIG. 1 is a flow chart of a rope skipping counting method based on sound information according to an embodiment of the present invention;
FIG. 2 is an audio waveform diagram according to an embodiment of the present invention;
FIG. 3 is a diagram of an audio waveform after threshold denoising according to an embodiment of the present invention.
Detailed description of the preferred embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described with reference to the following embodiments and accompanying drawings.
Examples
Referring to fig. 1, the rope skipping counting method based on sound information of the present embodiment includes the following steps:
step S1, obtaining, by the video recording device, original video data (. wav) of the rope skipping action.
Step S2, extracting audio data and parameters from the original video data (. wav), extracting the sampling frequency of the audio from the audio data, and drawing an audio waveform diagram with time as the abscissa, as shown in fig. 2.
Step S3, filtering the audio frequency oscillogram by Fast Fourier Transform (FFT); firstly, FFT transformation is carried out on a time domain signal, a frequency range is determined, interference signals which do not belong to the frequency range are filtered, and then Fourier inversion is carried out to return to a time domain.
Step S4, setting upper and lower threshold values to remove especially strong noise and relatively weak interference (which are not caused by rope skipping), and obtaining a clearer pulse waveform diagram, as shown in fig. 3.
In step S5, the pulse extreme points in fig. 3 are found and numbered.
Step S6, the pulse extreme point count in the same rope skipping period is cancelled, the repeated count is removed, the rope skipping period is only kept once, the initial rope skipping frequency n is obtained, and the average pulse interval time T is obtained according to the initial rope skipping frequency n1。
Step S7, obtaining the interval time T between every two adjacent pulses2If the time T is spaced2Is significantly greater than the mean pulse interval time T1In this embodiment, T is taken2>3T1If the rope skipping fails, the rope skipping times are reduced once.
And step S8, outputting and displaying the rope skipping times.
Claims (7)
1. A rope skipping counting method based on sound information is characterized by comprising the following steps:
1) acquiring audio data of rope skipping actions, extracting audio sampling frequency from the audio data, and drawing an audio waveform diagram with time as an abscissa;
2) setting a threshold value of an upper amplitude value and a lower amplitude value to denoise the audio oscillogram;
3) finding out pulse extreme points in the denoised audio oscillogram, calculating the number of the pulse extreme points, and only keeping counting for one time for the extreme points in the same rope skipping period to obtain the initial rope skipping times n;
4) obtaining average pulse interval time T according to initial rope skipping times n1;
5) Calculating the interval time T between every two adjacent pulses according to the audio waveform diagram2If T is2>3T1If the rope skipping fails, the rope skipping times are reduced once;
6) and outputting and displaying the rope skipping times.
2. The rope skipping counting method according to claim 1, wherein the step 1) further comprises filtering the audio waveform.
3. The rope skipping counting method according to claim 2, wherein the audio data is filtered by fast fourier transform.
4. The rope skipping counting method according to claim 1, wherein in step 3), the pulse signal generated by rope skipping is obtained according to the audio waveform diagram, and the pulse signal is used as a rope skipping count.
5. The skipping rope counting method according to claim 1, wherein in the step 3), the skipping rope period takes 5000 pulses.
6. The rope skipping counting method of claim 1, wherein step 3) further comprises numbering the pulse extreme points.
7. The rope skipping counting method according to claim 1, wherein in step 1), a video recording device is used to record rope skipping actions, and then audio data is extracted from the recorded video file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910233228.8A CN109758716B (en) | 2019-03-26 | 2019-03-26 | Rope skipping counting method based on sound information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910233228.8A CN109758716B (en) | 2019-03-26 | 2019-03-26 | Rope skipping counting method based on sound information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109758716A CN109758716A (en) | 2019-05-17 |
CN109758716B true CN109758716B (en) | 2020-12-01 |
Family
ID=66459861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910233228.8A Expired - Fee Related CN109758716B (en) | 2019-03-26 | 2019-03-26 | Rope skipping counting method based on sound information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109758716B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110102040B (en) * | 2019-05-24 | 2020-06-30 | 浙江大学 | Audio skipping rope counting method based on cross-correlation coefficient method |
CN110210360B (en) * | 2019-05-24 | 2021-01-08 | 浙江大学 | Rope skipping counting method based on video image target recognition |
CN112464808B (en) * | 2020-11-26 | 2022-12-16 | 成都睿码科技有限责任公司 | Rope skipping gesture and number identification method based on computer vision |
CN113117284A (en) * | 2021-04-13 | 2021-07-16 | 西北工业大学 | Rope skipping counting method and counter based on acoustic signals |
CN113808587B (en) * | 2021-11-17 | 2022-04-12 | 南京隆远电气技术有限公司 | Voice instruction autonomous recognition algorithm |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1194592A (en) * | 1996-06-05 | 1998-09-30 | 世雅企业股份有限公司 | Image processor for game |
CN1909699A (en) * | 2006-08-01 | 2007-02-07 | 华为技术有限公司 | Method and device for realizing mobile terminal step function |
KR100859854B1 (en) * | 2007-06-28 | 2008-09-24 | 송영웅 | Jump rope for measuring calory outputting rotational frequency with voice |
CN102227768A (en) * | 2009-01-06 | 2011-10-26 | 三菱电机株式会社 | Noise cancellation device and noise cancellation program |
CN102306331A (en) * | 2011-08-17 | 2012-01-04 | 广东外语外贸大学 | Intelligent counting method of interference fringes |
CN202736476U (en) * | 2012-08-07 | 2013-02-13 | 昆明理工大学 | Animal monitoring analysis system based on acoustical signal processing |
WO2014032061A2 (en) * | 2012-08-21 | 2014-02-27 | Board Of Regents, The University Of Texas System | Acoustic sensor |
CN104246877A (en) * | 2012-04-23 | 2014-12-24 | 高通股份有限公司 | Systems and methods for audio signal processing |
CN204319611U (en) * | 2014-10-14 | 2015-05-13 | 东莞市德育龙电子科技有限公司 | Rope skipping Intelligent-counting acquisition system |
CN106236102A (en) * | 2016-09-07 | 2016-12-21 | 京东方科技集团股份有限公司 | A kind of movement monitoring method and device |
CN108479042A (en) * | 2018-02-06 | 2018-09-04 | 浙江大学 | A kind of method of counting of bouncing the ball based on audio-frequency information |
CN108732918A (en) * | 2017-04-21 | 2018-11-02 | 上海锐色文化传播有限公司 | Children, which skip rope, counts smartwatch and method of counting |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8705765B2 (en) * | 2006-02-07 | 2014-04-22 | Bongiovi Acoustics Llc. | Ringtone enhancement systems and methods |
US9211429B2 (en) * | 2011-08-08 | 2015-12-15 | Carl C. Heinrich | Jump hoop device |
JP6772660B2 (en) * | 2016-08-19 | 2020-10-21 | ブラザー工業株式会社 | Driver program |
-
2019
- 2019-03-26 CN CN201910233228.8A patent/CN109758716B/en not_active Expired - Fee Related
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1194592A (en) * | 1996-06-05 | 1998-09-30 | 世雅企业股份有限公司 | Image processor for game |
CN1909699A (en) * | 2006-08-01 | 2007-02-07 | 华为技术有限公司 | Method and device for realizing mobile terminal step function |
KR100859854B1 (en) * | 2007-06-28 | 2008-09-24 | 송영웅 | Jump rope for measuring calory outputting rotational frequency with voice |
CN102227768A (en) * | 2009-01-06 | 2011-10-26 | 三菱电机株式会社 | Noise cancellation device and noise cancellation program |
CN102306331A (en) * | 2011-08-17 | 2012-01-04 | 广东外语外贸大学 | Intelligent counting method of interference fringes |
CN104246877A (en) * | 2012-04-23 | 2014-12-24 | 高通股份有限公司 | Systems and methods for audio signal processing |
CN202736476U (en) * | 2012-08-07 | 2013-02-13 | 昆明理工大学 | Animal monitoring analysis system based on acoustical signal processing |
WO2014032061A2 (en) * | 2012-08-21 | 2014-02-27 | Board Of Regents, The University Of Texas System | Acoustic sensor |
CN204319611U (en) * | 2014-10-14 | 2015-05-13 | 东莞市德育龙电子科技有限公司 | Rope skipping Intelligent-counting acquisition system |
CN106236102A (en) * | 2016-09-07 | 2016-12-21 | 京东方科技集团股份有限公司 | A kind of movement monitoring method and device |
CN108732918A (en) * | 2017-04-21 | 2018-11-02 | 上海锐色文化传播有限公司 | Children, which skip rope, counts smartwatch and method of counting |
CN108479042A (en) * | 2018-02-06 | 2018-09-04 | 浙江大学 | A kind of method of counting of bouncing the ball based on audio-frequency information |
Also Published As
Publication number | Publication date |
---|---|
CN109758716A (en) | 2019-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109758716B (en) | Rope skipping counting method based on sound information | |
KR102054542B1 (en) | Extending gameplay with physical activity monitoring device | |
CN110102040B (en) | Audio skipping rope counting method based on cross-correlation coefficient method | |
KR102274478B1 (en) | Automatic exercise segmentation and recognition | |
US8951165B2 (en) | Personal training with physical activity monitoring device | |
CN109876416B (en) | Skipping rope counting method based on image information | |
US20160240100A1 (en) | Fitness and Wellness System with Dynamically Adjusting Guidance | |
CN110639197A (en) | Sports test method, device and system | |
EP2782046A2 (en) | Information processing device, sensor device, information processing system, and storage medium | |
CN102016956A (en) | Vision and cognition testing and/or training under stress conditions | |
CN101589358A (en) | The adjusting gear of brain wave identification method, method and computer program | |
JP2013188426A (en) | Information processing apparatus, information processing system, and program | |
JP2016513999A5 (en) | ||
JP2020525146A5 (en) | ||
JP7057873B2 (en) | Skipping rope counting method | |
US20140107500A1 (en) | Methods and apparatus to determine ventilatory and respiratory compensation thresholds | |
CN106308801A (en) | Method for detecting human breathing rate by utilizing smart phone | |
CN108079557B (en) | Badminton ball killing training monitoring and evaluating system | |
CN104994780A (en) | Method for measuring a physiological parameter, such as a biological rhythm, on the basis of at least two sensors | |
CN108479042B (en) | A kind of method of counting of bouncing the ball based on audio-frequency information | |
US11386917B1 (en) | Audio-based repetition counter system and method | |
CN113456075A (en) | Concentration assessment training method based on eye movement tracking and brain wave monitoring technology | |
Gravenhorst et al. | Sonicseat: a seat position tracker based on ultrasonic sound measurements for rowing technique analysis | |
US20230153610A1 (en) | Using machine trained networks to analyze golf swings | |
US20230233922A1 (en) | Smart putter for automatic putter game scoring |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201201 |