ATOV 2.0

A robot that can track people.

This robot moves by tracking people.
It can detect collapse of a person and human gestures using a camera.

Camera argorithm

MEDIAPIPE
Mediapipe is the framework made by GOOGLE. It is used for detecting pose of a person. Mediapipe can recognize the coordiante data of every joints of a person.
Mediapipe uses multiple modules for multiple functions. In this project, the POSE module is used in order to detect human joints.

Software(Rasberrypi) argorithm

When the camera argorithm returns the x coordinate of the shoulder joints of a person (Shoulder[1] and Shoulder[2]), rasberrypi calculates the center coordinate of shoulder coordinates by M = (Shoulder[1]+Soulder[2]) / 2 . M becomes the criteria for recognizing the location of a person. By calculating the difference between center of the frame and M coordinate , Rasberrypi makes the error figure and sends it to Arduino.
Code for rasberrypi algorithm _1
Code for rasberrypi algorithm_2
Gesture algorithm for rasberrypi

Hardware(Arduino) argorithm

When Arduino receives the error from Rasberrypi, Arduino controls the 2 DC motors based on the error. When the error is smaller than 0, It means a person is located on the left side of the frame. Then the speed of the right motor goes up while left motor slows down. Therefore the vehicle turns left and aligns the person's location to the center of the frame. This is the basic mechanism of harware control and this process is repeated in the real time.
Code for Arduino argorithm

Future development

Tracking can be an important technology for unmanned vehicles. I want to add lots of functions using camera in this robot. This robot can do diverse functions while it follows a person.

Award

Videos

video