Skip to content

vibhusehra/Gesture-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gesture Calculator

Gesture Calculator is a gesture recognition program which can detect counting from 0-9 using hand gestures. After detecting 2 hand gestures, it calculates the sum of the predicted gestures and displays the output.
Gesture Recognition was done with the help of CNN algorithm, which is a great algorithm for image related problems.
The dataset was created with the help of openCV library by capturing frames from the webcam.

Prerequisites

Libraries Required:

  • tensorflow 1.3.0
  • keras 2.2.4
  • numpy 1.13.1
  • opencv-contrib-python 4.0.0.21

Working

  1. First we create a dataset for our classifier. We capture 1200 images for each class. The image is preprocessed(Thresholding,masking,etc). Later data augmentation is done to increase the data
  2. Train the CNN algorithm on the created dataset. A custom CNN model was created in this project. Transfer learning can also be used. Save the weights obtained after training
  3. The weights are used to classify the gestures in real time. When 2 gestures are obtained, the sum is displayed

Demo

Nine + Eight :-------------------------:|:-------------------------: |

Validation Accuracy

99.0%

About

This program uses opencv and CNN to recognize gestures and calculate the sum from the values recognized by the model

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors