Gesture-Controlled Servo Motor project combines computer vision and hardware interfacing to create an interactive system. Using hand gestures captured by a webcam, users can control the position of a servo motor in real- time.
- Python 3.7-3.9
- OpenCV
- mediapipe
- pyFirmata
Note: Python version 3.7-3.9 is chosen for this project due to its compatibility with the pyFirmata library, which is crucial for communication between the computer and Arduino board.
- open the Arduino IDE on your computer.
- Navigate to the "Sketch" menu and select "Include Library" -> "Manage Libraries...".
- In the Library Manager window, type "Firmata" in the search bar, locate the "Firmata by Firmata Developers" library, and click the "Install" button.
- Once the installation is complete, go to "File" -> "Examples" -> "Firmata" -> "StandardFirmata" and upload the StandardFirmata sketch to your Arduino Uno board. This sketch enables the Arduino to communicate with the Python script using the Firmata protocol.

