A real-time hand gesture detection project using deep learning and computer vision. The system detects hand gestures through a webcam and uses trained models to recognize gestures and perform corresponding actions.
- Real-time hand gesture detection
- Webcam-based input
- LSTM-based gesture recognition
- Trained deep learning models
- Gesture-based action control
- Real-time prediction
- Python
- TensorFlow / Keras
- OpenCV
- NumPy
- MediaPipe
- LSTM
gesture_detection/
│
├── data/
├── gesture_data/
├── collect_data.py
├── train_model.py
├── train_lstm.py
├── realtime_lstm.py
├── live_detection.py
├── gui_simulation.py
├── train_model.py
├── class_labels.json
├── requirements.txt
└── README.md
Clone the repository:
git clone https://github.com/PiyushRaj282/gesture_detection.git
cd gesture_detectionInstall the required libraries:
pip install -r requirements.txtTo collect gesture data:
python collect_data.pyTo train the model:
python train_model.pyTo run real-time gesture detection:
python live_detection.pyWebcam
↓
Hand Detection
↓
Feature Extraction
↓
LSTM Model
↓
Gesture Prediction
↓
Action / Output
- Human-computer interaction
- Touchless controls
- Sign and gesture recognition
- Smart device control
- Computer vision applications