Giter Club home page Giter Club logo

gesturegaze's Introduction

OBJECTIVE: To empower communication for the hearing-impaired by providing a tool that translates sign language gestures into textual representation in real-time.

MODEL USED: RandomForestClassifier

DESCRIPTION: The system captures hand gestures through a camera, processes them using MediaPipe, and predicts the corresponding sign language character using a trained machine learning model. Utilizing computer vision and machine learning, it detects and interprets hand gestures in real-time, empowering seamless communication for the hearing-impaired.

MODULES:

os: To interact with the operating system, used for file and directory operations.

pickle: Enables the serialization and deserialization of Python objects, employed for saving and loading data.

mediapipe: Offers solutions for various media processing tasks, specifically used for hand landmark detection.

cv2 (OpenCV): A computer vision library used for image and video processing, crucial for capturing and manipulating frames.

sklearn.ensemble: Part of scikit-learn, used for implementing the RandomForestClassifier machine learning model.

sklearn.model_selection: Facilitates data splitting for training and testing the machine learning model.

sklearn.metrics: Includes functions for evaluating the performance of machine learning models, specifically used for accuracy measurement.

numpy: A fundamental package for scientific computing with Python, used for numerical operations and data manipulation.

INSTRUCTIONS:

  1. collect_imgs.py:

    Create the 'data' directory if it doesn't exist

    Define the number of classes and the size of the dataset

    Open a connection to the default camera

    Iterate through each class, capturing and saving images until the dataset size is reached

  2. create_dataset.py

  3. train_classifier.py

  4. inference_clasifier.py:

    Continuous loop for real-time hand gesture recognition

    Read a frame from the camera, process with MediaPipe, and predict and display the corresponding sign language character

gesturegaze's People

Contributors

sarmithavd avatar

Stargazers

 avatar

Watchers

Kostas Georgiou 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.