Giter Site home page Giter Site logo

noobdev47 / human-activity-recognition-keras-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dspanah/human-activity-recognition-keras-android

1.0 1.0 0.0 1.51 MB

Sensor-based human activity recognition from smartphone data in Keras with on-device inference

Java 100.00%

human-activity-recognition-keras-android's Introduction

Overview

This is the source code for a sensor-based human activity recognition android app. The model has been built with Keras deep learning library. The classifier has been trained and validated on "Sensors Activity Dataset" by Shoaib et al. which is available for download from here. The dataset contains data for seven activities of daily living including biking, downstairs, jogging, sitting, standing, upstairs, and walking. An LSTM learner has been employed for classification task which achieved an accuracy of 98% on valdiation data. Finally the model has been exported in protobuf format to be used in android app for on-device inference. You can check out the jupyter notebook that goes along to follow all the steps which have been taken to build and export the model.

Screenshots

Dependencies

  • Python 3.6
  • Tensorflow 1.13.1
  • Keras

Instructions

Download Android Studio and then import the android app. The trained model has been inculded in the assets folder of the android app. Since I've placed the dependencies in the build.gradle file, they should be automatically downloaded.

human-activity-recognition-keras-android's People

Contributors

dspanah avatar

Stargazers

 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.