This project uses hand gestures to control system brightness and volume. It is built on top of the hand-gesture-recognition-using-mediapipe repository, with modifications to enable gesture-based system control.
- Thumbs Up: Increases brightness.
- Thumbs Down: Decreases brightness.
- Horns Up (Index and Pinky Finger Up): Increases volume.
- Horns Down (Index and Pinky Finger Down): Decreases volume.
-
Clone the repository:
git clone <repository-url> cd GestureController
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
-
Perform the gestures in front of your webcam to control brightness and volume.
- mediapipe 0.8.1
- OpenCV 3.4.2 or Later
- TensorFlow 2.3.0 or Later
(tf-nightly 2.5.0.dev or later is required only when creating a TFLite for an LSTM model) - scikit-learn 0.23.2 or Later
(Only if you want to display the confusion matrix) - matplotlib 3.3.2 or Later
(Only if you want to display the confusion matrix)
This project is based on the original repository by Kazuhito Takahashi. The original implementation was translated and improved by Nikita Kiselov. This version customizes the functionality to control system brightness and volume using gestures.
This project is under the Apache v2 license.