Skip to content

muhammetsimssek/Tello-Autonomous-Face-Tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tello Autonomous Face Tracking & Gesture Control 🚁

An autonomous drone control system using YOLOv8, MediaPipe, and DJI Tello SDK. This project enables a Tello drone to detect faces, follow them in real-time, and execute specific flight commands via hand gestures.

πŸš€ Features

  • Autonomous Face Tracking: Uses a YOLOv8-Face-Detection model for robust face tracking.
  • Gesture Control: Command the drone using hand gestures (Takeoff, Flip, 360 Spin, Land, Photo/Video).
  • Dynamic Device Selection: Automatically detects and uses NVIDIA GPU (CUDA) if available, otherwise falls back to CPU.
  • Auto-Recording: Automatically saves photos and videos of the flight to the captures/ directory.
  • Real-time Visualization: Displays live drone feed with FPS, face bounding boxes, and gesture status.

πŸ› οΈ Hand Gestures

Gesture Action
ONE (Pointer) Start Video Recording πŸŽ₯
TWO (Peace) Take a Photo πŸ“Έ
THREE Move Forward Forward ⬆️
L_SHAPE 360 Degree Spin πŸ”„
ROCK Drone Flip 🀸
PINKY Land Drone πŸ›¬

πŸ“¦ Installation

  1. Clone the repository:

    git clone https://github.com/YOUR_USERNAME/Tello-Autonomous-Face-Tracking.git
    cd Tello-Autonomous-Face-Tracking
  2. Install dependencies:

    pip install -r requirements.txt
  3. Connect to Tello Wi-Fi: Turn on your drone and connect your PC to the Tello-XXXXXX Wi-Fi network.

  4. Run the script:

    python Face_tracking_yolo.py

🧠 Technologies Used

  • Python: Core logic.
  • OpenCV: Image processing and visualization.
  • Ultralytics YOLOv8: High-performance face detection.
  • MediaPipe: Hand landmark detection and gesture recognition.
  • DJI Tello SDK (djitellopy): Drone communication and control.
  • Supervision: Simplified computer vision tasks.

Developed by Muhammet

About

Autonomous drone control system using YOLOv8 and MediaPipe for real-time face detection and gesture-based commands on DJI Tello.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages