University project

Hand Gesture Controlled Robot

In this university project, our team built a robot controlled by hand gestures instead of a joystick or buttons. We combined a camera, computer vision, and Arduino to make the controls intuitive.

Demonstration of the robot project

Technologies and concepts

  • Python
  • C++
  • OpenCV
  • Arduino
  • Computer Vision
  • Embedded Systems

About the project

The goal was to build a robot that responds to hand gestures instead of being controlled with a joystick. A camera and computer vision (OpenCV) recognize hand gestures on a PC, and an Arduino controls the robot's motors. The solution combines image processing, software, and hardware.

On the PC side

  • Python - processes camera images and handles gesture recognition
  • OpenCV - used for image processing and computer vision
  • MediaPipe - Google's model is used for hand recognition

On the robot side

  • Arduino - the microcontroller that controls the motors
  • C++ - the programming language used on the Arduino
  • DC motors - drive the robot's wheels
  • Motor control - regulates motor speed and direction

Control and functionality

  • The robot can move forward, backward, left, and right, or stop.
  • The PC communicates wirelessly with the Arduino unit.
  • The system was tried under different lighting conditions, and hand gestures were recognized relatively robustly.
  • Real-time processing was intended to help the robot respond quickly to gestures.

Challenges and solutions

  • Latency: At first, it took about 300 ms from moving a hand to the robot reacting. After optimization, the delay was reduced to under 100 ms.
  • Recognition: The robot had to distinguish between different gestures. The project description reports an accuracy above 95%.
  • Communication: The Python program on the PC and the Arduino unit had to communicate reliably.
  • Real-time processing: Camera images had to be processed quickly enough for the controls to feel immediate.

Project goal

To let technology interpret human gestures and use them to control a robot.

Demonstration

A video of the robot in use is available here:

What I learned

The project gave me practical experience with:

  • computer vision and image processing
  • software and hardware integration
  • programming microcontrollers with Arduino
  • collaboration on a technical project
  • systematic troubleshooting