Code Monkey home page Code Monkey logo

OpenSeizureDetector

A suite of open source and open hardware projects designed to detect and alert people to someone suffering from an epileptic seizure (fit).
This is a work in progress at the moment. The most promising version is based on a Pebble Smart Watch to measure movement of the arm during a tonic-clonic seizure. Other prototypes include:

  • Pebble Smart Watch Detector
  • Microsoft Kinect (depth camera) Detection
  • Acceleration Detection
  • Audio Detection
  • Video Detection

Pebble Smart Watch Seizure Detector

See http://openseizuredetector.org.uk

Note that there are separate github repositories for the smart watch seizure detector app (https://github.com/OpenSeizureDetector/Pebble_SD), and the Android Companion App that raises alarms in response to detected seizures (https://github.com/OpenSeizureDetector/Android_Pebble_SD).

Those of you watching this repository for changes to the Pebble Seizure detector should watch the above repositories too, or you will not see updates.

Acceleration Detection

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 threshod 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).

This is a development version so it contains a real time clock and SD card to record the measured spectra to help optimise the device.

My initial intention is to mount this on a floor board on which our son sleeps (he will not sleep in a bed...). It may not be sensitive enough to pick up the movement through the floor, so it may have to be turned into a wearable device.

Audio Detection

No working prototype yet....

Video Detection

Getting there. See http://nerdytoad.blogspot.co.uk/2013/03/first-go-at-video-based-epileptic.html.

Microsoft Kinect (Depth Camera) Detection

This is the most promising looking option at the moment - the depth camera can eliminate background noise very well, leaving just the image of the subject to analyse. It also looks as though it is possible to detect breathing movements in the depth camera image. The thing that is missing at the moment is analysis of the image intensities to calculate rate of breathing. See http://nerdytoad.blogspot.co.uk/search/label/Kinect for examples of images etc.

Graham Jones, 03 January 2014. ([email protected])

Open Seizure Detector's Projects

android_pebble_sd icon android_pebble_sd

The main OpenSeizureDetector Android App, that is published on the Android Play Store.

ann_sd icon ann_sd

An Artificial Neural Network (ANN) based seizure detector

banglesd icon banglesd

A BangleJS watch app that acts as a Bluetooth data source for OpenSeizureDetector

bentv icon bentv

A simple android video player to show the video stream from an IP Camera

bentv_pi icon bentv_pi

Raspberry Pi based camera viewer and alarm annunciator.

dialler icon dialler

An Emergency Dialller App that is called from the main OpenSeizureDetector Android App to raise phone based alarms.

esp8266_sd icon esp8266_sd

A version of the OpenSeizureDetector Pebble Watch App that runs on an ESP8266 wifi module.

fitbit_sd icon fitbit_sd

Seizure Detector using a Fitbit Smartwatch (Fitbit Versa or Fitbit Ionic)

garmin_sd icon garmin_sd

Garmin Watch Seizure Detector - A seizure detector data source based on Garmin IQ watches such as Vivoactive HR

hrmonitor icon hrmonitor

Heart Rate Monitor (uses Bluetooth Heart Rate Monitor)

logview icon logview

A simple graphical Log File Viewer to view OpenSeizureDetector Alarm Logs.

openseizuredatabase icon openseizuredatabase

This repository contains the toolkit to create and proocess the database of seizure and seizure-like data that has been contributed by OpenSeizureDetector users to contribute to research to improve seizure detection algorithms (Open Seizure Toolkit, OSTK).

openseizuredetector icon openseizuredetector

Historical Seizure Detector source code - NOT IN USE - SEE OTHER REPOSITORIES. A suite of open source and open hardware projects designed to detect and alert people to someone suffering from an epileptic seizure (fit). This is a work in progress at the moment, and three different technologies are being developed to see which work best: Accelerometers, Audio Detection and Video Detection.

osdwatch icon osdwatch

Custom Watch Hardware and Software for OpenSeizureDetector

pebble_sd icon pebble_sd

The OpenSeizureDetector Pebble Watch Seizure Detector (That is packaged with the OpenSeizureDetector Android App)

pinetimesd icon pinetimesd

Infinitime Firmware for Pinetime smartwatch, modified to act as OpenSeizureDetector BLE Data Source

seizure_data icon seizure_data

A repository of data recorded during real seizures for reference

smsannunciator icon smsannunciator

Android App to Generate Alarms when an OpenSeizureDetector SMS Alert Is Received

videobehaviourdetector icon videobehaviourdetector

A video based analyser to determine 'odd' behaviour that may indicate a seizure - Based on an Artificial Neural Network

waspossd icon waspossd

Proof of concept waspOS micropython seizure detector app to run on a device such as a PineTime or P8

webapi icon webapi

A RESTful web API for storing and retrieving seizure detector data for classification and analysis - primarily intended to collect 'normal' and 'seizure' labelled data so we can train machine learning algorithms to tell the difference

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.