Back to Projects

5th Year Engineering Projects

A collection of 5th year computer engineering projects including hand-tracking demos using MediaPipe and OpenCV.

Repository Overview

This repository contains a collection of 5th year computer engineering projects developed for teamwork and learning. The main focus is on AI and computer vision applications.

Repository Structure

AI-App/

Hand-tracking demos using MediaPipe and OpenCV for gesture-based interfaces.

  • hand/ - HandTracker utility module
  • sign_to_voice.py - Maps hand poses to speech using pyttsx3
  • volume-hand-controle.py - Controls system volume via thumb-index distance
  • requirements.txt - Project dependencies
  • README.md - Usage documentation

Lang-Translation/

Future project folder for language translation applications.

ML/

Future project folder for machine learning experiments.

Test4/

Testing and experimental code.

AI-App Features

HandTracker Class

A wrapper class for MediaPipe Hands that provides:

  • process(frame, return_pixel_landmarks=False) - Process BGR OpenCV frames
  • get_hands_landmarks() - Returns landmarks as (id, cx, cy) tuples per hand
  • draw_landmarks(frame) - Draw landmarks onto frames
  • close() - Release tracker resources

Sign to Voice Demo

Uses HandTracker with a rule-based recognizer to map simple hand poses to speech via pyttsx3 text-to-speech engine.

Volume Control Demo

Maps thumb-index finger distance to system volume. On Windows with pycaw installed, it directly controls system volume; otherwise displays mapped volume on-screen.

Getting Started

Install dependencies (recommended to use a virtual environment):

python -m pip install -r requirements.txt

For Windows volume control, additionally install:

python -m pip install pycaw comtypes

Running the Demos

# Sign to Voice demo
python sign_to_voice.py

# Volume control demo
python volume-hand-controle.py

Technology Stack

Python (100%) OpenCV MediaPipe Computer Vision pycaw pyttsx3

Project Stats

-- Stars -- Watching -- Forks