/PPG_AndroidVersion

Android application to demonstrate real time PPG using OpenCV

Primary LanguageJava

PPG_AndroidVersion

Android application to demonstrate real time PPG using OpenCV

This Android app will measure the heartbeat in beats per minute of the user using a smartphone camera.

  • Works with android v5.1.1
  • Requires OpenCV Manager preinstalled on device

Steps to install the app.
NOTE: This app is currently for for android lollipop v5.1.1 . I'll add the apks for other versions shortly

  1. If you are a git user fork this repo. Otherwise you can download the project as a .zip file.
  2. Copy the .apk file present in the /apk/ directory into you phone's internal storage / SD card.
  3. In your smartphone click on the .apk file to install it. Make sure you have marked "Install apps from SD card" option set, otherwise android will not allow you to install this app.
  4. That's it!

Using the app

  1. When you launch the app for the first time you might get a prompt asking you to install OpenCV manager if the same is not installed already on your phone. Please click yes and install the same. OpenCV manager is a required dependency for this app.
  2. Gently place your finger on your camera lens and start the app. Once the flashlight turns on you should see a complete red preview on the UI. (If your finger is not correctly placed the app might produce errors)
  3. Wait till the text colour of the BPM value changes to green
NOTE : The blue colour values are approximations and might be errorneus. The green colour indicates sufficient samples have been collected thus the vaule is reliable

DISCLAIMER : This is just an experimental app and the user should not intend to use it for medical purposes