Giter Site home page Giter Site logo

mkowalsky0 / human_activities_recognition Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 38.94 MB

:microscope: Checking how the CNN neural network deals with HAR using inertial sensors from the smartphone.

License: MIT License

Jupyter Notebook 95.85% PureBasic 1.90% Java 2.25%
cnn deeplearning sensors accelerometer androidstudio gyroscope java jupyter-notebook keras python

human_activities_recognition's Introduction

Human Activities Recognition Mobile Application

Hi, I'm Mike. Welcome in my project!

Introduction

Technologies

Python TensorFlow Jupyter Java AndroidStudio
  • Python v. 3.10.1
  • TensorFlow v. 2.9.1 n Keras
  • Jupyter Notebook
  • Java v. 8
  • Android Studio v. 2020.3.1

Description

This project has three main steps:

  1. Signal Processing

raw signals processing, noises filtering: 3rd order Butterworth filter, separating the gravity component: high-pass filter, windowing signals, normalisation, division of the data into training and testing components, matching the shape to the CNN model, signals visualisation

  • Example of the Data Frame with values after the signals processing:

DATA

  • Histogram with the obtained data samples:

TEST/TRAIN

  1. CNN Model Design

designing a CNN model, training and testing process, fitting and evaluating, parameters visualisation

  • CNN model:

CNN Model

  • Quality of the CNN model:

Classification report

๐Ÿ”ฌ MODEL ACCURACY: 95,03%

  1. Mobile Application

the mobile application based on CNN model to clasificate 6 motion activities in real-time:

1. WALKING 2. WALKING UPSTAIRS 3. WALKING DOWNSTAIRS 4. SITTING 5. STANDING 6. LAYING

  • Application Interface:
Interface Interface

๐Ÿ™‹ How to place the phone on the body:

๐Ÿ“ฑ Phone axes:

Phone axes

Conclusions

The application has been tested on a group of people aged 25, 27 and 45. The results of the above program were satisfactory. The application is very good at classifying activities with indexes 1, 3, 4 and 6, while it makes occasional errors when classifying activities with indexes 2 and 5. This model is an excellent basis for further research into creating a useful application for motion recognition.

License

MIT License

I'M GLAD FOR YOUR ATTENTION!

human_activities_recognition's People

Contributors

mkowalsky0 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.