CN105286841A - Heart rate detection method and system - Google Patents
Heart rate detection method and system Download PDFInfo
- Publication number
- CN105286841A CN105286841A CN201510742779.9A CN201510742779A CN105286841A CN 105286841 A CN105286841 A CN 105286841A CN 201510742779 A CN201510742779 A CN 201510742779A CN 105286841 A CN105286841 A CN 105286841A
- Authority
- CN
- China
- Prior art keywords
- data
- heart rate
- photographic head
- finger
- rate detection
- 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
- Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
Abstract
The invention provides a heart rate detection method and system. According to the heart rate detection method, after a flash lamp and a camera are covered with the fingers of a user, the flash lamp is controlled to emit visible light to the fingers, the camera is controlled to perform data sampling on light reflected by the fingers, sampled data of the camera are converted and processed to obtain data to be processed, wave crest detection is performed on the data to be processed, and heart rate data are obtained and displayed; real-time detection on the human heart rate can be achieved through intelligent terminal hardware such as a mobile phone, the basic health data to which the user can refer are supplied, and therefore the user can detect the heart rate anytime and anywhere only through the intelligent mobile phone to acquire health information of the user conveniently without needing to carry additional equipment.
Description
Technical field
The present invention relates to a kind of heart rate detection method and system.
Background technology
The intelligent terminal such as existing mobile phone can provide camera function of taking pictures mostly, and most of equipment is also with LED flash lamp simultaneously, the light filling of conveniently taking pictures when making a video recording.Along with the raising of people's living standard, people are for basic health value in daily life, and the detection demand of such as heart rate is also more and more higher.If most of user will detect heart rate in daily life, be all by buying special checkout equipment to carry out, and these special checkout equipments carry and inconvenience.
Summary of the invention
The object of the present invention is to provide a kind of heart rate detection method and system, can by the real-time detection of the intelligent terminal hardware realizations such as mobile phone to human heart rate, the basic health data providing user can refer to.
For solving the problem, the invention provides a kind of heart rate detection method, comprising:
When the finger of user covers after on flash lamp and photographic head, control flash light emission visible ray to finger;
Control photographic head opponent digital reflex light and carry out data sampling;
The sampled data of photographic head to be changed and process obtains pending data;
Crest detection is carried out to described pending data, obtains heart rate data and show.
Further, in the above-mentioned methods, the sampled data of photographic head is changed, comprising:
The YCrCb formatted data of camera collection is converted to rgb format data.
Further, in the above-mentioned methods, process is carried out to the sampled data of photographic head and obtains pending data, comprising:
Fast Fourier transform is carried out to described rgb format data, obtains crest data.
Further, in the above-mentioned methods, control photographic head opponent digital reflex light to carry out data sampling and comprise:
Control photographic head and data sampling is carried out to the finger reflected light in preset time period.
Further, in the above-mentioned methods, when the finger of user covers after on flash lamp and photographic head, before controlling flash light emission visible ray to the step pointed, also comprise:
Finger covers on flash lamp and photographic head by prompting user.
According to another side of the present invention, a kind of heart rate detection system is provided, comprises:
Light emitting module, for covering after on flash lamp and photographic head when the finger of user, controls flash light emission visible ray to finger;
Sampling module, carries out data sampling for controlling photographic head opponent digital reflex light;
Processing module, for change the sampled data of photographic head and process obtains pending data;
Heart rate module, for carrying out crest detection to described pending data, obtaining heart rate data and showing.
Further, in said system, state processing module, for the YCrCb formatted data of camera collection is converted to rgb format data.
Further, in said system, described processing module, for carrying out fast Fourier transform to described rgb format data, obtains crest data.
Further, in said system, described sampling module, carries out data sampling for controlling photographic head to the finger reflected light in preset time period.
Further, in said system, described system also comprises reminding module, for pointing out user, finger is covered flash lamp and photographic head.
Compared with prior art, the present invention is by covering after on flash lamp and photographic head when the finger of user, control flash light emission visible ray to finger, what control photographic head opponent digital reflex light carries out data sampling, the sampled data of photographic head to be changed and process obtains pending data, crest detection is carried out to described pending data, obtain heart rate data and show, can realize by the real-time detection of the intelligent terminal hardware realizations such as mobile phone to human heart rate, the basic health data providing user can refer to, user can be made not need to carry extra equipment, just heart rate can be detected anywhere or anytime by means of only smart mobile phone, thus obtain the health and fitness information of self easily.
Accompanying drawing explanation
Fig. 1 is the flow chart of the heart rate detection method of one embodiment of the invention;
Fig. 2 is the finger placement location schematic diagram of the heart rate detection method of one embodiment of the invention;
Fig. 3 is the schematic diagram of the heart rate detection method of one embodiment of the invention;
Fig. 4 is the module map of the heart rate detection system of one embodiment of the invention.
Detailed description of the invention
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment one
As shown in Fig. 1 ~ 2, the invention provides a kind of heart rate detection method, comprising:
Step S1, when the finger of user covers after on flash lamp 1 and photographic head 2, controls flash lamp 2 and launches visible ray to finger 3;
Step S2, controls photographic head 2 and carries out data sampling to finger 3 reflected light;
Step S3, changes the sampled data of photographic head 2 and process obtains pending data;
Step S4, carries out crest detection to described pending data, obtains heart rate data and show.The present embodiment can realize by the real-time detection of the intelligent terminal hardware realizations such as mobile phone to human heart rate, the basic health data providing user can refer to, user can be made not need to carry extra equipment, just can detect heart rate anywhere or anytime by means of only smart mobile phone, thus obtain the health and fitness information of self easily.
Preferably, as shown in Figure 3, step S3, changes the sampled data of photographic head, comprising:
YCrCb (optimization colour-video signal) formatted data of camera collection is converted to RGB (red, green, blue) formatted data, thus is convenient to follow-up crest data.
Preferably, as showing of Fig. 3, step S3, carries out process to the sampled data of photographic head and obtains pending data, comprising: carry out fast Fourier transform to described rgb format data, obtain crest data, thus is convenient to follow-uply carry out crest detection.
Preferably, step S2, control photographic head opponent digital reflex light carries out data sampling and comprises:
Control photographic head and data sampling is carried out to the finger reflected light in preset time period, at this, data sampling is carried out to the finger reflected light in preset time period, sufficient sampled data can be obtained, be convenient to subsequent analysis and obtain accurate testing result.
Preferably, step S1, when the finger of user covers after on flash lamp and photographic head, before controlling flash light emission visible ray to the step pointed, also comprises:
Finger covers on flash lamp and photographic head by prompting user, thus makes testing process more humane.
Embodiment two
As shown in Figure 4, the present invention also provides another kind of heart rate detection system, comprising:
Light emitting module 41, for covering after on flash lamp and photographic head when the finger of user, controls flash light emission visible ray to finger;
Sampling module 42, carries out data sampling for controlling photographic head opponent digital reflex light;
Processing module 43, for change the sampled data of photographic head and process obtains pending data;
Heart rate module 44, for carrying out crest detection to described pending data, obtaining heart rate data and showing.
Preferably, described processing module, for being converted to rgb format data by the YCrCb formatted data of camera collection.
Preferably, described processing module, for carrying out fast Fourier transform to described rgb format data, obtains crest data.
Preferably, described sampling module, carries out data sampling for controlling photographic head to the finger reflected light in preset time period.
Preferably, as shown in Figure 4, described system also comprises reminding module 40, for pointing out user, finger is covered flash lamp and photographic head.
Other detailed content of embodiment two specifically see the appropriate section of embodiment one, can not repeat them here.
In sum, the present invention is by covering after on flash lamp and photographic head when the finger of user, control flash light emission visible ray to finger, what control photographic head opponent digital reflex light carries out data sampling, the sampled data of photographic head to be changed and process obtains pending data, crest detection is carried out to described pending data, obtain heart rate data and show, can realize by the real-time detection of the intelligent terminal hardware realizations such as mobile phone to human heart rate, the basic health data providing user can refer to, user can be made not need to carry extra equipment, just heart rate can be detected anywhere or anytime by means of only smart mobile phone, thus obtain the health and fitness information of self easily.
In this description, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various change and modification to invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.
Claims (10)
1. a heart rate detection method, is characterized in that, comprising:
When the finger of user covers after on flash lamp and photographic head, control flash light emission visible ray to finger;
Control photographic head opponent digital reflex light and carry out data sampling;
The sampled data of photographic head to be changed and process obtains pending data;
Crest detection is carried out to described pending data, obtains heart rate data and show.
2. heart rate detection method as claimed in claim 1, is characterized in that, change, comprising the sampled data of photographic head:
The YCrCb formatted data of camera collection is converted to rgb format data.
3. heart rate detection method as claimed in claim 2, is characterized in that, carry out process and obtain pending data, comprising the sampled data of photographic head:
Fast Fourier transform is carried out to described rgb format data, obtains crest data.
4. the heart rate detection method as described in any one of claims 1 to 3, is characterized in that, control photographic head opponent digital reflex light carries out data sampling and comprises:
Control photographic head and data sampling is carried out to the finger reflected light in preset time period.
5. heart rate detection method as claimed in claim 1, is characterized in that, when the finger of user covers after on flash lamp and photographic head, before controlling flash light emission visible ray to the step pointed, also comprises:
Finger covers on flash lamp and photographic head by prompting user.
6. a heart rate detection system, is characterized in that, comprising:
Light emitting module, for covering after on flash lamp and photographic head when the finger of user, controls flash light emission visible ray to finger;
Sampling module, carries out data sampling for controlling photographic head opponent digital reflex light;
Processing module, for change the sampled data of photographic head and process obtains pending data;
Heart rate module, for carrying out crest detection to described pending data, obtaining heart rate data and showing.
7. heart rate detection system as claimed in claim 6, is characterized in that, described processing module, for the YCrCb formatted data of camera collection is converted to rgb format data.
8. heart rate detection system as claimed in claim 7, is characterized in that, described processing module, for carrying out fast Fourier transform to described rgb format data, obtaining crest data.
9. the heart rate detection system as described in any one of claim 6 to 8, is characterized in that, described sampling module, carries out data sampling for controlling photographic head to the finger reflected light in preset time period.
10. heart rate detection system as claimed in claim 6, it is characterized in that, described system also comprises reminding module, for pointing out user, finger is covered flash lamp and photographic head.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510742779.9A CN105286841A (en) | 2015-11-05 | 2015-11-05 | Heart rate detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510742779.9A CN105286841A (en) | 2015-11-05 | 2015-11-05 | Heart rate detection method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105286841A true CN105286841A (en) | 2016-02-03 |
Family
ID=55185174
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510742779.9A Pending CN105286841A (en) | 2015-11-05 | 2015-11-05 | Heart rate detection method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105286841A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358057A (en) * | 2017-08-25 | 2017-11-17 | 遵义博文软件开发有限公司 | Medical assistance service system |
CN113524218A (en) * | 2021-07-26 | 2021-10-22 | 浙江齐步智能科技有限公司 | Facial expression-based alarm system of elderly accompanying robot |
-
2015
- 2015-11-05 CN CN201510742779.9A patent/CN105286841A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107358057A (en) * | 2017-08-25 | 2017-11-17 | 遵义博文软件开发有限公司 | Medical assistance service system |
CN113524218A (en) * | 2021-07-26 | 2021-10-22 | 浙江齐步智能科技有限公司 | Facial expression-based alarm system of elderly accompanying robot |
CN113524218B (en) * | 2021-07-26 | 2022-11-22 | 深圳万普瑞邦技术有限公司 | Facial expression-based alarm system of elderly accompanying robot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220207736A1 (en) | Semi-automated system for real-time wound image segmentation and photogrammetry on a mobile platform | |
CN109635621B (en) | System and method for recognizing gestures based on deep learning in first-person perspective | |
CN107407559B (en) | Range image acquisition device and range image acquisition methods | |
EP2993892A1 (en) | Method for control of camera module based on physiological signal | |
CN110458226B (en) | Image annotation method and device, electronic equipment and storage medium | |
US10200780B2 (en) | Method and apparatus for conveying battery life of wireless earpiece | |
CN106774868B (en) | Wireless presentation device | |
KR102401659B1 (en) | Electronic device and method for processing video according to camera photography environment and scene using the same | |
CN109101873A (en) | For providing the electronic equipment for being directed to the characteristic information of external light source of object of interest | |
CN106163381B (en) | Information processing apparatus, information processing system, and program | |
CN107209855A (en) | Pass through fingerprint recognition certification user | |
CN105874776A (en) | Image processing apparatus and method | |
RU2014136476A (en) | ENDOSCOPIC VIDEO SYSTEM | |
US8913807B1 (en) | System and method for detecting anomalies in a tissue imaged in-vivo | |
CN108198167A (en) | A kind of burn intelligent measurement identification device and method based on machine vision | |
WO2020103001A1 (en) | Method for estimating object parameters and electronic device | |
WO2023005403A1 (en) | Respiratory rate detection method and apparatus, and storage medium and electronic device | |
US20210029328A1 (en) | System and method for traffic surveillance | |
CN112859488A (en) | Electronic equipment and color correction system of external flash lamp | |
CN113029349A (en) | Temperature monitoring method and device, storage medium and equipment | |
CN105286841A (en) | Heart rate detection method and system | |
CN109819246A (en) | Detection device and detection method, the device of LED display terminal | |
US10708999B2 (en) | Method of visualizing a shape of a linear lighting device | |
CN108632529A (en) | The method that the electronic equipment of pattern indicator is provided and operates electronic equipment for focus | |
CN108197563B (en) | Method and device for acquiring information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160203 |
|
WD01 | Invention patent application deemed withdrawn after publication |