This project uses a drone to track faces in real-time using computer vision and AI.
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the following scripts in order:
-
main-state.py
: This script receives and processes the drone's state information, such as yaw, and writes it to a file.python3 main-state.py
-
main-command.py
: This script sends commands to the drone based on user input and adjusts the drone's yaw.python3 main-command.py
-
main_stream_default.py
: This script handles the video stream from the drone, detects faces, and sends movement commands to the drone to track the detected faces.python3 main_stream_default.py
-
https://dl-cdn.ryzerobotics.com/downloads/Tello/Tello%20SDK%202.0%20User%20Guide.pdf