In this project, to create a hand sign detector. We will use American Sign Language as an example. This project will include both detection and classification. And yes we will use our own data to train the model.
- Collect a dataset of hand sign imagest.
- Preprocess the images.
- Detect the hand.
- Extract the hand region.
- Detect the hand sign.
- Display the detected sign
!
This is a sample for Open-Cv Project. Hand sign detection for American Sign Language (ASL) can be done using computer vision.In this project, how to create a hand sign detector. We will use American Sign Language as an example. This project will include both detection and classification. And yes we will use our own data to train the model.. You can install virtualenv with
pip install virtualenv
Clone or download this repository and open it in your editor of choice. In a terminal (mac/linux) or windows terminal, run the following command in the base directory of this project
virtualenv venv
That will create a new folder env
in your project directory. Next activate it with this command on mac/linux:
source venv/bin/active
Then install the project dependencies with
pip install -r requirements.txt
This Library FOR create the dataset
import time
import cv2
from cvzone.HandTrackingModule import HandDetector
import numpy as np
import math
with using main.py and Train and Test . The Data by use
https://teachablemachine.withgoogle.com/
Create a test.py to test
python manage.py createsuperuser
This Library FOR Test the dataset
import cv2
from cvzone.HandTrackingModule import HandDetector
import numpy as np
import math
from cvzone.ClassificationModule import Classifier
Now you can run the project with this command
python manage.py runserver
Light Mode |
Dark Mode |