Skip to content

⚡A computer vision windows app that allows users to control their main system volume using finger gestures.

Notifications You must be signed in to change notification settings

mohdalibn/gesture-volume-controller-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gesture-volume-controller-app

Gesture Volume Controller App (2)

project-description (9)

This is a Gesture Volume Controller App in which the User is able to control to their Main System Volume using their Thumb & Index Fingers Gestures. The App was made using a Python Library called EEL used to make Electron-like GUI Apps. HTML, CSS, were used for the App Layout & Styling, and JavaScript was used to implement logic in the frontend and communicate with Python in the backend . The Finger Gestures Tracking & Hand Tracking is achieved through the Cross-Platform Machine Learning Solutions Library called Mediapipe loaded using OpenCV Python and served through my custom Hand Tracking Library. The User Interface(UI) Prototype was designed in Figma. There are two buttons: Open Webcam & Close Webcam, which allow the User to turn on their webcam video feed and use the App or turn it off respectively. Just below the buttons, there is a Statistics Board that displays the Video Frame Rate (FPS), the Center x-axis(XPOS1) & y-axis(YPOS1) positions of Thumb, and the Center x-axis(XPOS2) & yaxis(YPOS2) of the Index Finger. The main video window displays a warning when the User's hand is Too Close To The Camera and another warning when the User's hand is Too Far From The Camera. This project has only been tested in Windows.

technologies-used (9)

Figma Python Python Python Python Python HTML5 CSS3 JavaScript

how-to-use-project (4)

Install the following Python libraries in your Virtual Environment using PIP.

Note: The library names are CASE-SENSITIVE for PIP installations below. Make sure your type them correctly.

Install OpenCV for Python

pip install opencv-python

Install OpenCV Contrib for Python

pip install opencv-contrib-python

Install Mediapipe for Python

pip install mediapipe

Install EEL for Python

pip install eel

Install Numpy for Python

pip install numpy

Install PyCaw for Python

pip install pycaw

Download a copy of this repository onto your local machine and extract it into a suitable folder.

  • Create a Virtual Environment in that folder.
  • Install all the required Python libraries mentioned above.
  • Open a Command Prompt/Terminal in the Root Directory of the Project.
  • Type the following command in the terminal to start an instance of the EEL App.
python GestVolContApp.py
  • Enjoy using the App!

About

⚡A computer vision windows app that allows users to control their main system volume using finger gestures.

Resources

Stars

Watchers

Forks