Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
7
10
a_102.jpg
a_103.jpg
a_104.jpg
a_105.jpg
a_106.jpg
a_107.jpg
a_108.jpg
a_109.jpg
a_110.jpg
a_111.jpg
a_112.jpg
a_113.jpg
a_114.jpg
a_116.jpg
a_117.jpg
a_118.jpg
a_119.jpg
a_120.jpg
a_122.jpg
a_124.jpg
a_125.jpg
a_126.jpg
a_128.jpg
a_130.jpg
a_131.jpg
a_133.jpg
a_134.jpg
a_135.jpg
a_137.jpg
a_138.jpg
a_139.jpg
a_140.jpg
a_141.jpg
a_142.jpg
a_143.jpg
a_144.jpg
a_145.jpg
a_146.jpg
a_147.jpg
a_148.jpg
a_149.jpg
a_150.jpg
a_151.jpg
a_152.jpg
a_153.jpg
a_154.jpg
a_155.jpg
a_157.jpg
a_158.jpg
a_161.jpg
a_162.jpg
a_164.jpg
a_167.jpg
a_169.jpg
a_170.jpg
a_172.jpg
a_173.jpg
a_174.jpg
a_175.jpg
a_176.jpg
a_177.jpg
a_179.jpg
a_180.jpg
a_181.jpg
a_183.jpg
a_184.jpg
a_185.jpg
a_186.jpg
d_268.jpg
d_269.jpg
d_270.jpg
d_271.jpg
d_272.jpg
d_273.jpg
d_274.jpg
d_275.jpg
d_276.jpg
d_277.jpg
d_278.jpg
d_279.jpg
d_280.jpg
d_282.jpg
d_283.jpg
d_284.jpg
d_285.jpg
d_286.jpg
d_288.jpg
d_290.jpg
d_291.jpg
d_292.jpg
d_294.jpg
d_296.jpg
d_297.jpg
d_299.jpg
d_300.jpg
d_301.jpg
d_303.jpg
d_304.jpg
d_305.jpg
d_306.jpg
End of preview. Expand in Data Studio

AFO – Aerial dataset of Floating Objects

AFO is a set of drone-captured images of people and objects floating on water, built for maritime search-and-rescue perception. It was among the first freely available datasets for this task, and it remains one of the few that targets very small objects seen from altitude over open water.

Sample images with ground-truth boxes

Reproducible detection baselines on the official splits — loader, COCO export and a shared evaluator — are at github.com/Panicum/afo-benchmark.

Contents

3,641 images extracted from 50 drone videos, carrying 39,991 annotated objects. Most objects are small: they are swimmers and boards seen from tens of metres up, often only a few dozen pixels across. 729 images contain no annotated object and are kept as negatives.

One image, i3_200.jpg, is listed in none of the three split files — together they cover 3,640 of the 3,641 images. It is one of the background frames. Documented, not fixed: the splits are shipped as released.

Measured image resolutions (four distinct sizes):

resolution images
2560 × 1440 1,694
3840 × 2160 1,315
2720 × 1530 539
1920 × 1080 93

The six classes, in index order (original spelling from 6categories.names preserved):

index class objects
0 human 33,174
1 wind/sup-board 3,922
2 boat 702
3 bouy 587
4 sailboat 160
5 kayak 1,446

Class distribution

human is 83 % of all objects and sailboat 0.4 %, so per-class results matter more here than a class-averaged mAP. The figures spell the class buoy; the label files spell it bouy, and that is what the loader must use.

Object size distribution

Object size is the reason this dataset is hard. In native 2.5K–4K pixels almost nothing is small by COCO's thresholds — the tiny bucket holds 15 objects in the entire dataset — but at the resolution a detector actually sees, 62 % of objects fall into tiny at 640 px input and 54 % into small at 1280 px.

Objects per image

Frames are also crowded: a single image carries up to 94 annotated objects, which is why the benchmark raises pycocotools' maxDets above the COCO default of 100. Note that the negatives are not spread evenly — 720 of 2,787 train images and 8 of 339 val images have no objects, while the test split has none at all.

Splits, as shipped in the original release:

split list file images objects share of objects
train train.txt 2,787 26,960 67.42 %
val validation.txt 339 5,392 13.48 %
test test.txt 514 7,639 19.10 %

The test split is drawn mostly from source clips that do not appear in train or val: of the 17 filename prefixes in test.txt, 14 occur nowhere else, and the other three (a, z3, r4) contribute frame ranges that are almost entirely disjoint from their train/val frames.

Format

Darknet YOLO. This repository reproduces the original Kaggle release byte-for-byte, including its three-part layout and the doubled directory nesting — nothing was merged, renamed or re-indexed.

PART_1/PART_1/
  images/              1,014 .jpg
  6categories/         3,641 .txt   ← the 6-class labels (use these)
  2categories/         3,641 .txt   ← same boxes, collapsed to small_obj / large_obj
  1category/           3,641 .txt   ← same boxes, all classes collapsed to 0
  6categories.names    6 class names, index order
  2categories.names    2 class names
  train.txt  validation.txt  test.txt
  readme.txt
PART_2/PART_2/images/  1,222 .jpg   + readme.txt
PART_3/PART_3/images/  1,405 .jpg   + readme.txt

Two things follow from this layout:

  • All labels live in PART_1, for every image in the dataset. PART_2 and PART_3 contain images only. Each part holds roughly a third of the images, and the three image sets are disjoint.
  • Each label file is <image stem>.txt, one object per line: class cx cy w h, normalised to [0, 1] relative to image width and height, with cx cy the box centre.

The split lists contain bare filenames (a_102.jpg), not paths — the image may be in any of the three parts.

Loading

import os

ROOT = "."                                    # repository root
P1 = os.path.join(ROOT, "PART_1", "PART_1")
IMG_DIRS = [os.path.join(ROOT, f"PART_{i}", f"PART_{i}", "images") for i in (1, 2, 3)]
CLASSES = open(os.path.join(P1, "6categories.names")).read().splitlines()

def find_image(name):                         # images are spread across the three parts
    return next(p for p in (os.path.join(d, name) for d in IMG_DIRS) if os.path.exists(p))

for name in open(os.path.join(P1, "train.txt")).read().split():
    label_path = os.path.join(P1, "6categories", os.path.splitext(name)[0] + ".txt")
    boxes = [(int(c), float(x), float(y), float(w), float(h))
             for c, x, y, w, h in (ln.split() for ln in open(label_path) if ln.strip())]
    print(find_image(name), len(boxes), "objects")

A packaged loader, COCO export, dataset statistics and trained baselines are in afo-benchmark.

Baselines

18 runs on the official test split, one shared pycocotools evaluator, weights published per run. Full tables and protocol: afo-benchmark.

Six classes (10 runs) — best is rfdetr-base at 640: 0.4080 mAP50-95, 0.7279 mAP50.

Two classes (8 runs), the merge used in Table 2 of the paper — small_obj = human + buoy, large_obj = the rest. Best is rfdetr-nano at 640: 36.44 AP, 81.23 AP@50, 67.63 AP@50 on small_obj. For reference, Table 2's strongest single model reached 36.25 AP and its best ensemble 37.71 AP — but those were trained at 300²–1333×750 on a fixed 20k-iteration schedule, so read the comparison as context, not as rows of one experiment.

Each run is a single seed, so differences under roughly 1 AP point should not be read as real.

License

Creative Commons Attribution-NonCommercial-ShareAlike 3.0 (CC BY-NC-SA 3.0). You must attribute the work as specified by the authors, you may not use it for commercial purposes, and derivative works must carry the same license. For commercial use, contact the authors.

Citation

@article{gasienica2021afo,
  author  = {G{\k{a}}sienica-J{\'o}zkowy, Jan and Knapik, Mateusz and Cyganek, Bogus{\l}aw},
  title   = {An ensemble deep learning method with optimized weights for drone-based water rescue and surveillance},
  journal = {Integrated Computer-Aided Engineering},
  year    = {2021}, volume = {28}, number = {3}, pages = {221--235},
  doi     = {10.3233/ICA-210649}
}

Mirrors

Original release on Kaggle (5,400+ downloads): https://www.kaggle.com/datasets/jangsienicajzkowy/afo-aerial-dataset-of-floating-objects

AFO is also redistributed via Voxel51/FiftyOne, Dataset Ninja and Roboflow Universe. Counts on those mirrors may differ from the ones above, because some of them merge, re-split or re-encode the data. This copy is canonical and byte-identical to the Kaggle release.

Acknowledgements

Supported by the Polish National Science Center, grant 2016/21/B/ST6/01461.

Thanks to Agnieszka Malonik Taggart, Wojciech Sulewski, Dariusz Nawrocki and Wojciech Kubiela, the photographers who contributed the source videos.

Author

Jan Gąsienica-Józkowy · Google Scholar · ORCID 0009-0009-7120-9083

Downloads last month
4,582

Models trained or fine-tuned on jgasienica/afo-dataset