SlideShare a Scribd company logo
Heart Rate Measurement
from Video Data
Introduction
The measurement of a person's heart rate is done by using electrodes
and gels. Therefore, there exists some level of contact with patients.
However, in order to reduce the level of physical contact with a patient,
the technique of non-contact video based heart rate monitoring is
employed.
Non-contact video based heart rate monitoring is a quick and easy
method of heart rate measurement which seeks to reduce the level of
contact with patients. In addition, this method has tremendous potential
in efficient delivery of health care.
Introduction cont’d
This method is also a cheap way of obtaining heart rate measurements.
This method uses the fact that, there will variations of reflected light
from any area of reference on a person’s body, due to changes in blood
volume as a result of that person’s heart rate.
This project aims to investigate the feasibility of extracting one’s heart
rate from video data of that person.
Previous Work
Poh et al. (2014) performed heart rate measurements using automatic
face tracking and blind source separation to separate the colour channels
into independent components. Video files were obtained using a
standard laptop webcam. Subjects sit facing the webcam with the
camera focusing on their facial region. All videos were obtained in
colour with a frame rate of 15 frames per second. Blind source
separation was used as a method to reduce noise from the signal
obtained.
Previous Work cont’d
The processing of data was done using Matlab. The OpenCV face
detection algorithm was used to detect the faces of the subject's. The
region of interest was obtained then separated into its three RGB
channels (red, green, blue). However, the red and blue channels were
discarded as the green channel contained greater plethysmographic
signal. Independent Component Analysis was applied to this signal then
the Fourier transform. The pulse frequency corresponded to that
frequency component with the highest power in the spectrum.
Procedure
 Firstly, video files lasting between 10-15 seconds were obtained using a
high resolution video camera at a frame rate of 30 frames per second.
 Video files were obtained in an enclosed room with only one light source in
order to reduce any extraneous elements that may affect signal.
 These video files were then inputted into Matlab. The Viola-Jones face
detection algorithm were used to identify the pair of eyes found in the video.
 After detection of eye pair, the Region of Interest (ROI) was determined.
This was a portion of the person's forehead.
Procedure cont’d
 The video file was then separated into tits individual red, green and
blue channels. However, the red and blue channels were discarded.
 The green channel of each frame of the video was then processed. An
average intensity produced by each frame was then obtained which
was plotted against time. This was the time series data.
 A second order Butterworth band pass filter was then applied to the
time series data in order to obtain those frequencies which only
correspond to the heart rate signal.
Procedure cont’d
The signal was filtered between 0.75 and 4 Hz; this corresponded to a
heart rate of 40-230 beats per minute.
 The Fourier transform was then applied to this filtered signal using
FFT function in Matlab. The heart rate of the subject was determined
by the frequency component with highest amplitude.
Results
 Table 1 shows heart rate measurements for three different individuals
of different ages, complexion and sex for different conditions.
 Firstly, the resting heart rate of the individuals was recorded.
 Secondly, the individuals were then asked to do an activity which
would have their heart rates being increased.
Results cont’d
 The individuals did jumping jacks for approximately 5 minutes, after
which their heart rates were measured again.
 The final heart rate measurement was done after the individual’s heart
rate was back to normal, this was approximately after 5 minutes of
rest.
Results – Table 1
Volunteer
Resting Heart
Rate (bpm)
Heart Rate
after doing an
activity (bpm)
Heart Rate
after 5 mins
rest (bpm)
1 57.5 98 73.1
2 75.2 120.7 81.2
3 83.3 103.8 90.4
Analysis of Results
 For all three individuals, the resting heart rate measurement was
found within the normal range. This is between 40-230 beats per
minute.
 There was a similar trend observed for the heart rate measurement
after doing an activity. As expected, after doing any physical activity,
there will be an increase in a person’s heart rate. Likewise, There was
a change observed in the measurement from the algorithm used.
Analysis cont’d
These measurements still fell within the normal range of 40-230 beats
per minute. The slight increase however, was as a result of the jumping
jacks done by the individuals.
 After 5 minutes rest, it was expected that the individual’s heart rate
would regain normality once more. This was reflected accordingly in
the results obtained. The values obtained were not exactly the same as
the resting heart rate, but was lower than the values obtained just after
doing jumping jacks and were fairly close the resting heart rate.
Limitations
 Due to the fact that the algorithm was not very robust, the video files
obtained had to be very ideal. A lot of problems were encountered
when trying to obtain these ideal video files.
 Persons with a lighter complexion gave better results than persons of
dark complexion.
Improvements
 This experiment can be improved by making the algorithm more
robust. Allow the algorithm to be able to deal with any extraneous
elements that may affect the results such as varying light sources or
any type of movement when recording the videos.
 The experiment could also be improved by creating an ideal
environment to obtain videos.
Discussion
 The aim of this experiment was to investigate the feasibility of
extracting heart rate from video data. The resting heart rate of humans
is found within the range of 40-230 beats per minute (bpm). One’s
heart rate can vary according to a person’s athleticism, age, sex
amongst other factors. All resting heart rate measurements were found
in the range of 50-85 beats per minute which is normal. In addition, it
is expected that any physical activity will increase a person’s heart
rate. An increase in the heart rate of the individuals was also evident.
This increase was found in the range of 98-104 bpm which is also
Discussion cont’d
normal. Finally, After resting, it is expected a person’s heart rate went
back to their regular beats per minute. However, this was not observed
within results, the heart rates ascertained were a bit higher than the
original resting heart rate measured; but it is evident that it had
decreased and heading towards their normal heart rate.
Conclusion
 In conclusion, this project was very interesting, a lot of knowledge
was gained as it regards to programming, image and video processing
and the heart rate of humans. In addition, it can be said that the
extraction of heart rate from video data is a feasible method and in
future will become very useful.
References
Poh M, McDuff DJ, Picard RW. 2010. Non-contact, automated cardiac
pulse measurements using video imaging and blind source separation.
Optics Express [Internet]. [cited 2015 Apr 18]; 18 (10). Available from:
http://hdl.handle.net/1721.1/66243 rom

More Related Content

Viewers also liked

Pateint monitering
Pateint moniteringPateint monitering
Pateint monitering
filagotbiz
 
3. monitoring & devices used in icu ccu
3. monitoring & devices used in icu ccu3. monitoring & devices used in icu ccu
3. monitoring & devices used in icu ccu
BP KOIRALA INSTITUTE OF HELATH SCIENCS,, NEPAL
 
Medical mirror report
Medical mirror reportMedical mirror report
Medical mirror report
Akhilesh M Akhi
 
Monitoring of patient in intensive care unit (ICU)
Monitoring of patient in intensive care unit (ICU)Monitoring of patient in intensive care unit (ICU)
Monitoring of patient in intensive care unit (ICU)
Raj Mehta
 
Clinical monitoring in ICU
Clinical monitoring in ICUClinical monitoring in ICU
Clinical monitoring in ICU
abrahahailu
 
Edge detection
Edge detectionEdge detection
Edge detection
Ishraq Al Fataftah
 
Medical mirror
Medical mirrorMedical mirror
Medical mirror
sheena_jain
 

Viewers also liked (7)

Pateint monitering
Pateint moniteringPateint monitering
Pateint monitering
 
3. monitoring & devices used in icu ccu
3. monitoring & devices used in icu ccu3. monitoring & devices used in icu ccu
3. monitoring & devices used in icu ccu
 
Medical mirror report
Medical mirror reportMedical mirror report
Medical mirror report
 
Monitoring of patient in intensive care unit (ICU)
Monitoring of patient in intensive care unit (ICU)Monitoring of patient in intensive care unit (ICU)
Monitoring of patient in intensive care unit (ICU)
 
Clinical monitoring in ICU
Clinical monitoring in ICUClinical monitoring in ICU
Clinical monitoring in ICU
 
Edge detection
Edge detectionEdge detection
Edge detection
 
Medical mirror
Medical mirrorMedical mirror
Medical mirror
 

Similar to presentation1

The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
InsideScientific
 
Decomposition of the Cardiac and Respiratory Components from Impedance Pneumo...
Decomposition of the Cardiac and Respiratory Components from Impedance Pneumo...Decomposition of the Cardiac and Respiratory Components from Impedance Pneumo...
Decomposition of the Cardiac and Respiratory Components from Impedance Pneumo...
Marcel Młyńczak
 
Respiratory gating
Respiratory gatingRespiratory gating
Respiratory gating
VishnukumarRajaraman1
 
Exploring statistical approaches to Auditory Brainstem Response testing
Exploring statistical approaches to Auditory Brainstem Response testingExploring statistical approaches to Auditory Brainstem Response testing
Exploring statistical approaches to Auditory Brainstem Response testing
Mohammad B S Khan
 
Data Collection & Analysis in Human Autonomic Research: How to Guide to Succe...
Data Collection & Analysis in Human Autonomic Research: How to Guide to Succe...Data Collection & Analysis in Human Autonomic Research: How to Guide to Succe...
Data Collection & Analysis in Human Autonomic Research: How to Guide to Succe...
InsideScientific
 
Biofeedback in physiotherapy practice
Biofeedback in physiotherapy practiceBiofeedback in physiotherapy practice
Biofeedback in physiotherapy practice
Manasi Kulkarni
 
Acoustic analysis of Sleep Apnoea and Hypopnea events in night-time respirato...
Acoustic analysis of Sleep Apnoea and Hypopnea events in night-time respirato...Acoustic analysis of Sleep Apnoea and Hypopnea events in night-time respirato...
Acoustic analysis of Sleep Apnoea and Hypopnea events in night-time respirato...
Muhammad Alli
 
Est
EstEst
Cardiopulmonary exercise testing
Cardiopulmonary exercise testingCardiopulmonary exercise testing
Cardiopulmonary exercise testing
Avinash Arke
 
Cardiopulmonary exercise testing
Cardiopulmonary exercise testingCardiopulmonary exercise testing
Cardiopulmonary exercise testing
Avinash Arke
 
Development Of A Warning System For The Epileptic Patients Which Detects The ...
Development Of A Warning System For The Epileptic Patients Which Detects The ...Development Of A Warning System For The Epileptic Patients Which Detects The ...
Development Of A Warning System For The Epileptic Patients Which Detects The ...
Fatih Uçar
 
art%3A10.1007%2Fs12471-013-0438-3
art%3A10.1007%2Fs12471-013-0438-3art%3A10.1007%2Fs12471-013-0438-3
art%3A10.1007%2Fs12471-013-0438-3
Bob Oude Velthuis
 
Firstbeat and the Science of Personalized Insight for Everyone - Dr. Ilkka Ko...
Firstbeat and the Science of Personalized Insight for Everyone - Dr. Ilkka Ko...Firstbeat and the Science of Personalized Insight for Everyone - Dr. Ilkka Ko...
Firstbeat and the Science of Personalized Insight for Everyone - Dr. Ilkka Ko...
Matti Salakka 🐠
 
Most Advance Portable Body Analyzer
Most Advance Portable Body AnalyzerMost Advance Portable Body Analyzer
Most Advance Portable Body Analyzer
AMERICAN HEALTHCARE BUSINESS
 
Bio feedback3
Bio feedback3Bio feedback3
Bio feedback3
Victoria Vesna
 
Exercise and Heart Rate Recovery 38Journal of Exer.docx
 Exercise and Heart Rate Recovery  38Journal of Exer.docx Exercise and Heart Rate Recovery  38Journal of Exer.docx
Exercise and Heart Rate Recovery 38Journal of Exer.docx
MARRY7
 
Biomedical Equipments
Biomedical EquipmentsBiomedical Equipments
Biomedical Equipments
Ghansyam Rathod
 
Hcl hh20
Hcl hh20Hcl hh20
Hcl hh20
sai prashanth
 
Gait Analysis in Biomechanics
Gait Analysis in BiomechanicsGait Analysis in Biomechanics
Gait Analysis in Biomechanics
Dr Nishank Verma
 
What's broken about CPR and how to fix it.
What's broken about CPR and how to fix it.What's broken about CPR and how to fix it.
What's broken about CPR and how to fix it.
Bob Trenkamp
 

Similar to presentation1 (20)

The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
The Future of Metabolic Phenotyping Using data bandwidth to maximize N, analy...
 
Decomposition of the Cardiac and Respiratory Components from Impedance Pneumo...
Decomposition of the Cardiac and Respiratory Components from Impedance Pneumo...Decomposition of the Cardiac and Respiratory Components from Impedance Pneumo...
Decomposition of the Cardiac and Respiratory Components from Impedance Pneumo...
 
Respiratory gating
Respiratory gatingRespiratory gating
Respiratory gating
 
Exploring statistical approaches to Auditory Brainstem Response testing
Exploring statistical approaches to Auditory Brainstem Response testingExploring statistical approaches to Auditory Brainstem Response testing
Exploring statistical approaches to Auditory Brainstem Response testing
 
Data Collection & Analysis in Human Autonomic Research: How to Guide to Succe...
Data Collection & Analysis in Human Autonomic Research: How to Guide to Succe...Data Collection & Analysis in Human Autonomic Research: How to Guide to Succe...
Data Collection & Analysis in Human Autonomic Research: How to Guide to Succe...
 
Biofeedback in physiotherapy practice
Biofeedback in physiotherapy practiceBiofeedback in physiotherapy practice
Biofeedback in physiotherapy practice
 
Acoustic analysis of Sleep Apnoea and Hypopnea events in night-time respirato...
Acoustic analysis of Sleep Apnoea and Hypopnea events in night-time respirato...Acoustic analysis of Sleep Apnoea and Hypopnea events in night-time respirato...
Acoustic analysis of Sleep Apnoea and Hypopnea events in night-time respirato...
 
Est
EstEst
Est
 
Cardiopulmonary exercise testing
Cardiopulmonary exercise testingCardiopulmonary exercise testing
Cardiopulmonary exercise testing
 
Cardiopulmonary exercise testing
Cardiopulmonary exercise testingCardiopulmonary exercise testing
Cardiopulmonary exercise testing
 
Development Of A Warning System For The Epileptic Patients Which Detects The ...
Development Of A Warning System For The Epileptic Patients Which Detects The ...Development Of A Warning System For The Epileptic Patients Which Detects The ...
Development Of A Warning System For The Epileptic Patients Which Detects The ...
 
art%3A10.1007%2Fs12471-013-0438-3
art%3A10.1007%2Fs12471-013-0438-3art%3A10.1007%2Fs12471-013-0438-3
art%3A10.1007%2Fs12471-013-0438-3
 
Firstbeat and the Science of Personalized Insight for Everyone - Dr. Ilkka Ko...
Firstbeat and the Science of Personalized Insight for Everyone - Dr. Ilkka Ko...Firstbeat and the Science of Personalized Insight for Everyone - Dr. Ilkka Ko...
Firstbeat and the Science of Personalized Insight for Everyone - Dr. Ilkka Ko...
 
Most Advance Portable Body Analyzer
Most Advance Portable Body AnalyzerMost Advance Portable Body Analyzer
Most Advance Portable Body Analyzer
 
Bio feedback3
Bio feedback3Bio feedback3
Bio feedback3
 
Exercise and Heart Rate Recovery 38Journal of Exer.docx
 Exercise and Heart Rate Recovery  38Journal of Exer.docx Exercise and Heart Rate Recovery  38Journal of Exer.docx
Exercise and Heart Rate Recovery 38Journal of Exer.docx
 
Biomedical Equipments
Biomedical EquipmentsBiomedical Equipments
Biomedical Equipments
 
Hcl hh20
Hcl hh20Hcl hh20
Hcl hh20
 
Gait Analysis in Biomechanics
Gait Analysis in BiomechanicsGait Analysis in Biomechanics
Gait Analysis in Biomechanics
 
What's broken about CPR and how to fix it.
What's broken about CPR and how to fix it.What's broken about CPR and how to fix it.
What's broken about CPR and how to fix it.
 

presentation1

  • 2. Introduction The measurement of a person's heart rate is done by using electrodes and gels. Therefore, there exists some level of contact with patients. However, in order to reduce the level of physical contact with a patient, the technique of non-contact video based heart rate monitoring is employed. Non-contact video based heart rate monitoring is a quick and easy method of heart rate measurement which seeks to reduce the level of contact with patients. In addition, this method has tremendous potential in efficient delivery of health care.
  • 3. Introduction cont’d This method is also a cheap way of obtaining heart rate measurements. This method uses the fact that, there will variations of reflected light from any area of reference on a person’s body, due to changes in blood volume as a result of that person’s heart rate. This project aims to investigate the feasibility of extracting one’s heart rate from video data of that person.
  • 4. Previous Work Poh et al. (2014) performed heart rate measurements using automatic face tracking and blind source separation to separate the colour channels into independent components. Video files were obtained using a standard laptop webcam. Subjects sit facing the webcam with the camera focusing on their facial region. All videos were obtained in colour with a frame rate of 15 frames per second. Blind source separation was used as a method to reduce noise from the signal obtained.
  • 5. Previous Work cont’d The processing of data was done using Matlab. The OpenCV face detection algorithm was used to detect the faces of the subject's. The region of interest was obtained then separated into its three RGB channels (red, green, blue). However, the red and blue channels were discarded as the green channel contained greater plethysmographic signal. Independent Component Analysis was applied to this signal then the Fourier transform. The pulse frequency corresponded to that frequency component with the highest power in the spectrum.
  • 6. Procedure  Firstly, video files lasting between 10-15 seconds were obtained using a high resolution video camera at a frame rate of 30 frames per second.  Video files were obtained in an enclosed room with only one light source in order to reduce any extraneous elements that may affect signal.  These video files were then inputted into Matlab. The Viola-Jones face detection algorithm were used to identify the pair of eyes found in the video.  After detection of eye pair, the Region of Interest (ROI) was determined. This was a portion of the person's forehead.
  • 7. Procedure cont’d  The video file was then separated into tits individual red, green and blue channels. However, the red and blue channels were discarded.  The green channel of each frame of the video was then processed. An average intensity produced by each frame was then obtained which was plotted against time. This was the time series data.  A second order Butterworth band pass filter was then applied to the time series data in order to obtain those frequencies which only correspond to the heart rate signal.
  • 8. Procedure cont’d The signal was filtered between 0.75 and 4 Hz; this corresponded to a heart rate of 40-230 beats per minute.  The Fourier transform was then applied to this filtered signal using FFT function in Matlab. The heart rate of the subject was determined by the frequency component with highest amplitude.
  • 9. Results  Table 1 shows heart rate measurements for three different individuals of different ages, complexion and sex for different conditions.  Firstly, the resting heart rate of the individuals was recorded.  Secondly, the individuals were then asked to do an activity which would have their heart rates being increased.
  • 10. Results cont’d  The individuals did jumping jacks for approximately 5 minutes, after which their heart rates were measured again.  The final heart rate measurement was done after the individual’s heart rate was back to normal, this was approximately after 5 minutes of rest.
  • 11. Results – Table 1 Volunteer Resting Heart Rate (bpm) Heart Rate after doing an activity (bpm) Heart Rate after 5 mins rest (bpm) 1 57.5 98 73.1 2 75.2 120.7 81.2 3 83.3 103.8 90.4
  • 12. Analysis of Results  For all three individuals, the resting heart rate measurement was found within the normal range. This is between 40-230 beats per minute.  There was a similar trend observed for the heart rate measurement after doing an activity. As expected, after doing any physical activity, there will be an increase in a person’s heart rate. Likewise, There was a change observed in the measurement from the algorithm used.
  • 13. Analysis cont’d These measurements still fell within the normal range of 40-230 beats per minute. The slight increase however, was as a result of the jumping jacks done by the individuals.  After 5 minutes rest, it was expected that the individual’s heart rate would regain normality once more. This was reflected accordingly in the results obtained. The values obtained were not exactly the same as the resting heart rate, but was lower than the values obtained just after doing jumping jacks and were fairly close the resting heart rate.
  • 14. Limitations  Due to the fact that the algorithm was not very robust, the video files obtained had to be very ideal. A lot of problems were encountered when trying to obtain these ideal video files.  Persons with a lighter complexion gave better results than persons of dark complexion.
  • 15. Improvements  This experiment can be improved by making the algorithm more robust. Allow the algorithm to be able to deal with any extraneous elements that may affect the results such as varying light sources or any type of movement when recording the videos.  The experiment could also be improved by creating an ideal environment to obtain videos.
  • 16. Discussion  The aim of this experiment was to investigate the feasibility of extracting heart rate from video data. The resting heart rate of humans is found within the range of 40-230 beats per minute (bpm). One’s heart rate can vary according to a person’s athleticism, age, sex amongst other factors. All resting heart rate measurements were found in the range of 50-85 beats per minute which is normal. In addition, it is expected that any physical activity will increase a person’s heart rate. An increase in the heart rate of the individuals was also evident. This increase was found in the range of 98-104 bpm which is also
  • 17. Discussion cont’d normal. Finally, After resting, it is expected a person’s heart rate went back to their regular beats per minute. However, this was not observed within results, the heart rates ascertained were a bit higher than the original resting heart rate measured; but it is evident that it had decreased and heading towards their normal heart rate.
  • 18. Conclusion  In conclusion, this project was very interesting, a lot of knowledge was gained as it regards to programming, image and video processing and the heart rate of humans. In addition, it can be said that the extraction of heart rate from video data is a feasible method and in future will become very useful.
  • 19. References Poh M, McDuff DJ, Picard RW. 2010. Non-contact, automated cardiac pulse measurements using video imaging and blind source separation. Optics Express [Internet]. [cited 2015 Apr 18]; 18 (10). Available from: http://hdl.handle.net/1721.1/66243 rom