GithubHelp home page GithubHelp logo

ajaypal-singh-gill / indian-sign-language-recognition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karthikeyu/indian-sign-language-recognition

0.0 0.0 1.0 293.71 MB

This repository contains python implementation for recognizing Indian sign language (ISL) gestures for deaf and dumb people.

License: MIT License

Python 100.00%

indian-sign-language-recognition's Introduction

Indian-sign-language-recognition

Hello, This repository contains python implementation for recognising Indian sign language (ISL) gestures. As there is less research, there is no standard dataset avialable in the web. So, we decided to create my own dataset of gesture images. ISL dataset have all alphabets (A-Z) and numerics (1-9) with total classes = 35. Each class has 1200 images. ISL gestures are practically hard to recognise as two hands are involved and because of complexity. To classify images, Bag-of-words (bow) model has been implemented with SVM. 70:30 ratio has been used for train and test to split. Using this method, the model gives 99% accuracy approximatly with very less error rate.

Gestures

All the gestures used in the dataset are in the shown below image with labels.

image

Required setup

  • python 2.7 (Does not work with upper versions as openCV does not support SURF features)
  • opencv-python==3.4.2.16
  • opencv-contrib-python==3.4.2.16
  • numpy
  • imutils

Implementation

The implementation follows several steps:

i) Image segmentation (masking to get raw skin and edges in the image)
ii) SURF Feature detection (finding feature descriptors for all data)
iii) K-means clustering (Codebook generation: to cluster all features and to get visual words (bow))
iv) Histograms computation (Using visual words (bow) compute histograms for each image)
v) SVM model for classification (input: histograms, output: predection for testdata)

Results

As the dataset images are much similar, the model has given with highest accurecy 99% with less error rate.

A demo can be watched here: https://youtu.be/8wj0D_wCf3g

Run files

Run files in order:
Step 1: (Optional) To create your own Dataset run

python image_capture.py

Step 2: If you want to use our dataset download from below and extract it in the root directory of the repository. Then run

python imagePreprocessing.py

to preprocess all the images (from raw images to histograms of bovw model) and to classify using SVM.

Step 3: To visualise the confusion matrix run the file

python visualise.py

Dataset can be downloaded from : https://drive.google.com/open?id=1keWr7-X8aR4YMotY2m8SlEHlyruDDdVi

Credits

Research paper:

https://www.iosrjournals.org/iosr-jce/papers/Vol22-issue3/Series-1/B2203011419.pdf

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.