Giter VIP home page Giter VIP logo

pulse-detector's Introduction

webcam-pulse-detector

=============

Overview

C++ implementation of webcam-pulse-detector Python version. The application detects the heart-rate of an individual using a common webcam. It has been tested on OSX 10.8.

Dependencies

All third-party dependencies have been included. Running script has also been provided, use that to run the application. The application has the following dependencies :

  • OpenCV 2.4.8
  • Boost 1.55
  • GNU Scientific Library (GSL) 1.6

If you try to compile and run into errors, most likely you will need to compile the above libraries especially if running a different version of MacOS.

Algorithm

Photoplethysmography is a novel video-based methodology for non-contact, automated cardiac pulse measurements. PPG was first described in the 1930s, as a simple low-cost optical technique to measure the blood volume changes. This method has the ability to sense the cardiovascular pulse wave i.e. blood volume pulse through variations in transmitted or reflected surrounding light. This webcam-based technique uses normal ambient light as a source of illumination for remote acquisition of PPG signals and a simple digital camera. This method takes into account the volumetric changes in the facial blood vessels during the cardiac cycle which modify the path length of the incident ambient light in a way that the subsequent changes in amount of reflected light indicate the timing of cardiovascular events i.e. the pulse.

Limitations

This method is prone to motion-induced signal corruption. Another challenge this method presents is the effectiveness when under the influence of variations in ambient light intensity which can affect the accuracy of physiological assessment. The success of the algorithm relies on good lighting and minimal noise due to motion and under these conditions, a stable heartbeat should be detectable in about 15 seconds.

Running the application

============= Compile using the Makefile and run using the run script provided.

Demo Video

============= This is a demo video of an Emotion Detection app which uses this algorithm. https://www.youtube.com/watch?v=cIABgfEnbGs

pulse-detector's People

Contributors

melfm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pulse-detector's Issues

license

What is the software license of this project?
Sry for bothering you.
I use it in an university project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.