Skip to content

jagdeeshjk/Hand_control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

--

Gesture and Voice Control System

A robust system that leverages Azure Cognitive Services for speech recognition and MediaPipe for gesture recognition, enabling intuitive voice commands and hand gesture controls.

Features

  • 🎤 Voice Commands: Open and close applications using speech recognition.
  • 🖐️ Gesture Recognition: Control the mouse cursor and perform clicks with hand gestures.
  • 🖥️ User-Friendly GUI: Includes a Tkinter-based control panel to start and stop speech and gesture recognition.

Prerequisites

Ensure the following tools and libraries are installed:

  • Python 3.9 or higher
  • Azure Cognitive Services Speech SDK
  • MediaPipe
  • OpenCV
  • PyAutoGUI
  • Tkinter

Installation

1. Clone the Repository

git clone https://github.com/jagdeeshjk/Hand_control.git 
cd Hand_control  

2. Create a Virtual Environment

# On Windows  
python -m venv myenv  
source myenv/Scripts/activate  

# On macOS/Linux  
python -m venv myenv  
source myenv/bin/activate  

3. Install Dependencies

pip install -r requirements.txt  

If you wish to deactivate type "deactivate" (without quotes)

4. Configure Azure Cognitive Services

  1. Create an Azure Cognitive Services account.
  2. Obtain your Speech API Key and Region.
  3. Replace placeholders YOUR-SPEECH-API-KEY and YOUR-LOCATION in the following files:
    • APP.py
    • test_def.py

Usage

Run the Main Application

python APP.py  

Run the GUI Application

python App1.py  

Run the Test Script

python test_def.py  

Project Structure

  • APP.py - Main script for gesture and voice control.
  • App1.py - GUI-based application for gesture and voice control.
  • test_def.py - Script to test speech recognition functionality.
  • requirements.txt - List of dependencies.

Acknowledgments

This project uses the following amazing tools and technologies:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages