Coder Social home page Coder Social logo

sousannah / hand-gestures-recognition-using-cnn Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.99 MB

License: MIT License

Jupyter Notebook 99.87% Python 0.13%
asl asl-recognizer cnn computer-vision handgesture handgesture-recognition kaggle kaggle-dataset keras opencv python real-time-detection tensorflow

hand-gestures-recognition-using-cnn's Introduction

CNN Hand Gesture Recognition

This project implements a Convolutional Neural Network (CNN) for hand gesture recognition using TensorFlow and OpenCV. The CNN is trained on a dataset containing hand gesture images labeled with corresponding letters. The trained model is then utilized for real-time hand gesture recognition through a webcam.

Example Detection

Hand Gesture Detection Example

Table of Contents

Installation

  1. Clone the repository:
git clone https://github.com/Sousannah/hand-gestures-recognition-using-cnn
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

Training the Model

To train the CNN model, run the cnn_train_model01.py script. This script loads hand gesture images from a specified directory, preprocesses the data, splits it into training, validation, and test sets, builds and trains the CNN model, and saves the trained model.

python cnn_train_model01.py

Real-Time Detection

There are two scripts available for real-time hand gesture detection:

  1. real_time_detection.py: This script performs real-time hand gesture recognition using the trained CNN model and displays the recognized gestures along with confidence scores on the screen.
python real_time_detection.py
  1. real_time_detection_with_sound.py: Similar to the previous script, but this one also utilizes text-to-speech functionality to announce the recognized gestures audibly.
python real_time_detection_with_sound.py

Dataset

-The dataset used in this project is sourced from Kaggle. You can download it from here. -I have only used 'A', 'B', 'C', 'F', 'K', 'Y' Classes for training

hand-gestures-recognition-using-cnn's People

Contributors

sousannah avatar

Watchers

 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.