Code Monkey home page Code Monkey logo

fd-cnn's Introduction

AFD-CNN(ADL and Fall Detection Convolutional Neural Networks)

our paper[https://ieeexplore.ieee.org/document/8662651]

Sensor data to img

if the 3-axes of the human motion model are considered as the 3 channels of a RGB image, the value of the XYZ axial data can be mapped into the value of the RGB channel data in a RGB image respectively. Namely, each 3-axial data can be converted into an RGB pixel. The 400 pieces of 3-axial data cached in the sliding window can be viewed as a bitmap with size of 20 or 20 pixels.

you can use .utils.transform.data2image func to make sensor data to img

image_2

ADLs and fall data graph

image_3 image_4 image_5 image_5

sensor data to img

image_7

Net construct

we use imgs to train our network

image_1

Net performance

  • accuracy = 0.978718
Class Sensitivity Specificity
Fall 1.000000 0.998654
Walk 0.969072 1.000000
Jog 0.983051 0.993243
Jump 0.948980 0.998684
up stair 0.989474 0.997379
down stair 0.967213 0.991848
stand to sit 0.981481 0.998667
sit to stand 0.990476 0.997344
Average 0.978718 0.996977

Requirenments

  • python3
  • tensorflow 1.4.0
  • pandas
  • numpy
  • matplotlib

How to train and test

python ./src/cnn.py

Dataset

we need two public datasets.

fd-cnn's People

Contributors

chizhanyuefeng avatar faunazhang avatar ylixiao 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.