OpenSeizureDetector / Android_Pebble_SD

The main OpenSeizureDetector Android App, that is published on the Android Play Store.
http://openseizuredetector.org.uk
GNU General Public License v3.0
9 stars 11 forks source link

OpenSeizureDetector - Android App

This repository contains the source code for the main (OpenSeizureDetector)[https://www.openseizuredetector.org.uk/] Android App, which is published on (Google Play Store)[https://play.google.com/store/apps/details?id=uk.org.openseizuredetector].

This seizure detector uses a Garmin smart watch to collect movement (acceleration) and heart rate data which is used to detect tonic-clonic epileptic seizures.
See (the OpenSeizureDetector Web Site)[https://www.openseizuredetector.org.uk/] for more details.

Principle of Operation

It is based on an accelerometer monitoring movement. It uses a fourier transform to extract the frequency spectrum of the movement, and monitors movements in a given frequency band. The idea is that it will detect the rhythmic movements associated with a seizure, but not normal day to day activities.

If the acceleration within the given frequency band is more than a threshold value, it starts a timer. If the acceleration remains above the threshold for a given period, it issues a warning beep. If it remains above the threshold for a longer specified period, the unit alarms (continuous tone rather than beep).

Development

Git Branches

So new developers wishing to implement features should create a fork of the Alpha branch and create a pull request agains that.

Compilation

Installation

Note that the Garmin watch app needs to be installed separately - see the (web site)[https://www.openseizuredetector.org.uk/?page_id=1128] for details.

Code Structure

Licence

My code is licenced under the GNU Public Licence - for associated libraries please see Credits below.

Credits

The following libraries are used:

Logo based on "Star of life2" by Verdy p - Own work. Licensed under Public Domain via Wikimedia Commons.

Alarm Bell Icon by Pixel perfect from www.flaticon.com

Other icons crated using http://romannurik.github.io/AndroidAssetStudio.

Audio Alarm sounds from freesound https://freesound.org/people/coltonmanz/sounds/381382/, https://freesound.org/people/NoiseCollector/sounds/4270/, https://freesound.org/people/pistak23/sounds/271632/

Graham Jones, 03 December 2017. (graham@openseizuredetector.org.uk)