Gesture Controlled PPT Slide Presentation - README Demo OutPut: https://indianinstituteofscience-my.sharepoint.com/:v:/g/personal/saylisantosh_iisc_ac_in/EYkqw3X3GgJFucVsfOE00s4BmcyrR_1gBI02yrlHW96tjw?nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJPbmVEcml2ZUZvckJ1c2luZXNzIiwicmVmZXJyYWxBcHBQbGF0Zm9ybSI6IldlYiIsInJlZmVycmFsTW9kZSI6InZpZXciLCJyZWZlcnJhbFZpZXciOiJNeUZpbGVzTGlua0NvcHkifX0&e=lclP4S
Project Overview:
The Gesture Controlled PPT Slide Presentation project aims to provide a seamless and intuitive interface for navigating PowerPoint slides using hand gestures. By leveraging edge AI technology and gesture recognition algorithms, users can interact with presentations in a more natural and accessible manner, overcoming traditional input limitations such as mouse clicks or keyboard commands.
Files Included:
-
Arrowkey.py:
- Python script responsible for receiving gesture data from the Arduino Nano BLE Sense board and controlling Computer applications accordingly.
- Utilizes the
pyautogui
library for simulating keyboard presses. - Communicates with the Arduino Nano BLE Sense board via serial communication.
-
lab3.ino:
- Arduino sketch for the Arduino Nano BLE Sense board.
- Implements gesture recognition using an onboard IMU sensor.
- Transmits gesture data to the connected PC via Bluetooth Low Energy (BLE).
- Integrates with the Python script to enable gesture-controlled slide navigation.
-
Gesture Dataset JSON Files:
- Contains the dataset of gestures (N, S, U, X) representing the four keyboard arrow keys.
- Used for training and testing the machine learning model on the Arduino Nano BLE Sense board.
Setup Instructions:
- Connect the Arduino Nano BLE Sense board to your computer using a USB cable.
- Upload the
lab3.ino
sketch to the Arduino Nano BLE Sense board using the Arduino IDE. - Install the required Python dependencies by running
pip install pyautogui serial
. - Ensure that PowerPoint is installed on your computer and have a presentation ready for testing.
- Open
Arrowkey.py
and modify thefilepath
variable to point to your PowerPoint presentation file. - Adjust the COM port in the
serial.Serial()
constructor to match the port to which the Arduino Nano BLE Sense board is connected. - Run the
Arrowkey.py
script to start the gesture-controlled PowerPoint slide navigation.
Usage:
- Power on the Arduino Nano BLE Sense board and ensure that it is connected to the computer via BLE.
- Execute the
Arrowkey.py
script on your computer. - Perform the predefined hand gestures (N, S, U, X) to navigate through PowerPoint slides.
- Monitor the console output for debugging information and confirmation of received gestures.
Notes:
- Ensure that the IMU sensor on the Arduino Nano BLE Sense board is calibrated and functioning properly for accurate gesture recognition.
- Experiment with different gesture recognition models and parameters to optimize performance and accuracy.
- Customize the Python script and Arduino sketch as needed to adapt to specific presentation requirements or user preferences.