Giter Site home page Giter Site logo

anshulhedau / pehchaan-the-identifier Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 3.0 17.65 MB

Material prediction with the use of an ultrasonic sensor.

Jupyter Notebook 97.72% C++ 0.06% Java 1.64% Python 0.19% HTML 0.38%
arduino machine-learning python android material-detection ultrasonic-sensor flask

pehchaan-the-identifier's Introduction

Pehchaan - The Identifier

Pehchaan is the Hindi term for "recognise".

In this project, we devise a novel method for detection of the material of an object. This proof-of-concept consists of an ultrasonic sensor being kept at an established distance from the material. The various steps in this method include:

  • Data acquisition & visualisation module: The data is collected and analyzed to establish several features on which the signal varies for different materials.
  • Machine learning module: These are fed into an SVM algorithm which is able to predict the material with considerable accuracy.
  • Consumer module: A companion mobile application has been developed which would allow the user to directly see the predictions.

Associated files

  1. API Interface (Flask): This folder contains the files associated with the development of the web API which is being hosted on Heroku. It also contains the trained machine learning model as a pickle file.

  2. Data Acquisition (Arduino): This folder contains the .ino file which is loaded in the Arduino board to allow for the collection of the related datasets.

  3. Data Analysis (Python): Various files related to the analysis of the collected data from the acquisition module. The various files in this folder include:

    • datasets - This folder contains all the acquired datasets for the different materials.
    • Data Acquisition.ipynb - This file uses the Python libraries to get data from the serial port of Arduino board and store them in CSV files.
    • Data Classification.ipynb - The visualisation of the data, extraction of the parameters and training of SVM algorithm is done in this file.
    • Offline Prediction.ipynb - This file allows for the offline prediction of the material with the pre-trained model.
    • Online Prediction.ipynb - This file does the required processing of the acquired data and sends them to Heroku API for prediction purposes.
  4. Data Visualisation (Android): This folder has the consumer facing Android application which displays the confidence values for the different materials.

Component diagram

Experimental setup

Android application

Results

We have identified a robust technique for the detection of the material of any object with the use of an ultrasonic sensor. The extraction of 11 different parameters formed a very important part of the analysis of the datasets to allow for successful prediction of the material with the use of any testing data.

The below plot on the left shows the values for the different materials and the one of the right shows the distribution of mean & median for the data.

Project details

This project was developed as part of our final year project of B.Tech - Computer Science at Vellore Institute of Technology, Vellore. The group consisted of Anshul Hedau and Dheeraj Nair.

pehchaan-the-identifier's People

Contributors

anshulhedau avatar dheeraj1998 avatar

Stargazers

 avatar

Watchers

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