akmeraki / Alphabet-recognition-from-Gestures

This project recognizes alphabet gestures real time using the camera feed. The project uses two ML models for prediction, one is using a CNN and the other uses normal neural networks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Alphabet Recognition from Gestures

This deep learning application in python recognizes alphabet through gestures captured real time on a webcam. The user is allowed to write the alphabet on the screen using an object-of-interest.

Working Implementation

Resource Requirements

The code is in Python (version 3.6 or higher). You also need to install OpenCV and Keras (2.1.4 version) and tensorflow (1.5 version) libraries.

Data Description

A popular demonstration of the capability of deep learning techniques is object recognition in image data.

The "Extended Hello World" of object recognition for machine learning and deep learning is the EMNIST dataset for handwritten letters recognition. It is an extended version of the MNIST dataset.

A set of sample images is shown below.

Each of the letters is stored as a numbered array as shown below.

A Multilayer Perceptron (MLP) model as well as a Convolutional Neural Network (CNN) model using Keras library. The predictions of both the models are shown on the screen in real time.

The Test accuracies were as follows:

  • MLP Test Accuracy: 91.7%
  • CNN Test Accuracy: 93.1%

For both the models, I actually used the exact same architectures I implemented in the Digits Recognition project (for obvious 'extended' reasons).

##Execution

Execute mlp_model.py for bulding the Model architecture using Multilayer Perceptron Network

Execute cnn_model.py for building the Model architecture using Convolutional Neural Network.

Execute alpha_recog.py to run the Alphabet detection code.

About

This project recognizes alphabet gestures real time using the camera feed. The project uses two ML models for prediction, one is using a CNN and the other uses normal neural networks.

License:MIT License


Languages

Language:Python 100.0%