Git Product home page Git Product logo

motion-detection-via-ml's Introduction

Motion Detection using Machine learning on Edge Impulse

The repo contains the implementation of a motion detection device that detects the up-down, right-left, circular and idle motion of the target machine i.e. mobile phone or any supported board

Data Collection

Connect your phone to the Edge Impulse platform once your phone is connected start collecting by clicking starting recording on your phone

           

Now shake your phone right-left 10 to 20 times and do the same for up-down and circular motion. For idleness leave your phone and on a plane desk and then record. Your data will appear in the Data Acquisition section don't forget to label your data.

Feature Extraction

Head to the Impulse design page in your project. Add a Spectral Analysis processing block. Add a Classification-BrainChip Akida and a K-means Anomaly Detection block to the learning blocks section. After saving impulse head on to the spectral features and generate features.

Model Training

Head to the Classification-BrainChip Akida page in your project. Click Start Training. After a few minutes, the model should be done training. Now you can monitor the accuracy of the Model

Now go to the Anomaly detection page and select the features to train. I have selected RMS values of acceleration along the x, y, and z axis.

                 

Model Deployment

Go to the Deployment Page and Scan the QR code using your phone.

The model predicts the probability of the state of the device. If the device is idle the probability of idle will be one and same goes for the up-down, right-left and circular motion.

motion-detection-via-ml's People

Contributors

muslim-314 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.