Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
image
image_id
int64
width
int32
height
int32
objects
dict
0
640
359
{ "id": [ 1 ], "bbox": [ [ 186, 46, 319.5150146484375, 296.5799865722656 ] ], "category": [ 0 ], "area": [ 94761.995 ] }
1
640
359
{ "id": [ 2 ], "bbox": [ [ 115, 0, 442, 359 ] ], "category": [ 0 ], "area": [ 158678 ] }
2
640
359
{ "id": [ 3 ], "bbox": [ [ 211, 0, 245.50799560546875, 204.58999633789062 ] ], "category": [ 0 ], "area": [ 50228.562 ] }
3
640
360
{ "id": [ 4 ], "bbox": [ [ 243, 22, 294.1940002441406, 307.09698486328125 ] ], "category": [ 0 ], "area": [ 90345.89 ] }
4
640
359
{ "id": [ 5 ], "bbox": [ [ 154, 184, 344, 175 ] ], "category": [ 0 ], "area": [ 60200 ] }
5
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
6
640
360
{ "id": [ 6 ], "bbox": [ [ 324, 14, 307.2349853515625, 298.74200439453125 ] ], "category": [ 0 ], "area": [ 91784.107 ] }
7
640
359
{ "id": [ 7 ], "bbox": [ [ 134, 1, 272.2569885253906, 260.5539855957031 ] ], "category": [ 0 ], "area": [ 70937.633 ] }
8
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
9
640
359
{ "id": [ 8 ], "bbox": [ [ 106, 0, 360.6780090332031, 327.5929870605469 ] ], "category": [ 0 ], "area": [ 118155.656 ] }
10
640
360
{ "id": [ 9 ], "bbox": [ [ 175, 0, 271.4840087890625, 181.16099548339844 ] ], "category": [ 0 ], "area": [ 49182.368 ] }
11
640
360
{ "id": [ 10 ], "bbox": [ [ 203, 52, 280, 291.42999267578125 ] ], "category": [ 0 ], "area": [ 81600.4 ] }
12
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
13
640
359
{ "id": [ 11 ], "bbox": [ [ 147, 37, 248.66700744628906, 247.66900634765625 ] ], "category": [ 0 ], "area": [ 61587.108 ] }
14
640
359
{ "id": [ 12 ], "bbox": [ [ 355, 184, 285, 175 ] ], "category": [ 0 ], "area": [ 49875 ] }
15
640
360
{ "id": [], "bbox": [], "category": [], "area": [] }
16
640
360
{ "id": [ 13 ], "bbox": [ [ 0, 294, 457.22198486328125, 66.11100006103516 ] ], "category": [ 0 ], "area": [ 30227.469 ] }
17
640
360
{ "id": [ 14 ], "bbox": [ [ 345, 0, 295.22601318359375, 250.322998046875 ] ], "category": [ 0 ], "area": [ 73901.686 ] }
18
640
360
{ "id": [ 15 ], "bbox": [ [ 0, 0, 328.35198974609375, 179.0540008544922 ] ], "category": [ 0 ], "area": [ 58792.75 ] }
19
640
360
{ "id": [ 16 ], "bbox": [ [ 346, 83, 249.64500427246094, 246.78500366210938 ] ], "category": [ 0 ], "area": [ 61608.641 ] }
20
640
359
{ "id": [ 17 ], "bbox": [ [ 112, 0, 274.1319885253906, 214.77200317382812 ] ], "category": [ 0 ], "area": [ 58875.872 ] }
21
640
360
{ "id": [ 18 ], "bbox": [ [ 179, 0, 254.22500610351562, 41.2400016784668 ] ], "category": [ 0 ], "area": [ 10484.194 ] }
22
640
359
{ "id": [ 19 ], "bbox": [ [ 183, 0, 252.25900268554688, 242.6540069580078 ] ], "category": [ 0 ], "area": [ 61211.683 ] }
23
640
359
{ "id": [ 20 ], "bbox": [ [ 146, 0, 254.67300415039062, 165.86900329589844 ] ], "category": [ 0 ], "area": [ 42242.419 ] }
24
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
25
639
359
{ "id": [ 21 ], "bbox": [ [ 81, 277, 251, 82 ] ], "category": [ 0 ], "area": [ 20582 ] }
26
640
359
{ "id": [ 22 ], "bbox": [ [ 192, 0, 296.3179931640625, 177.906005859375 ] ], "category": [ 0 ], "area": [ 52716.736 ] }
27
639
359
{ "id": [], "bbox": [], "category": [], "area": [] }
28
640
359
{ "id": [ 23 ], "bbox": [ [ 318, 188, 213, 171 ] ], "category": [ 0 ], "area": [ 36423 ] }
29
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
30
640
359
{ "id": [ 24 ], "bbox": [ [ 194, 0, 340.87298583984375, 310.5419921875 ] ], "category": [ 0 ], "area": [ 105855.323 ] }
31
640
360
{ "id": [ 25 ], "bbox": [ [ 0, 0, 340.6289978027344, 188.6790008544922 ] ], "category": [ 0 ], "area": [ 64269.61 ] }
32
640
360
{ "id": [ 26 ], "bbox": [ [ 222, 0, 265, 162.2220001220703 ] ], "category": [ 0 ], "area": [ 42988.889 ] }
33
640
360
{ "id": [ 27 ], "bbox": [ [ 22, 1, 348.125, 191.875 ] ], "category": [ 0 ], "area": [ 66796.484 ] }
34
640
359
{ "id": [ 28 ], "bbox": [ [ 86, 0, 371.8080139160156, 139.80799865722656 ] ], "category": [ 0 ], "area": [ 51981.733 ] }
35
640
359
{ "id": [ 29 ], "bbox": [ [ 217, 0, 221.6230010986328, 213.33299255371094 ] ], "category": [ 0 ], "area": [ 47279.678 ] }
36
640
359
{ "id": [ 30 ], "bbox": [ [ 197, 23, 293.3330078125, 308.5710144042969 ] ], "category": [ 0 ], "area": [ 90514.062 ] }
37
640
359
{ "id": [ 31 ], "bbox": [ [ 428, 287, 212, 72 ] ], "category": [ 0 ], "area": [ 15264 ] }
38
640
360
{ "id": [ 32 ], "bbox": [ [ 282, 0, 270.5559997558594, 235 ] ], "category": [ 0 ], "area": [ 63580.556 ] }
39
640
359
{ "id": [ 33 ], "bbox": [ [ 208, 174, 432, 185 ] ], "category": [ 0 ], "area": [ 79920 ] }
40
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
41
640
360
{ "id": [ 34 ], "bbox": [ [ 139, 244, 223.88900756835938, 116.11100006103516 ] ], "category": [ 0 ], "area": [ 25995.988 ] }
42
640
359
{ "id": [ 35 ], "bbox": [ [ 339, 116, 301, 243 ] ], "category": [ 0 ], "area": [ 73143 ] }
43
640
359
{ "id": [ 36 ], "bbox": [ [ 0, 0, 518.0419921875, 82.23799896240234 ] ], "category": [ 0 ], "area": [ 42602.611 ] }
44
640
359
{ "id": [ 37 ], "bbox": [ [ 166, 88, 272, 271 ] ], "category": [ 0 ], "area": [ 73712 ] }
45
640
359
{ "id": [ 38 ], "bbox": [ [ 146, 101, 485, 258 ] ], "category": [ 0 ], "area": [ 125130 ] }
46
640
360
{ "id": [], "bbox": [], "category": [], "area": [] }
47
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
48
640
359
{ "id": [ 39 ], "bbox": [ [ 593, 31, 47, 328 ] ], "category": [ 0 ], "area": [ 15416 ] }
49
640
360
{ "id": [ 40 ], "bbox": [ [ 259, 0, 253.7030029296875, 220.8159942626953 ] ], "category": [ 0 ], "area": [ 56021.618 ] }
50
640
360
{ "id": [ 41 ], "bbox": [ [ 252, 22, 258.8030090332031, 256.9599914550781 ] ], "category": [ 0 ], "area": [ 66501.911 ] }
51
640
360
{ "id": [ 42 ], "bbox": [ [ 124, 226, 200.625, 133.75 ] ], "category": [ 0 ], "area": [ 26833.594 ] }
52
639
359
{ "id": [ 43 ], "bbox": [ [ 320, 0, 295.8590087890625, 272.2309875488281 ] ], "category": [ 0 ], "area": [ 80541.964 ] }
53
640
360
{ "id": [ 44 ], "bbox": [ [ 287, 0, 251.09300231933594, 204.63299560546875 ] ], "category": [ 0 ], "area": [ 51381.899 ] }
54
639
359
{ "id": [ 45 ], "bbox": [ [ 397, 294, 242, 65 ] ], "category": [ 0 ], "area": [ 15730 ] }
55
640
359
{ "id": [ 46 ], "bbox": [ [ 71, 256, 249, 103 ] ], "category": [ 0 ], "area": [ 25647 ] }
56
640
359
{ "id": [ 47 ], "bbox": [ [ 0, 0, 490.4779968261719, 171.61099243164062 ] ], "category": [ 0 ], "area": [ 84171.212 ] }
57
640
358
{ "id": [ 48 ], "bbox": [ [ 6, 0, 502.2300109863281, 276.63800048828125 ] ], "category": [ 0 ], "area": [ 138935.9 ] }
58
640
360
{ "id": [], "bbox": [], "category": [], "area": [] }
59
640
359
{ "id": [ 49 ], "bbox": [ [ 129, 0, 510.4259948730469, 350.95098876953125 ] ], "category": [ 0 ], "area": [ 179134.504 ] }
60
640
360
{ "id": [ 50 ], "bbox": [ [ 216, 1, 231.08900451660156, 54.26900100708008 ] ], "category": [ 0 ], "area": [ 12541.028 ] }
61
640
359
{ "id": [ 51 ], "bbox": [ [ 261, 0, 204.19000244140625, 186.41299438476562 ] ], "category": [ 0 ], "area": [ 38063.698 ] }
62
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
63
640
359
{ "id": [ 52 ], "bbox": [ [ 254, 0, 214.93299865722656, 196.26699829101562 ] ], "category": [ 0 ], "area": [ 42184.249 ] }
64
640
360
{ "id": [ 53 ], "bbox": [ [ 367, 56, 260.2650146484375, 251.68800354003906 ] ], "category": [ 0 ], "area": [ 65505.583 ] }
65
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
66
639
359
{ "id": [ 54 ], "bbox": [ [ 172, 0, 252.71299743652344, 33.900001525878906 ] ], "category": [ 0 ], "area": [ 8567.082 ] }
67
640
359
{ "id": [ 55 ], "bbox": [ [ 44, 0, 391.81298828125, 294.72198486328125 ] ], "category": [ 0 ], "area": [ 115475.887 ] }
68
640
359
{ "id": [ 56 ], "bbox": [ [ 171, 73, 262.7770080566406, 263.9830017089844 ] ], "category": [ 0 ], "area": [ 69368.809 ] }
69
640
360
{ "id": [ 57 ], "bbox": [ [ 112, 187, 333, 173 ] ], "category": [ 0 ], "area": [ 57609 ] }
70
640
359
{ "id": [ 58 ], "bbox": [ [ 3, 81, 384, 278 ] ], "category": [ 0 ], "area": [ 106752 ] }
71
640
359
{ "id": [ 59 ], "bbox": [ [ 2, 0, 474.5539855957031, 283.177001953125 ] ], "category": [ 0 ], "area": [ 134382.701 ] }
72
640
359
{ "id": [ 60 ], "bbox": [ [ 84, 0, 353.7120056152344, 302.885009765625 ] ], "category": [ 0 ], "area": [ 107133.884 ] }
73
640
359
{ "id": [ 61 ], "bbox": [ [ 143, 243, 251, 116 ] ], "category": [ 0 ], "area": [ 29116 ] }
74
640
359
{ "id": [ 62 ], "bbox": [ [ 289, 154, 220, 205 ] ], "category": [ 0 ], "area": [ 45100 ] }
75
640
359
{ "id": [ 63 ], "bbox": [ [ 83, 251, 262, 108 ] ], "category": [ 0 ], "area": [ 28296 ] }
76
640
359
{ "id": [ 64 ], "bbox": [ [ 196, 0, 265.1730041503906, 254.1020050048828 ] ], "category": [ 0 ], "area": [ 67381.023 ] }
77
639
359
{ "id": [ 65 ], "bbox": [ [ 94, 243, 229, 116 ] ], "category": [ 0 ], "area": [ 26564 ] }
78
640
359
{ "id": [ 66 ], "bbox": [ [ 282, 39, 214.9250030517578, 203.9770050048828 ] ], "category": [ 0 ], "area": [ 43839.929 ] }
79
640
360
{ "id": [ 67 ], "bbox": [ [ 149, 137, 491.1109924316406, 223.33299255371094 ] ], "category": [ 0 ], "area": [ 109681.481 ] }
80
640
359
{ "id": [ 68 ], "bbox": [ [ 274, 48, 255.05299377441406, 258.72100830078125 ] ], "category": [ 0 ], "area": [ 65987.561 ] }
81
640
359
{ "id": [ 69 ], "bbox": [ [ 223, 0, 256.94500732421875, 60.340999603271484 ] ], "category": [ 0 ], "area": [ 15504.412 ] }
82
640
359
{ "id": [ 70 ], "bbox": [ [ 237, 0, 248.7689971923828, 136.5260009765625 ] ], "category": [ 0 ], "area": [ 33963.467 ] }
83
640
359
{ "id": [ 71 ], "bbox": [ [ 256, 0, 384.1159973144531, 158.84500122070312 ] ], "category": [ 0 ], "area": [ 61014.74 ] }
84
640
359
{ "id": [ 72 ], "bbox": [ [ 138, 0, 481, 359 ] ], "category": [ 0 ], "area": [ 172679 ] }
85
639
359
{ "id": [], "bbox": [], "category": [], "area": [] }
86
640
359
{ "id": [], "bbox": [], "category": [], "area": [] }
87
639
359
{ "id": [ 73 ], "bbox": [ [ 250, 66, 239.9429931640625, 238.843994140625 ] ], "category": [ 0 ], "area": [ 57309.138 ] }
88
640
359
{ "id": [ 74 ], "bbox": [ [ 269, 37, 241.2899932861328, 244.75999450683594 ] ], "category": [ 0 ], "area": [ 59057.956 ] }
89
640
359
{ "id": [ 75 ], "bbox": [ [ 192, 0, 248.40699768066406, 58.57600021362305 ] ], "category": [ 0 ], "area": [ 14550.743 ] }
90
640
359
{ "id": [ 76 ], "bbox": [ [ 189, 0, 258.8320007324219, 28.885000228881836 ] ], "category": [ 0 ], "area": [ 7476.347 ] }
91
640
360
{ "id": [ 77 ], "bbox": [ [ 216, 1, 230.7270050048828, 56.064998626708984 ] ], "category": [ 0 ], "area": [ 12935.806 ] }
92
640
359
{ "id": [ 78 ], "bbox": [ [ 0, 0, 328.4909973144531, 220.76300048828125 ] ], "category": [ 0 ], "area": [ 72518.583 ] }
93
640
360
{ "id": [ 79 ], "bbox": [ [ 129, 251, 265, 109 ] ], "category": [ 0 ], "area": [ 28885 ] }
94
640
359
{ "id": [ 80 ], "bbox": [ [ 225, 0, 237.71400451660156, 161.01600646972656 ] ], "category": [ 0 ], "area": [ 38275.773 ] }
95
640
359
{ "id": [ 81 ], "bbox": [ [ 172, 0, 259.39801025390625, 57.20399856567383 ] ], "category": [ 0 ], "area": [ 14838.497 ] }
96
640
359
{ "id": [ 82 ], "bbox": [ [ 242, 17, 325.68701171875, 300.41900634765625 ] ], "category": [ 0 ], "area": [ 97842.464 ] }
97
640
360
{ "id": [], "bbox": [], "category": [], "area": [] }
98
640
360
{ "id": [ 83 ], "bbox": [ [ 349, 57, 257.32598876953125, 248.8459930419922 ] ], "category": [ 0 ], "area": [ 64034.774 ] }
99
640
360
{ "id": [ 84 ], "bbox": [ [ 234, 205, 406, 155 ] ], "category": [ 0 ], "area": [ 62930 ] }
End of preview. Expand in Data Studio

IMAV 2025 Gate Detection Dataset

Object detection dataset for gate detection in the IMAV 2025 Indoor Competition - Mission 1. The MAV must navigate through tunnels formed by gates of three sizes (blue 1.5m, green 1.0m, red 0.5m) in a 10m x 10m indoor arena.

Trained model: blackbeedrones/imav-2025-gate

Competition Context

The 16th International Micro Air Vehicle Conference and Competition (IMAV 2025) took place in San Andres Cholula, Puebla, Mexico. The competition theme was "Search and Rescue", inspired by Mexico's seismic activity and the need for micro air vehicles in disaster response scenarios.

Mission 1: Enter the Room

The MAV must navigate through one of four entry options:

  1. Free passage (0 pts): 1m wide open path
  2. Wide tunnel (1 pt): 5 aligned gates, 1.5m x 1.5m window
  3. Medium tunnel (2 pts): 5 aligned gates, 1.0m x 1.0m window
  4. Small tunnel (3 pts): 5 aligned gates, 0.5m x 0.5m window

Target Object

  • Tube diameter: 38.1 mm (1.5")
  • Total height: 2m (base + window)
  • Three tunnel sizes: Wide (blue, 1.5m), Medium (green, 1.0m), Small (red, 0.5m)

Dataset Structure

Split Images
train 4081
validation 199
test 249

Total images: 4529

Classes: gate

Annotation format: COCO (x_min, y_min, width, height)

Usage

Load with HuggingFace Datasets

from datasets import load_dataset

dataset = load_dataset("blackbeedrones/imav-2025-gate-dataset")
example = dataset["train"][0]
print(example["objects"])  # {'bbox': [...], 'category': [...]}

Visualize with bounding boxes

import torch
from torchvision.ops import box_convert
from torchvision.utils import draw_bounding_boxes
from torchvision.transforms.functional import pil_to_tensor, to_pil_image

example = dataset["train"][0]
categories = dataset["train"].features["objects"].feature["category"]

boxes_xywh = torch.tensor(example["objects"]["bbox"])
boxes_xyxy = box_convert(boxes_xywh, "xywh", "xyxy")
labels = [categories.int2str(x) for x in example["objects"]["category"]]

to_pil_image(
    draw_bounding_boxes(
        pil_to_tensor(example["image"]),
        boxes_xyxy,
        colors="red",
        labels=labels,
    )
)

Convert to COCO JSON (for training)

import json
from datasets import load_dataset

dataset = load_dataset("blackbeedrones/imav-2025-gate-dataset", split="train")
categories = dataset.features["objects"].feature["category"]

coco = {
    "images": [],
    "annotations": [],
    "categories": [
        {"id": i, "name": n} for i, n in enumerate(categories.names)
    ],
}

ann_id = 0
for row in dataset:
    coco["images"].append({
        "id": row["image_id"],
        "width": row["width"],
        "height": row["height"],
        "file_name": f"{row['image_id']}.jpg",
    })
    row["image"].save(f"images/{row['image_id']}.jpg")

    for bbox, cat, area in zip(
        row["objects"]["bbox"],
        row["objects"]["category"],
        row["objects"]["area"],
    ):
        coco["annotations"].append({
            "id": ann_id,
            "image_id": row["image_id"],
            "category_id": cat,
            "bbox": bbox,
            "area": area,
            "iscrowd": 0,
        })
        ann_id += 1

with open("annotations.json", "w") as f:
    json.dump(coco, f)

Train with Nectar SDK

from nectar.ai.detection import Detector, TrainingConfig

detector = Detector("yolo11n.pt")
detector.load()
result = detector.train(TrainingConfig(
    dataset_path="path/to/converted/dataset",
    epochs=100,
    push_to_hub=True,
    hub_model_id="blackbeedrones/imav-2025-gate",
))

Train with Ultralytics (YOLO format)

from datasets import load_dataset
from pathlib import Path

dataset = load_dataset("blackbeedrones/imav-2025-gate-dataset")
categories = dataset["train"].features["objects"].feature["category"]

for split_name, split_data in dataset.items():
    img_dir = Path(f"yolo_dataset/images/{split_name}")
    lbl_dir = Path(f"yolo_dataset/labels/{split_name}")
    img_dir.mkdir(parents=True, exist_ok=True)
    lbl_dir.mkdir(parents=True, exist_ok=True)

    for row in split_data:
        fname = f"{row['image_id']}"
        row["image"].save(img_dir / f"{fname}.jpg")
        w, h = row["width"], row["height"]

        with open(lbl_dir / f"{fname}.txt", "w") as f:
            for bbox, cat in zip(row["objects"]["bbox"], row["objects"]["category"]):
                x_center = (bbox[0] + bbox[2] / 2) / w
                y_center = (bbox[1] + bbox[3] / 2) / h
                bw, bh = bbox[2] / w, bbox[3] / h
                f.write(f"{cat} {x_center} {y_center} {bw} {bh}\n")

References

Downloads last month
47

Models trained or fine-tuned on blackbeedrones/imav-2025-gate-dataset

Collection including blackbeedrones/imav-2025-gate-dataset