Upload README.md with huggingface_hub
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---
license: apache-2.0
tags:
- tinyml
- tflite
- int8
- esp32
- esp32-p4
- maritime
- offshore
- search-and-rescue
- object-detection
- swimmer-detection
datasets:
- dronefreak/SeaDronesSee
library_name: tflite
---
# VoxHOD-Offshore v1.0 — Tiny Maritime Aerial Swimmer Detector (74.7 KB / 191 KB int8)
**VoxHOD-Offshore** is the maritime / open-water sibling of [VoxHOD](https://github.com/ErdemWilkinson/VoxHOD) by Erdem Aslan. Built on the exact same `160×160 → 40×40×1` anchor-free heat-only architecture, it detects swimmers and people in water from downward/angled aerial drone imagery while treating boats, jetskis, buoys, and sun glint as hard negatives.
- **Code & Training Pipeline (Apache 2.0):** [ErdemWilkinson/VoxHOD](https://github.com/ErdemWilkinson/VoxHOD)
- **Weights License:** Apache 2.0 (trained from scratch on `SeaDronesSee`, **CC0 1.0** public domain — zero NC / restricted data)
- **On-Device Benchmark (Real ESP32-P4 rev v1.3, 360 MHz):** `74.7 KB` Nano runs in **`155.36 ms/tile`** (`211.9 KB` arena) inside a triple-stack firmware alongside `Flâneur` (`60.2 KB`, `1.652 ms`) and `Voice Hat A` (`177.6 KB`, `630.46 ms / 4 s`).
## Files
| File | Size | Description |
|---|---:|---|
| `voxhod_offshore_fv_soup_int8.tflite` | `191.0 KB` | **Flagship Full model** (3-teacher ensemble self-distillation + 3-branch Model Soup + QAT int8) |
| `voxhod_offshore_fn_base_int8.tflite` | `74.7 KB` | **Nano model** (`width=0.5`, QAT int8, `155.36 ms/tile` measured on ESP32-P4) |
| `offshore_v1_eval.json` | — | Full unseen `val` + `test` threshold-sweep metrics |
## Unseen Test Results (`SeaDronesSee`, 4,512 test tiles / 755 swimmers)
| Model | Size | `@80%Rec` FA/tile | `@80%Rec` Precision | `@0.3FA` Recall | Small Swimmers (`8–16 px`) | `@0.1FA` Recall |
|---|---:|---:|---:|---:|---:|---:|
| **`voxhod_offshore_fv_soup_int8.tflite`** | **`191.0 KB`** | **`0.112`** | **`54.7%`** | **`88.9%`** | **`97.9%`** | **`79.3%`** |
| **`voxhod_offshore_fn_base_int8.tflite`** | **`74.7 KB`** | **`0.185`** | **`42.2%`** | **`86.1%`** | **`97.0%`** | **`70.6%`** |
## Model Contract
- **Input:** `160 × 160 × 3` RGB (`int8` quantized from `pixel / 127.5 - 1.0`).
- **Output:** `40 × 40 × 1` `int8` swimmer-center heatmap (stride 4). Local maxima (`3×3` max-pool) above threshold yield swimmer locations.
## Citation / Attribution
Please credit **"VoxHOD-Offshore by Erdem Aslan"** with a link to [ErdemWilkinson/VoxHOD](https://github.com/ErdemWilkinson/VoxHOD) under Apache License 2.0.README.mdAdded+47