Skip to content

This project provides a trained YOLOv8 model for detecting both multirotor and fixed-wing UAVs (drones) in visual data. Includes example usage and documentation.

Notifications You must be signed in to change notification settings

Alireza0K/Unmanned-Aerial-Vehicle

Repository files navigation

Unmanned Aerial Vehicle (UAV) Detection

This repository contains a YOLOv8-based model for detecting both regular drones (multirotors) and fixed-wing drones in images.

Fixed-wing UAV

Image 3

Drones (multirotors)

Image 1 Image 2 Image 3

Overview

This project aims to provide a robust solution for detecting UAVs (Unmanned Aerial Vehicles), commonly known as drones, in visual data. The model is trained using the YOLOv8 object detection framework, known for its speed and accuracy. This repository includes the trained model weights, example usage scripts, and documentation to help you get started with UAV detection.

Requirements Installation

pip install -r requirements.txt

Results and Discussion

This section presents a comprehensive evaluation of the drone detection model's performance. The model was trained five times, with each training run consisting of 10 epochs.

  • Results are provided for both the training and testing datasets.

Alt text

Dataset

The training dataset contains 3,000 Drone images, evenly distributed between multirotor and fixed-wing types.

  • Description: The dataset consists of images collected from various sources, including online datasets and custom captures. It contains images of both multirotor and fixed-wing drones in different environments and lighting conditions.

  • Size: The training set contains 1000 images, the validation set contains 200 images, and the test set contains 300 images.

  • Classes: The model is trained to detect two classes: 'drone' and 'fixed-wing'."

    Example:

    path: direct/project/path
    train: train
    val: valid
    
    names:
    0: drone
    1: Fix-wing-drone
    

Model Training

The model was trained using YOLOv8 with the following parameters:

  • Model Architecture: YOLOv8n, YOLOv8s, YOLOv8m
  • Epochs: 51
  • Batch Size: 16
  • Image Size: 640x640
  • Device: GPU (MPS for Apple Silicon or CUDA for NVIDIA, if used) or CPU (I used MPS)

Training command:

python3 main.py

About

This project provides a trained YOLOv8 model for detecting both multirotor and fixed-wing UAVs (drones) in visual data. Includes example usage and documentation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages