Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/YahyaOdeh/HealthWatcher

Android Application that can estimate Heart rate, Blood pressure, Respiration rate and Oxygen rate from only the camera of the mobile
https://github.com/YahyaOdeh/HealthWatcher

android blood blood-pressure camera estimate-heart-rate frame heart heart-rate heartbeat intensities oxygen-rate respiration-rate spo spo2 vital-signs

Last synced: about 2 months ago
JSON representation

Android Application that can estimate Heart rate, Blood pressure, Respiration rate and Oxygen rate from only the camera of the mobile

Awesome Lists containing this project

README

        

Health Watcher
===================

Is an android Application that can estimate Heart rate, Blood pressure, Respiration rate and Oxygen rate from only the camera of the mobile without using any extra sensors.

First I want to point that I used filters from here : https://github.com/berndporr/iirj
also I used the Fast Fourier transform code from here : https://github.com/danialgoodwin/android-app-contactless-vital-signs

Both the used Bandpass filter and the Fast Fourier transform java files are inside the Math package.

This application uses the PPG signal which will be obtained from the mobile camera, only by applying image processing method on each frame to get the RGB intensities, each of them contains the PPG signal that will be processed to estimate the four vital signs.

Our main goal from this project was to get good accuracy from the camera of the mobile compared to commercial devices.

The Application was tested on Sony Xperia Z2, the application problem that it is hardware dependent so it needs more testing. The Camera or the flash of each mobile can affect the reliability of the application, So the application should be modified to be more universal.
I used a sqlite local database for users’ privacy purposes, since critical information about the user must be entered to calculate the blood pressure like age, weight, height and gender.

How the processes works
-------------

A preview for 30 seconds of recording will be processed frame by frame to get the intensities of RBG colors on each frame.

(Heart rate)

Red and Green intensities will be stored in an array that will be applied on a Fast Fourier Transform, on the resultant array the highest peak after neglecting the noise which will be on the first few stored data will contain the frequency of the heart rate on 1 second, after that the heart beat will be estimated. (Fft)

----------

(Blood pressure)

After estimating the heart rate, blood pressure can be estimated by using some equation which will be mentioned in the references.

----------

(Respiration Rate)

Same as Heart Rate, the difference is a bandpass filter must be applied from 0.1 Hz to 0.4Hz with 0.2Hz center frequency to get the Respiration rate. (Fft2)

----------
(Oxygen Saturation Level)

Ac and Dc signals must be obtained from the PPG signal. Dc signal is the mean values of the Red and Blue intensities for the whole period of time, while the Ac Signal is the Standard Deviation and it can be calculated as follows from here : https://en.wikipedia.org/wiki/Standard_deviation

ِApplication Apk for testing
-------------------

Direct Link to download the Application to test it:
https://drive.google.com/file/d/0Bxq6lYtmxVbtN0J6QklOdmRuZVU/view?usp=sharing&resourcekey=0-IaT70S-qZJNk_Aj787PwZA

References
-------------

Oxygen Saturation Level (SPo2)

A. . K. Kanva, C. J. Sharma and S. Deb, "Determination of SpO2 and Heart-rate using Smartphone,International Conference on Control, Instrumentation, Energy & Communication, New Delhi, India, 2014.

(Heart Rate & Respiration Rate)

EXTRACTING HEART RATE AND RESPIRATION RATE USING A CELL PHONE CAMERA
http://dreuarchive.cra.org/2013/Jimenez/documents/EXTRACTING%20HEART%20RATE%20AND%20RESPIRATION%20RATE%20USING%20A%20CELL%20PHONE%20CAMERA.pdf

(Blood Pressure)

MEASURING VITAL SIGNS USING SMART PHONES by B. Vikram Chandrasekaran.
https://pdfs.semanticscholar.org/7883/0cf36262f92049a7b4348813b3a7734f5287.pdf

(Image Processing)

https://software.intel.com/en-us/android/articles/trusted-tools-in-the-new-android-world-optimization-techniques-from-intel-sse-intrinsics-to

Extra Papers:

[1]
M. J. Gregoski, M. Mueller, A. Vertegel, A. Shaporev, B. Jackson, R. M. Frenzel, S. M. Sprehn and F.
Treiber, "Development and Validation of a Smartphone Heart Rate," International Journal of Telemedicine
and Applications, vol. 2012, no. 1, pp. 1-7, 2011.
[2]
V. Chandrasekaran, R. Dantu, S. Jonnada, S. Thiyagaraja and K. P. Subbu, "Cuffless Differential Blood
Pressure Estimation," IEEE TRANSACTIONS ON BIOMEDICAL ENGINEERING, vol. 60, no. 4,
pp. 1080-1089, 2013.
[3]
Y. Nam, B. A. Reyes and K. H. Chon, "Estimation of Respiratory Rates Using the," Biomedical and Health
Informatics, vol. 20, no. 6, pp. 1493 - 1501 , 2015.
[4]
D. G. L. S. D.L.Carnì, "Setting–up of PPG Scaling Factors for SpO2% Evaluation by Smartphone," in
Conference, Benevento, Italy, 2016.

> **Note:** This Project was Made as a Graduation Project at Princess Sumaya university for Technology (Jordan), under Eng. Mohammad Taha supervision.
This Application is shared to be enhanced and tested more and more, so contribution is welcomed to see a more reliable and scientific Health Vital signs application in the near future..