A Python-based project for real-time object detection and tracking of UAVs (drones) in video files using YOLOv8 and OpenCV. The system processes input videos, detects UAVs frame-by-frame, and outputs an annotated video with tracking overlays.
- Real-time UAV detection and tracking
- Uses YOLOv8 (Ultralytics) for object detection
- Outputs annotated video with tracking information
- Automatic environment setup for Python 3.11–3.14
- Python 3.11, 3.12, 3.13, or 3.14
git(for cloning/forking)
- Fork this repository on GitHub (click the "Fork" button at the top right).
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/drone.git cd drone - Place your input video (e.g.,
video.mp4) in the project folder. - Run the tracker:
The output will be saved to
python main.py --source video.mp4
outputs/output.mp4.
- Visit the GitHub fork documentation for step-by-step instructions.
This project is for educational and research purposes. For questions or contributions, please fork and submit a pull request!