Coder Social home page Coder Social logo

shreyanshagrawal / emergency-signal-recognition-for-the-hearing-impaired-using-multichannel-cnn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aasf-iiitm/emergency-signal-recognition-for-the-hearing-impaired-using-multichannel-cnn

0.0 0.0 0.0 23.31 MB

Jupyter Notebook 99.68% Python 0.31% HTML 0.01%

emergency-signal-recognition-for-the-hearing-impaired-using-multichannel-cnn's Introduction

Emergency-Signal-Recognition-for-the-Hearing-Impaired-using-Multichannel-CNN

GitHub issues GitHub Hacktoberfest combined status PRs Welcome Open Source Love

We live in a world where auditory means are used to warn people of Emergency situations. For the hearing impaired, comprehending such auditory signals becomes impossible. So this system aims to notify the hearing imapired of the emergency situations by identifying emergency signals such as Police sirens, Ambulance siren, Fire alarms. The task is classify the background audio signal as emergency or non-emergency. This model can be deployed in an Android app that vibrates to notify the hearing impaired in the case of an emergency. Further this can be deployed on a smart-watch or a fitness band.

Dataset

The dataset used was Google's Audioset. A part of Audioset was used for this study, out of the 632 event classes present in Audioset only 35 classes were used. Classes such as Sirens, alarms, buzzers were marked as emergency while sounds of wind, traffic noises, rain, etc. were marked as non-emergency. The file data_aquisition.py consists of the python script for extracting the 10 second audio-clips from the video links in Audioset csv file. To extract the data run that script, and change the target folder to the desired directory. You can find the csv file from here<

Data Preprocessing

  • Converting raw audio clips to Mel spectrograms by making use of Librosa library. alt text
  • Using traditional audio augmentation techniques such as adding white noise, time stretching, time shifting to increase the size of training data.
  • Using Mixup augmentation technique for effectively generating new clips from existing ones.

Learning Model

A multichannel CNN architecture was implemented, which made use of 4 different channels to extract features from spectrograms, and then the 4 channels are merged using the Add() layer in Keras. alt text

App Deployment

The model was deployed as an android app that sensed and recorded sounds from the environment. In case of any emergency sounds, the phone was made to vibrate.
alt text
You can find the android app code here.

Requirements

  • Python 3
  • Numpy
  • Librosa
  • Keras
  • Matplotlib
  • Seaborn
  • Sklearn

emergency-signal-recognition-for-the-hearing-impaired-using-multichannel-cnn's People

Contributors

paddy-03 avatar juhitiwari avatar rshivam08 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.