Code Monkey home page Code Monkey logo

sign-language-detection's Introduction

Sign Language Detection

Unlock the power of communication with our Sign Language Detection project! This innovative project uses OpenCV and the MediaPipe Hand module to recognize American Sign Language (ASL) letters. With a dataset containing 100 samples for each of the 26 letters, the project is ready to go for ASL recognition. Whether you're directly detecting ASL or want to customize it for another alphabet, we've got you covered!

Table of Contents

Requirements

  • opencv-python==4.7.0.68
  • mediapipe==0.9.0.1
  • scikit-learn==1.2.0

Installation

Install the requirements using:

pip install opencv-python mediapipe numpy tensorflow 

Usage

To start recognizing ASL letters, simply run the camera_demo.py file:

python camera_demo.py

If you want to train the model for a different alphabet, follow these steps:

  • Collect data by running collect_imgs.py:

    python collect_imgs.py
  • Process the collected images into a dataset using create_dataset.py:

    python create_dataset.py
  • Train your model with the new dataset using train_model.py:

    python train_model.py
  • Run the demo with the trained model using camera_demo.py. Ensure the model path in camera_demo.py is correctly set.

Important Notes

Before running camera_demo.py, make sure the model path is correctly set to the trained model in the script.

Contributing

We welcome contributions! If you want to contribute, please send a pull request or open an issue. Your feedback and contributions are highly valued.

sign-language-detection's People

Contributors

azekarabay avatar

Stargazers

 avatar

Watchers

 avatar  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.