SlideShare a Scribd company logo
Measurement of pulse rate of a
     person using his video
By Sahil Shah
Date: 30-11-2012
•Literature Review: From literature we know that approaches have
been found to extract human pulse information from the video of a
stationary person.
•One of the methods is using the mean values of the R,G,B streams
from a specific region of interest of the face and plotting them over time
from the video.
•Analysis using Matlab.
Mean Pixel Value




Regions of Interest                      Time
Power




                             Frequency

The Power spectrum of the mean values signals for the RGB streams.
Peak for the green signal can be seen at 1.2 Hz.
ROI         Interpolatio   Normalize
 Video       Face
                         selection      n of RGB       Intensity
            Detection
                                          values




                                       Independen
Processed     Hann                          t         Raw RGB
            Windowing   Bayes Filter   Component       signal
 Signals
                                         Analysis
Fast        Ideal
Processed
             Fourier     Bandpass
 Signals
            Transform     Filtering




             Parabola     Peak
  Pulse
            Estimation   Detection
•Two approaches:

         1. Object tracking: We use the standard object tracking
implementation in MIRA to detect the face. The ROIs are stated in the
configuration file of the Pulse Detector unit as sub regions of the face.
We select the largest detected object as the face and subsequently
select the closest object to the last detection as the face.

ADV:
• Faster
• Generalized
DIS:
• Breaks when first detection is wrong (generally when face takes
smaller area in the image)
• ‘jumping’ detections.
2. Active Appearance Model (AAM): We use the active
appearance model algorithm to recognize faces based on multiple
features. It returns triangles that define different features on the face.
We configure the AAM face detector to return some pre selected
triangles as ROIs

ADV:
• More robust to small movements
• Exact ROIs

DIS:
• No generalized model for all kinds of faces
•Average R,G and B pixel values of the regions of interest from the face
for each timestamp

•Interpolation to get RGB values for the timestamps for which we get
images (since detections come little later)

•Sampling rate can be changed and is not required to be same as that
of images because interpolation can also be used to get intensity
values for any timestamp

•Interpolation also helps to maintain equal intervals between frames
and increase accuracy
•Intensity Normalization:
    rn = r/(r+g+b)
    gn = g/(r+g+b)
    bn = b/(r+g+b)

•Independent Component Analysis

•Hann Window: Reduces resolution but works better when S/R is low.

•Bayes Filtering: Kernel with +/-1 bin change (+/- 3 bpm for a window
of 200 frames at 10Hz).
•Fast Fourier Transform: Discrete Fourier transforms of the processed
signals to get their power spectrum

•Band-pass filter: Band-pass filter (0.75 to 1.5) to get the frequency
spectrum for the range in which the human pulse can lie.

•Peak Detection: Detects maximum power frequency

•Parabola estimation

•Calculate Pulse
•The Pulse Detector can be configured with the help of various
parameters like:

    Number of frames
    Virtual Sampling Frequency
    Regions of Interest
    Use AAM
    Use ICA
    Bayes Filter
    Windowing (Hann)
    Filter Bands
    Parabola Estimation
•We evaluated the Pulse Detector Unit on the following factors

    Motion vs Stationary
    AAM vs Object Tracking
    Near vs Far (Resolution)
    Jumping detections vs. Non jumping detection
    Different ROIs
    ICA vs No ICA
Screenshots
•The analysis and testing was done in Matlab while the entire
implementation is in C++ using the Middleware for Robotic Applications
(MIRA) framework.
Which algorithm is the most promising for usage?
•  The Object Tracking algorithm is giving better results currently.
•  The AAM tends to lose the detections on increasing movement.
•  But a better trained AAM will be more robust because it is more
   accurate and gives the exact ROI thus effect of small noise
   becomes negligible.
What is the maximum distance of people in the image from where
robust pulse extraction is possible?
•   For stationary images taken using the Kinect sensor we got good
    results even for face size 107x107 pixels from a 640x480 image.
•   This was around 80 cm from the camera.
To what degree the people can move in the image without losing
pulse observation?
•   A well trained AAM would almost nullify the noise effects, currently
    face tracking however is not so robust to higher noise (>10 pixels)
    specially when the person is farther from the camera.
What is the minimum duration of a video sequence to allow pulse
rate extraction?
•    20 second blocks of video are sufficient for pulse rate extraction.
     We take 20 second sliding window continuously for as long as the
     video is captured.
[1] Remote plethysmographic imaging using ambient light. Verkruysse,
W. and Svaasand, L.O. and Nelson, J.S., Optics express, nr. 26, vol.
16, pp. 21434-21445, Optical Society of America, 2008

[2] Eulerian video magnification for revealing subtle changes in the
world. Wu, H.Y. and Rubinstein, M. and Shih, E. and Guttag, J. and
Durand, F. and Freeman, W., ACM Transactions on Graphics (TOG), nr.
4, vol. 31, pp. 65, ACM, 2012

[3] Non-contact, automated cardiac pulse measurements using video
imaging and blind source separation. Poh, M.Z. and McDuff, D.J. and
Picard, R.W., Optics Express, nr. 10, vol. 18, pp. 10762-10774, Optical
Society of America, 2010
Pulse Estimation

More Related Content

What's hot

Oct.2013 c.r
Oct.2013 c.rOct.2013 c.r
Oct.2013 c.r
mr_koky
 
CR, DR and recent advances
CR, DR and recent advancesCR, DR and recent advances
CR, DR and recent advances
Vishal Sankpal
 
Computed radiography
Computed radiographyComputed radiography
Computed radiography
Lirih Kuu
 
Computer radiography and digital radiography
Computer radiography and digital radiographyComputer radiography and digital radiography
Computer radiography and digital radiography
Anand Rk
 

What's hot (20)

Compressive DIsplays: SID Keynote by Ramesh Raskar
Compressive DIsplays: SID Keynote by Ramesh RaskarCompressive DIsplays: SID Keynote by Ramesh Raskar
Compressive DIsplays: SID Keynote by Ramesh Raskar
 
Nityanand gopalika digital detectors for industrial applications
Nityanand gopalika   digital detectors for industrial applicationsNityanand gopalika   digital detectors for industrial applications
Nityanand gopalika digital detectors for industrial applications
 
Oct.2013 c.r
Oct.2013 c.rOct.2013 c.r
Oct.2013 c.r
 
Multi Aperture Photography
Multi Aperture PhotographyMulti Aperture Photography
Multi Aperture Photography
 
Raskar Ilp Oct08 Web
Raskar Ilp Oct08 WebRaskar Ilp Oct08 Web
Raskar Ilp Oct08 Web
 
High-Speed Single-Photon SPAD Camera
High-Speed Single-Photon SPAD CameraHigh-Speed Single-Photon SPAD Camera
High-Speed Single-Photon SPAD Camera
 
CR, DR and recent advances
CR, DR and recent advancesCR, DR and recent advances
CR, DR and recent advances
 
Raskar Banff
Raskar BanffRaskar Banff
Raskar Banff
 
digital radiography
digital radiographydigital radiography
digital radiography
 
Coded Photography - Ramesh Raskar
Coded Photography - Ramesh RaskarCoded Photography - Ramesh Raskar
Coded Photography - Ramesh Raskar
 
IJSRDV3I40293
IJSRDV3I40293IJSRDV3I40293
IJSRDV3I40293
 
F05843238
F05843238F05843238
F05843238
 
Miller - Remote Sensing and Imaging Physics - Spring Review 2012
Miller - Remote Sensing and Imaging Physics - Spring Review 2012Miller - Remote Sensing and Imaging Physics - Spring Review 2012
Miller - Remote Sensing and Imaging Physics - Spring Review 2012
 
DIGITAL IMAGING
DIGITAL IMAGINGDIGITAL IMAGING
DIGITAL IMAGING
 
Computed radiography
Computed radiographyComputed radiography
Computed radiography
 
MIT Camera Culture Group Update July 2009
MIT Camera Culture Group Update July 2009MIT Camera Culture Group Update July 2009
MIT Camera Culture Group Update July 2009
 
Computer radiography and digital radiography
Computer radiography and digital radiographyComputer radiography and digital radiography
Computer radiography and digital radiography
 
"Image Sensors for Vision: Foundations and Trends," a Presentation from ON Se...
"Image Sensors for Vision: Foundations and Trends," a Presentation from ON Se..."Image Sensors for Vision: Foundations and Trends," a Presentation from ON Se...
"Image Sensors for Vision: Foundations and Trends," a Presentation from ON Se...
 
Dr,system abhishek
Dr,system abhishekDr,system abhishek
Dr,system abhishek
 
Digital radiography-Avinesh Shrestha
Digital radiography-Avinesh ShresthaDigital radiography-Avinesh Shrestha
Digital radiography-Avinesh Shrestha
 

Similar to Pulse Estimation

“CMOS Image Sensors: A Guide to Building the Eyes of a Vision System,” a Pres...
“CMOS Image Sensors: A Guide to Building the Eyes of a Vision System,” a Pres...“CMOS Image Sensors: A Guide to Building the Eyes of a Vision System,” a Pres...
“CMOS Image Sensors: A Guide to Building the Eyes of a Vision System,” a Pres...
Edge AI and Vision Alliance
 
Human-Computer Interactive Systems
Human-Computer Interactive SystemsHuman-Computer Interactive Systems
Human-Computer Interactive Systems
Vertigo4
 

Similar to Pulse Estimation (20)

Computer Vision
Computer VisionComputer Vision
Computer Vision
 
denoising.pptx
denoising.pptxdenoising.pptx
denoising.pptx
 
project_final
project_finalproject_final
project_final
 
Iw3515281533
Iw3515281533Iw3515281533
Iw3515281533
 
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEYALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
ALGORITHM AND TECHNIQUE ON VARIOUS EDGE DETECTION: A SURVEY
 
Ijmsr 2016-10
Ijmsr 2016-10Ijmsr 2016-10
Ijmsr 2016-10
 
Orb feature by nitin
Orb feature by nitinOrb feature by nitin
Orb feature by nitin
 
Automatic License Plate Detection in Foggy Condition using Enhanced OTSU Tech...
Automatic License Plate Detection in Foggy Condition using Enhanced OTSU Tech...Automatic License Plate Detection in Foggy Condition using Enhanced OTSU Tech...
Automatic License Plate Detection in Foggy Condition using Enhanced OTSU Tech...
 
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
Enhanced Optimization of Edge Detection for High Resolution Images Using Veri...
 
An Approach for Object and Scene Detection for Blind Peoples Using Vocal Vision.
An Approach for Object and Scene Detection for Blind Peoples Using Vocal Vision.An Approach for Object and Scene Detection for Blind Peoples Using Vocal Vision.
An Approach for Object and Scene Detection for Blind Peoples Using Vocal Vision.
 
“CMOS Image Sensors: A Guide to Building the Eyes of a Vision System,” a Pres...
“CMOS Image Sensors: A Guide to Building the Eyes of a Vision System,” a Pres...“CMOS Image Sensors: A Guide to Building the Eyes of a Vision System,” a Pres...
“CMOS Image Sensors: A Guide to Building the Eyes of a Vision System,” a Pres...
 
An Introduction to digital image processing
An Introduction to digital image processingAn Introduction to digital image processing
An Introduction to digital image processing
 
Study and Comparison of Various Image Edge Detection Techniques
Study and Comparison of Various Image Edge Detection TechniquesStudy and Comparison of Various Image Edge Detection Techniques
Study and Comparison of Various Image Edge Detection Techniques
 
Edge Detection
Edge Detection Edge Detection
Edge Detection
 
Human-Computer Interactive Systems
Human-Computer Interactive SystemsHuman-Computer Interactive Systems
Human-Computer Interactive Systems
 
Temporal Contrast Vision Sensor
Temporal Contrast Vision SensorTemporal Contrast Vision Sensor
Temporal Contrast Vision Sensor
 
Lane detection by use of canny edge
Lane detection by use of canny edgeLane detection by use of canny edge
Lane detection by use of canny edge
 
Image pipeline
Image pipelineImage pipeline
Image pipeline
 
When Remote Sensing Meets Artificial Intelligence
When Remote Sensing Meets Artificial IntelligenceWhen Remote Sensing Meets Artificial Intelligence
When Remote Sensing Meets Artificial Intelligence
 
Particle image velocimetry
Particle image velocimetryParticle image velocimetry
Particle image velocimetry
 

Recently uploaded

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
UiPath New York Community Day in-person event
UiPath New York Community Day in-person eventUiPath New York Community Day in-person event
UiPath New York Community Day in-person event
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
КАТЕРИНА АБЗЯТОВА «Ефективне планування тестування ключові аспекти та практ...
КАТЕРИНА АБЗЯТОВА  «Ефективне планування тестування  ключові аспекти та практ...КАТЕРИНА АБЗЯТОВА  «Ефективне планування тестування  ключові аспекти та практ...
КАТЕРИНА АБЗЯТОВА «Ефективне планування тестування ключові аспекти та практ...
 

Pulse Estimation

  • 1. Measurement of pulse rate of a person using his video By Sahil Shah Date: 30-11-2012
  • 2. •Literature Review: From literature we know that approaches have been found to extract human pulse information from the video of a stationary person. •One of the methods is using the mean values of the R,G,B streams from a specific region of interest of the face and plotting them over time from the video. •Analysis using Matlab.
  • 3. Mean Pixel Value Regions of Interest Time
  • 4. Power Frequency The Power spectrum of the mean values signals for the RGB streams. Peak for the green signal can be seen at 1.2 Hz.
  • 5.
  • 6. ROI Interpolatio Normalize Video Face selection n of RGB Intensity Detection values Independen Processed Hann t Raw RGB Windowing Bayes Filter Component signal Signals Analysis
  • 7. Fast Ideal Processed Fourier Bandpass Signals Transform Filtering Parabola Peak Pulse Estimation Detection
  • 8. •Two approaches: 1. Object tracking: We use the standard object tracking implementation in MIRA to detect the face. The ROIs are stated in the configuration file of the Pulse Detector unit as sub regions of the face. We select the largest detected object as the face and subsequently select the closest object to the last detection as the face. ADV: • Faster • Generalized DIS: • Breaks when first detection is wrong (generally when face takes smaller area in the image) • ‘jumping’ detections.
  • 9. 2. Active Appearance Model (AAM): We use the active appearance model algorithm to recognize faces based on multiple features. It returns triangles that define different features on the face. We configure the AAM face detector to return some pre selected triangles as ROIs ADV: • More robust to small movements • Exact ROIs DIS: • No generalized model for all kinds of faces
  • 10. •Average R,G and B pixel values of the regions of interest from the face for each timestamp •Interpolation to get RGB values for the timestamps for which we get images (since detections come little later) •Sampling rate can be changed and is not required to be same as that of images because interpolation can also be used to get intensity values for any timestamp •Interpolation also helps to maintain equal intervals between frames and increase accuracy
  • 11. •Intensity Normalization: rn = r/(r+g+b) gn = g/(r+g+b) bn = b/(r+g+b) •Independent Component Analysis •Hann Window: Reduces resolution but works better when S/R is low. •Bayes Filtering: Kernel with +/-1 bin change (+/- 3 bpm for a window of 200 frames at 10Hz).
  • 12. •Fast Fourier Transform: Discrete Fourier transforms of the processed signals to get their power spectrum •Band-pass filter: Band-pass filter (0.75 to 1.5) to get the frequency spectrum for the range in which the human pulse can lie. •Peak Detection: Detects maximum power frequency •Parabola estimation •Calculate Pulse
  • 13. •The Pulse Detector can be configured with the help of various parameters like: Number of frames Virtual Sampling Frequency Regions of Interest Use AAM Use ICA Bayes Filter Windowing (Hann) Filter Bands Parabola Estimation
  • 14. •We evaluated the Pulse Detector Unit on the following factors Motion vs Stationary AAM vs Object Tracking Near vs Far (Resolution) Jumping detections vs. Non jumping detection Different ROIs ICA vs No ICA
  • 16. •The analysis and testing was done in Matlab while the entire implementation is in C++ using the Middleware for Robotic Applications (MIRA) framework.
  • 17.
  • 18. Which algorithm is the most promising for usage? • The Object Tracking algorithm is giving better results currently. • The AAM tends to lose the detections on increasing movement. • But a better trained AAM will be more robust because it is more accurate and gives the exact ROI thus effect of small noise becomes negligible.
  • 19. What is the maximum distance of people in the image from where robust pulse extraction is possible? • For stationary images taken using the Kinect sensor we got good results even for face size 107x107 pixels from a 640x480 image. • This was around 80 cm from the camera.
  • 20. To what degree the people can move in the image without losing pulse observation? • A well trained AAM would almost nullify the noise effects, currently face tracking however is not so robust to higher noise (>10 pixels) specially when the person is farther from the camera.
  • 21. What is the minimum duration of a video sequence to allow pulse rate extraction? • 20 second blocks of video are sufficient for pulse rate extraction. We take 20 second sliding window continuously for as long as the video is captured.
  • 22. [1] Remote plethysmographic imaging using ambient light. Verkruysse, W. and Svaasand, L.O. and Nelson, J.S., Optics express, nr. 26, vol. 16, pp. 21434-21445, Optical Society of America, 2008 [2] Eulerian video magnification for revealing subtle changes in the world. Wu, H.Y. and Rubinstein, M. and Shih, E. and Guttag, J. and Durand, F. and Freeman, W., ACM Transactions on Graphics (TOG), nr. 4, vol. 31, pp. 65, ACM, 2012 [3] Non-contact, automated cardiac pulse measurements using video imaging and blind source separation. Poh, M.Z. and McDuff, D.J. and Picard, R.W., Optics Express, nr. 10, vol. 18, pp. 10762-10774, Optical Society of America, 2010