Giter Club home page Giter Club 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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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

数据切分问题

您好,关于这个mobiact数据集,跌倒数据的采集时间为15s,那请问您还是怎么从这15s的数据中切分出来属于跌倒的数据的呢?

run trian_rnn.py的时候遇到了这个问题:'DataFrame' object has no attribute 'acc_x'

File "Realtime-Fall-Detection-for-RNN-master\data_load.py", line 29, in get_batch
data_size = len(self._all_data.acc_x.values)
AttributeError: 'DataFrame' object has no attribute 'acc_x'
我查阅了很多资料,自己感觉应该是matplotlib的版本不对,我的matplotlib版本是2.2.4,但是目前不确定是不是版本的问题还是别的问题,希望大佬指导下

训练集与测试集的划分?

您好!1、请问下训练集与测试集你是怎么划分的?我看你训练集是以50hz采样得到的,那测试集怎么得到,采样的话有可能得到重复的吧 ,还是手动划分?2 训练集是先采样得到后经过卡尔曼滤波的吧?这个和原始数据先经过卡尔曼滤波再采样得到的结果应该是一样的吧? 谢谢了

python utils.py 无法做训练前预处理

感谢作者的分享。
我下载了数据集,放在./dataset/train/路径下,
运行python utils.py,在终端打印处理信息,会显示在处理.csv文件,
可是什么处理结果都没有。
想请问下:正常情况下,输出的结果是什么?

Thank You!!!!!

I've been looking for this dataset for a long time, the download link on the official website failed, finally I found it here !!!!!!! Thank you!

数据集的处理

您好,我刚开始学习方面的知识,有幸看到了您的代码,想问你一下那个csv文件在网站中下载不到,想问一下您方便上传一下csv文件,或者简单说一下是如何处理得到csv文件的呢!谢谢啦

跌倒检测交流

你好,我正在作这方面研究,请问下有好的公开的数据集吗,qq1437213444

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.