TelloVision-DroneControl is an advanced computer vision and control algorithm designed for DJI Tello drones. The primary goal is to center the drone's camera based on your face position.
- Real-time face detection and tracking using OpenCV
- Automatic camera adjustment according to face position
- Future enhancements include PID control for smoother movements and unique ID tracking for targeted face recognition
Ensure the following dependencies are installed to run the project:
- djitellopy (version 1.5)
- opencv-python (version 4.1.0.25)
Install them via:
pip3 install -r requirements.txtTo execute the program, run:
python3 FaceDetection.py haarcascade_frontalface_default.xmlWatch test videos demonstrating various features and limitations:
Current limitations include:
- Slow movements
- Setpoint oscillations
- Occasionally detects and adjusts for non-existent faces
Upcoming features under development:
- Incorporating PID algorithm for precise position control and minimized oscillation
- Implementing a face ID tracking system to focus only on a single target face
Feel free to contribute, suggest improvements, or share your feedback. Together, we can make TelloVision-DroneControl even better!