Code Monkey home page Code Monkey logo

realtime-fall-detection-for-rnn's Introduction

Real-time Fall Detection for RNN(AFD-RNN)

result picture illustrate:

  • The red,green,blue lines is acceleration sensor's x,y,z data。
  • In the picture ,"correct" is the ground truth,"predict" is AFD-RNN network predict data
  • Fall1、Fall2、Fall3 and Fall4 are represent Forward-lying,Front-knees-lying,Back-sitting-chair,Sideward-lying

AFD-RNN using RNN

The sensors(acceleration and gyroscope sensor) is realtime to collect data,so we using rnn to detect the people movement.

Requirenment

  • TensorFlow >= 1.4
  • python3
  • matplotlib

Class

Sitting,standing,stand to sit,sit to stand,upstairs,downstairs,lying,jumping,joging,walking and fall.

Train and test

1.Train data

  • The data collect frequence is 50Hz
  • Need acceleration and gyroscope sensor

2.Before training

Put the train data to ./dataset/train/,and use kalman filter to handle the data.

python utils.py

3.Training

python train_rnn.py

4.Testing

Put the test data to ./dataset/test/,and use kalman filter to handle the data.

python run_rnn.py

Dataset

We using public dataset MobileFall to train and test our net.

I upload the dataset at Baidu网盘,if you cant download from MobileFall,you can try this

The final accuracy is 98.78%

realtime-fall-detection-for-rnn's People

Contributors

chizhanyuefeng avatar

Watchers

 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.