Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.84 KB

File metadata and controls

31 lines (26 loc) · 1.84 KB

Python-Opencv-Arduino-ServoControl

With pyFirmata, opencv and cvzone
pip install pyFirmata
pip install cvzone
pip install opencv-python

#Setting up Arduino

->Open Arduino IDE
->Open Tools/Manage Libraries

->Search firmata and install

->Open File/Examples/Firmata/StandartFirmata

->Open Tools and choose your board and serial port

->Upload

#Other things

->If you want to calculate different finger distance. You need to change code from line 36

->Here is hand landmarks

->If you want to control arduino with HC-05 Bluetooth module. You need to change baudrate in arduino code uploaded. Change Firmata.begin(57600); to Firmata.begin(9600); and upload again

->Here is Bluetooth module connection