Coder Social home page Coder Social logo

heart-rate-tracker's Introduction

Heart Rate Tracker using Camera

Overview

This project is a Python-based application using Flask to implement a camera-based system for heart rate detection, inspired by the research paper A Remote Photoplethysmography-Based Heart Rate Monitoring System Using a Low-Cost Camera: A Preliminary Study.

Project Description

The goal of this project is to detect the user's heart rate through a camera, leveraging human skin color changes related to blood circulation, which are imperceptible to the naked eye. The implementation involves spatial and temporal processing of video feeds to amplify subtle facial variations, allowing for accurate heart rate monitoring.

Features

  • Heart Rate Detection: The system uses a camera to monitor subtle changes in skin color, allowing for non-intrusive heart rate monitoring.

  • Spatial and Temporal Processing: Video feeds undergo spatial and temporal processing to enhance the visibility of facial variations associated with blood circulation.

How it Works

  1. Camera-based Monitoring: The user places their face in front of the camera, and the system captures video feeds.

  2. Color Changes Detection: The application analyzes color changes in the skin, particularly those related to blood circulation.

  3. Spatial and Temporal Processing: The captured video undergoes spatial and temporal processing to amplify subtle facial variations.

  4. Heart Rate Calculation: The processed video data is used to calculate the user's heart rate.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/heart-rate-tracker.git
  2. Install dependencies:

    pip install -r requirements.txt
  3. Run the Flask application:

    python app.py

    Visit http://localhost:5000 in your web browser to access the application.

Usage

  • Open the application in a web browser.
  • Allow camera access.
  • Position your face in front of the camera.
  • The application will detect and display your heart rate in real-time.

References

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the license terms.

heart-rate-tracker's People

Contributors

conero007 avatar mizan-ali avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mizan-ali

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.