Giter Club home page Giter Club logo

heartrate_estimation's Introduction

heartrate_estimation

Vision-based heart rate estimation using OAK-D camera

Install dependencies

On a Raspberry Pi 4B or a PC with Ubuntu/Debian, run in terminal:

git clone https://github.com/cortictechnology/heartrate_estimation.git
cd heartrate_estimation
bash install_dependencies.sh

To run

  1. Make sure the OAK-D device is plug into the Pi or PC.
  2. In the terminal, run
python3 main.py

To steadily measure the heart rate, we use a threshold value to determine if there is a change in the environment's light settings. You can set this value with the --pixel_thresh option.

python3 main.py --pixel_thresh 2.0

The default value for --pixel_thresh is 1.5. You will need to adjust this value based on your own light settings. If the value is too low, the program may be too sensitive and never obtain a steady heart rate signal. If the value is too high, the program may extract an inaccurate heart rate signal.

Model description

In the models folder, only one model is provided:

  1. face-detection-retail-0004_openvino_2021.2_6shave.blob: Face detection nework from depthai-experiments

heartrate_estimation's People

Contributors

michaelhwn avatar

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.