Skip to content
@discuss-gh5

Lingclusive

A multination hand sign language translation made for Garuda Hacks 5! Powered by pyTorch and Mediapipe

Lingclusive

This is a Multination Handsign Translator project that uses Mediapipe and PyTorch to recognize hand gestures. The system collects data from images or real-time video, preprocesses the data, trains a neural network model, and predicts gestures from live video input. The project consists of several scripts for data collection, preprocessing, model training, and prediction. The systems then feed these data to the camera on the webapp.

Setup Instructions

Prerequisites

  • Flask >= 3.0.3
  • Flask_cors >= 4.0.1
  • Mediapipe >= 0.10.14
  • Numpy >= 2.0.0
  • Pandas >= 2.2.2
  • Pillow >= 10.4.0
  • Scikit_learn >= 1.5.1
  • Torch >= 2.3.1

Installation

  1. Clone the repository:
  git clone https://github.com/discuss-gh5/backend.git
  git clone https://github.com/discuss-gh5/frontend.git
  1. Install the required packages:
cd backend
pip install -r requirements.txt
  1. Set up environment variables in backend repository:

Rename env to .env and update the paths accordingly:

MODEL_ADDRESS           = "model"
IMAGE_ADDRESS           = "images"
CURRENT_KEYPOINT_NAME   = "all_keypoint"

Run Locally

Assuming you have cloned the repo, you can run the Flask app to use the gesture recognition system via a web interface. Start the local server by running:

  python app.py

You should also run the local host in frontend/index.html

Popular repositories Loading

  1. backend backend Public

    Python

  2. frontend frontend Public

    HTML

  3. .github .github Public

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…