yunus-emre commited on
Commit
69dea14
·
verified ·
1 Parent(s): 772373a

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +114 -21
README.md CHANGED
@@ -1,23 +1,116 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: image
5
- dtype: image
6
- - name: image_path
7
- dtype: string
8
- - name: ground_truth
9
- dtype: string
10
- - name: conversations
11
- dtype: string
12
- splits:
13
- - name: train
14
- num_bytes: 2520353520
15
- num_examples: 10000
16
- download_size: 2526354405
17
- dataset_size: 2520353520
18
- configs:
19
- - config_name: default
20
- data_files:
21
- - split: train
22
- path: data/train-*
23
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language: en
3
+ license: apache-2.0
4
+ size_categories:
5
+ - 10K<n<11K
6
+ task_categories:
7
+ - visual-question-answering
8
+ - object-detection
9
+ tags:
10
+ - uav
11
+ - drone
12
+ - reasoning
13
+ - vqa
14
+ - surveillance
15
+ - chain-of-thought
16
+ - military
17
+ - object-detection
 
 
 
 
 
18
  ---
19
+
20
+ # UAV Drone Reasoning VQA Dataset
21
+
22
+ A visual question answering dataset for drone/UAV detection and reasoning, featuring
23
+ chain-of-thought reasoning with **thinking → answer** pairs.
24
+
25
+ ## Dataset Description
26
+
27
+ This dataset contains **10,000** surveillance images annotated with:
28
+ - **72,019** question-answer pairs (avg 7.2 per image)
29
+ - Ground-truth bounding boxes with UAV class labels
30
+ - Chain-of-thought reasoning ("thinking" field) for each answer
31
+
32
+ ### Intended Use
33
+ Training and evaluating multimodal models for:
34
+ - UAV/drone detection and classification in surveillance imagery
35
+ - Visual reasoning with chain-of-thought explanations
36
+ - Scene understanding (weather, visibility, lighting conditions)
37
+ - Threat assessment and detection difficulty analysis
38
+
39
+ ## Dataset Structure
40
+
41
+ Each row contains:
42
+ | Field | Type | Description |
43
+ |-------|------|-------------|
44
+ | `image` | Image | The surveillance image |
45
+ | `image_path` | string | Original relative path |
46
+ | `ground_truth` | string (JSON) | Bounding boxes and class labels |
47
+ | `conversations` | string (JSON) | List of QA pairs with thinking/reasoning |
48
+
49
+ ### Conversation Format
50
+ ```json
51
+ [
52
+ {
53
+ "question": "Is there a UAV visible in the sky?",
54
+ "thinking": "Scanning the sky reveals a small object...",
55
+ "answer": "Yes, a UAV is present."
56
+ }
57
+ ]
58
+ ```
59
+
60
+ ### Question Categories
61
+ - **Detection**: Presence/absence of UAVs
62
+ - **Counting**: Number of objects
63
+ - **Classification**: UAV type/model identification
64
+ - **Localization**: Bounding box coordinates
65
+ - **Scene Analysis**: Weather, lighting, visibility
66
+ - **Characteristics**: Visual features of detected UAVs
67
+ - **Risk Assessment**: Threat level and detection difficulty
68
+
69
+ ## UAV Classes
70
+
71
+ | Class | Count |
72
+ |-------|-------|
73
+ | mq9_reaper | 3039 |
74
+ | mohajer_6 | 3016 |
75
+ | shahed_238 | 2995 |
76
+ | shahed_136 | 2962 |
77
+ | dji_mavic | 2954 |
78
+
79
+ ## Source Image Splits
80
+
81
+ | Split | Images |
82
+ |-------|--------|
83
+ | train | 7003 |
84
+ | val | 2001 |
85
+ | test | 996 |
86
+
87
+ ## Generation Pipeline
88
+
89
+ QA pairs were generated using **Qwen3.7-Plus** (multimodal) via OpenRouter API,
90
+ with ground-truth YOLO annotations as guidance. Each response was validated for:
91
+ - Valid JSON structure
92
+ - Minimum 3 QA pairs per image
93
+ - Required fields (question, thinking, answer)
94
+
95
+ ## Usage
96
+
97
+ ```python
98
+ from datasets import load_dataset
99
+
100
+ ds = load_dataset("yunus-emre/uav-drone-reasoning-vqa")
101
+
102
+ # Access a sample
103
+ sample = ds["train"][0]
104
+ image = sample["image"] # PIL Image
105
+ qa_pairs = json.loads(sample["conversations"])
106
+ gt_boxes = json.loads(sample["ground_truth"])
107
+
108
+ for qa in qa_pairs:
109
+ print(f"Q: {qa['question']}")
110
+ print(f"T: {qa['thinking']}")
111
+ print(f"A: {qa['answer']}")
112
+ print()
113
+ ```
114
+
115
+ ## License
116
+ Apache 2.0