/DJI-Tello-Drone-ComputerVision

my DJI TELLO project about computer vision

Primary LanguagePythonApache License 2.0Apache-2.0

DJI-Tello-Drone-ComputerVision

This is a ComputerVision/Control algorithm which forces a DJI Tello drone to center the camera according to your face position.

Dependencies

This algorithm uses :
djitellopy ver 1.5 by https://github.com/damiafuentes opencv-python ver 4.1.0.25

install with:
bash: pip3 install -r requirements.txt

Usage

run it with :
bash: python3 FaceDetection.py haarcascade_frontalface_default.xml

Videos

all my test videos will be uploaded on my youtube channel and i will list them here:

Limitations

it still has some limitations such as slow movements, setpoint oscillations and sometimes it detects faces that do not exist. This is a problem because the algorithm adjust its movement according to every face in the frame

TO DO

i'm working in :
-Adding a PID algorithm for position control, in order to limit oscillation and adjust drone speed
-Adding a face tracking with ID assignment, in order to follow just one given face