Duplicate from Ahnuf/Military_Aircraft_Detection_Classification_Image_Dataset
Browse filesCo-authored-by: Ahnuf Karim Chowdhury <Ahnuf@users.noreply.huggingface.co>
- .gitattributes +60 -0
- README.md +136 -0
- dataset.zip +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.avro filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
# Audio files - uncompressed
|
| 40 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
# Audio files - compressed
|
| 44 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
# Image files - uncompressed
|
| 50 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
# Image files - compressed
|
| 55 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
+
# Video files - compressed
|
| 59 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- object-detection
|
| 5 |
+
- image-classification
|
| 6 |
+
tags:
|
| 7 |
+
- military
|
| 8 |
+
- aircraft
|
| 9 |
+
- aerospace
|
| 10 |
+
- yolo
|
| 11 |
+
- defense
|
| 12 |
+
- commercial-aircraft
|
| 13 |
+
- birds
|
| 14 |
+
- drones
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10K-100K
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Military Aircraft Detection & Classification Dataset
|
| 20 |
+
### 88 Classes with Advanced Background Suppression
|
| 21 |
+
|
| 22 |
+
## Overview
|
| 23 |
+
This dataset is a professionally curated resource for training high-performance **object detection** and **image classification** models such as **YOLOv11**.
|
| 24 |
+
It contains **88 distinct military aircraft classes** and is explicitly designed for **real-world deployment**, where false positives from civilian aircraft, birds, and small drones are common.
|
| 25 |
+
|
| 26 |
+
To address this, the dataset incorporates a structured **background suppression strategy**, teaching models not only what *to detect*, but also what *to ignore*.
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## Dataset Summary
|
| 31 |
+
|
| 32 |
+
- **Total Images**: 26,668
|
| 33 |
+
- **Military Aircraft Classes**: 87
|
| 34 |
+
- **Image Resolution**: 640 × 640 (uniform)
|
| 35 |
+
- **Annotation Format**: YOLO (`.txt`) with normalized coordinates
|
| 36 |
+
- **Primary Use**: Military aircraft detection and classification
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## Dataset Split & Background Statistics
|
| 41 |
+
|
| 42 |
+
| Split | Total Images | Background Images | Background % |
|
| 43 |
+
|------|-------------|------------------|--------------|
|
| 44 |
+
| Train | 21,342 | 2,508 | 11.75% |
|
| 45 |
+
| Validation | 2,641 | 295 | 11.17% |
|
| 46 |
+
| Test | 2,645 | 284 | 10.74% |
|
| 47 |
+
| **Total** | **26,668** | **3,127** | **~11.7%** |
|
| 48 |
+
|
| 49 |
+
The dataset maintains a **stratified split** of approximately **80% Train / 10% Validation / 10% Test** across all 87 classes.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## Advanced Background Suppression Strategy
|
| 54 |
+
|
| 55 |
+
To significantly reduce false detections, the dataset includes **3,127 background-only images** with **empty annotations**.
|
| 56 |
+
These images are intentionally selected to represent common real-world confounders in aerial imagery.
|
| 57 |
+
|
| 58 |
+
### Background Categories
|
| 59 |
+
|
| 60 |
+
1. **Empty Skies, Clouds & Commercial Aircraft**
|
| 61 |
+
Negative samples containing:
|
| 62 |
+
- Clear or cloudy skies with no aircraft
|
| 63 |
+
- **Commercial passenger and cargo aircraft**
|
| 64 |
+
This trains the model to distinguish civilian airliners from military platforms.
|
| 65 |
+
|
| 66 |
+
2. **Bird Backgrounds (≈1.5%)**
|
| 67 |
+
High-resolution bird imagery to prevent *bird-as-aircraft* false positives, particularly at long range or low resolution.
|
| 68 |
+
|
| 69 |
+
3. **Commercial Drone Backgrounds (≈1.5%)**
|
| 70 |
+
Civilian and hobbyist UAVs (quadcopters and small drones), enabling the model to differentiate between commercial drones and military-grade UAVs.
|
| 71 |
+
|
| 72 |
+
All background images use **empty `.txt` label files (0 bytes)** and contain **no bounding boxes**.
|
| 73 |
+
|
| 74 |
+
---
|
| 75 |
+
|
| 76 |
+
## Annotation Format
|
| 77 |
+
|
| 78 |
+
Each image is paired with a corresponding `.txt` file in YOLO format.
|
| 79 |
+
|
| 80 |
+
### Positive Sample Example
|
| 81 |
+
|
| 82 |
+
`su57_01.txt`
|
| 83 |
+
68 0.475000 0.496875 0.415625 0.859375
|
| 84 |
+
|
| 85 |
+
**Field Description**
|
| 86 |
+
- `68` → Class ID (Su-57)
|
| 87 |
+
- `0.475000` → X-center (47.5% of image width)
|
| 88 |
+
- `0.496875` → Y-center (49.69% of image height)
|
| 89 |
+
- `0.415625` → Bounding box width
|
| 90 |
+
- `0.859375` → Bounding box height
|
| 91 |
+
|
| 92 |
+
### Background (Negative) Samples
|
| 93 |
+
|
| 94 |
+
Background label files are **intentionally empty**:
|
| 95 |
+
- `sky_bg_01.txt`
|
| 96 |
+
- `commercial_aircraft_bg_01.txt`
|
| 97 |
+
- `birds_v1_01.txt`
|
| 98 |
+
- `drones_v1_01.txt`
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
## Final Class ID Table (87 Classes)
|
| 103 |
+
|
| 104 |
+
| ID | Class | ID | Class | ID | Class | ID | Class |
|
| 105 |
+
|----|-------|----|-------|----|-------|----|-------|
|
| 106 |
+
| 0 | A10 | 22 | CL415 | 44 | JF17 | 66 | Su34 |
|
| 107 |
+
| 1 | A400M | 23 | E2 | 45 | JH7 | 67 | Su47 |
|
| 108 |
+
| 2 | AG600 | 24 | E7 | 46 | KAAN | 68 | Su57 |
|
| 109 |
+
| 3 | AH64 | 25 | EF2000 | 47 | KC135 | 69 | TB001 |
|
| 110 |
+
| 4 | AKINCI | 26 | EMB314 | 48 | KF21 | 70 | TB2 |
|
| 111 |
+
| 5 | AV8B | 27 | F117 | 49 | KJ600 | 71 | Tejas |
|
| 112 |
+
| 6 | An124 | 28 | F14 | 50 | Ka27 | 72 | Tornado |
|
| 113 |
+
| 7 | An22 | 29 | F15 | 51 | Ka52 | 73 | Tu160 |
|
| 114 |
+
| 8 | An225 | 30 | F16 | 52 | MQ9 | 74 | Tu22M |
|
| 115 |
+
| 9 | An72 | 31 | F18 | 53 | Mi24 | 75 | Tu95 |
|
| 116 |
+
| 10 | B1 | 32 | F2 | 54 | Mi26 | 76 | U2 |
|
| 117 |
+
| 11 | B2 | 33 | F22 | 55 | Mi28 | 77 | UH60 |
|
| 118 |
+
| 12 | B52 | 34 | F35 | 56 | Mi8 | 78 | US2 |
|
| 119 |
+
| 13 | Be200 | 35 | F4 | 57 | Mig29 | 79 | V22 |
|
| 120 |
+
| 14 | C1 | 36 | FCK1 | 58 | Mig31 | 80 | Vulcan |
|
| 121 |
+
| 15 | C130 | 37 | H6 | 59 | Mirage2000 | 81 | WZ7 |
|
| 122 |
+
| 16 | C17 | 38 | Il76 | 60 | P3 | 82 | X32 |
|
| 123 |
+
| 17 | C2 | 39 | J10 | 61 | RQ4 | 83 | XB70 |
|
| 124 |
+
| 18 | C390 | 40 | J20 | 62 | Rafale | 84 | Y20 |
|
| 125 |
+
| 19 | C5 | 41 | J35 | 63 | SR71 | 85 | YF23 |
|
| 126 |
+
| 20 | CH47 | 42 | J36 | 64 | Su24 | 86 | Z10 |
|
| 127 |
+
| 21 | CH53 | 43 | JAS39 | 65 | Su25 | 87 | Z19 |
|
| 128 |
+
|
| 129 |
+
---
|
| 130 |
+
|
| 131 |
+
## Intended Use Cases
|
| 132 |
+
- Military aircraft detection and classification
|
| 133 |
+
- Civilian vs military aircraft discrimination
|
| 134 |
+
- UAV and drone differentiation
|
| 135 |
+
- Long-range aerial surveillance research
|
| 136 |
+
- False-positive suppression benchmarking for YOLO models
|
dataset.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:abce22bab42d8b0c544961a25469f4e0fc10cd08fd4fd0dc0aae1ff1673e8514
|
| 3 |
+
size 2877573133
|