Controlling digital devices with hand gestures is so cool and you can control things like media, APPs, etc. but controlling physical objects with hand gestures is much cooler. In this project with the help of computer vision I'm controlling printed photo with hand gestures. you can use this idea and code to control any physical objects with hand gestures.
this project have two parts:
first part is a python code that runs on the computer.and second part is hardware, including Arduino board and 3 servo motors.
in python code with the help of opencv and mediapipe we can trace finger motions and based on finger motions we send commands to arduino board with serial port and Arduino controls servo motors.
For running the python code you need PyCharm softwarebefore running the code you should install:opencvmediapipeSerial
OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library.OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products.
MediaPipe offers open source cross-platform, customizable ML solutions for live and streaming media.
you can find the code in YouTube video's description.