Skip to content

Code-Crafters-BM/Voice_Controll_And_Computer_Vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎀 Voice Control and 🎯 Computer Vision

πŸ“Œ Overview

This repository showcases implementations of hand tracking and volume control using computer vision and voice control techniques. The project leverages OpenCV and MediaPipe for real-time hand tracking and gesture recognition.

πŸ“‚ Contents

πŸ– Hand Tracking Module (HandTrackingModule.ipynb)

This Jupyter Notebook provides real-time hand tracking using the MediaPipe library, including: βœ… Detecting hand landmarks in real-time. βœ… Identifying finger positions and gestures. βœ… Visualizing hand tracking results with OpenCV.

πŸ›  Requirements:

  • πŸ† OpenCV (cv2)
  • πŸ”₯ MediaPipe (mediapipe)
  • ⚑ NumPy (numpy)

πŸ”Š Volume Control with Hand Gestures (VolumeHandcontrol.ipynb)

This Notebook extends the hand tracking module to control system volume using hand gestures: βœ… Detecting hand movements. βœ… Calculating finger distances to adjust volume. βœ… Dynamically controlling system volume.

πŸ›  Requirements:

  • 🎚 pycaw (for audio control)
  • πŸ† OpenCV
  • πŸ”₯ MediaPipe

πŸ“ Example Files (exemples/)

This directory contains various Python scripts and images for testing and implementing different computer vision functionalities:

πŸ“„ PDF File

  • πŸ“Œ Demande_reservation formation.pdf: Sample PDF for OCR testing.

πŸ“ Python Scripts

  • πŸ— exercice.py: Implements an exercise related to image processing.
  • πŸ“Š hist.py: Computes and displays an image histogram.
  • πŸ–Ό imread_imshow.py: Reads and displays an image using OpenCV.
  • πŸ” ocr.py: Performs OCR (Optical Character Recognition) on an image.
  • πŸ“œ read.py: Reads and displays an image.
  • πŸ”„ resize.py: Resizes an image with transformations.
  • πŸ–Ό seui.py: Applies thresholding techniques to an image and visualizes results.

πŸ–Ό Sample Images

  • πŸ–Ό im.webp, image.png: Sample images used in the project.

πŸ— Installation

To run the notebooks, install the required dependencies using:

pip install opencv-python mediapipe numpy pycaw pytesseract pdf2image

πŸš€ Usage

1️⃣ Clone the repository:

git clone https://github.com/Code-Crafters-BM/Voice_Controll_And_Computer_Vision.git
cd Voice_Controll_And_Computer_Vision

2️⃣ Open Jupyter Notebook: ( Or navigate on your browerser to google collab : https://colab.research.google.com/ )

jupyter notebook

3️⃣ Run HandTrackingModule.ipynb to test hand tracking. 4️⃣ Run VolumeHandcontrol.ipynb to test volume control.

🀝 Contributors

  • Code Crafters Bm – Project development and implementation.

πŸ’‘ Acknowledgments

  • πŸŽ“ Inspired by OpenCV and MediaPipe tutorials.
  • πŸ–₯ Based on computer vision techniques for gesture recognition.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published