/ Модель

Характеристики

Лицензия
Своя лицензия
Библиотека
ultralytics
Опубликована
25 ноя 2026

lifeguard-drone-ddt

Поиск объектовИзображение → bounding_boxes
209скачиваний за 30 дней0лайковвеса обновлены25 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Дообученная YOLO11s для обнаружения пловцов и людей с признаками бедствия на кадрах бассейна с верхней камеры.

triq0/lifeguard-drone-ddt — модель обнаружения объектов на основе Ultralytics YOLO11s, разработанная для студенческого проекта Autonomous AI Lifeguard System. Она предназначена для анализа кадров бассейна с верхней или высоко установленной камеры и обнаруживает людей в воде и у бассейна, относя их к классам «плавание», «признаки бедствия» и «вне воды». Веса получены полным дообучением предобученной yolo11s.pt; архитектура DetectionModel содержит около 9,43 млн параметров. Модель принимает изображения и выдаёт рамки объектов с классами и оценками уверенности.

В тесте на 217 ранее не виденных изображениях mAP50 составила 0,636; для класса «плавание» AP50 — 0,845, для «признаков бедствия» — 0,427. Модель может служить входом для трекера и системы оценки риска по последовательности кадров, а также для учебных демонстраций и помощи оператору. Она ограничена сценами бассейна с верхним ракурсом и не предназначена для самостоятельного обеспечения безопасности: полнота обнаружения утопления низкая, а класс «вне воды» обучен на малом числе примеров. Требуется человеческий контроль; лицензия указана как other, а README сообщает, что условия лицензирования не разрешены и коммерческое применение не одобрено.

Сценарии применения

  • обнаружение людей в бассейне с верхней камеры
  • поиск пловцов с видимыми признаками бедствия
  • передача обнаружений в трекер ByteTrack
  • учебная демонстрация компьютерного зрения для безопасности бассейна
  • предоставление оператору данных для оценки риска по видеопоследовательности

Ограничения

Полнота обнаружения класса «признаки бедствия» составляет 0,462, а класс «вне воды» почти не обучен; модель не проверялась на реальном объекте, и частота ложных тревог не измерялась. Она рассчитана только на верхний ракурс бассейна и не должна использоваться как самостоятельная система безопасности или запускать спасение по оценке одного кадра.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

🏊 Lifeguard Drone — DDT

Overhead swimming-pool detector for an autonomous AI lifeguard system

Model Input mAP50 Framework GitHub Side-view model

Predictions on held-out test frames (never seen in training), confidence ≥ 0.5. Left: a person in distress flagged drowning. Right: a swimmer.

⚠️ Research model, not a safety device. A box, or a high drowning score on one frame, does not establish that someone is drowning. Distress needs temporal and contextual evidence (how long it lasts, track history, submersion time) plus human confirmation. Pool-only scope. Drowning recall is limited (0.462), and licensing is unresolved (see Licensing), so this is not cleared for commercial use.

Highlights

TaskDetect people in and around a pool: swimming, drowning, out_of_water
CameraOverhead / top-view or high-mounted pool camera
Test resultmAP50 0.636 · swimming AP50 0.845 · drowning AP50 0.427 (217 unseen images)
DataEvery drowning label was assigned by a human reviewer, never automatically
In the systemA 2 s mean of the drowning score triggers a pre-alert for a human operator, never an alarm on its own

Quick start

pip install "ultralytics==8.4.218" huggingface_hub
from huggingface_hub import hf_hub_download
from ultralytics import YOLO

model = YOLO(hf_hub_download("triq0/lifeguard-drone-ddt", "ddt_v2_final.pt"))
for r in model.predict("overhead_pool_frame.jpg", imgsz=640, conf=0.25):
    for box in r.boxes:
        print(model.names[int(box.cls)], float(box.conf), box.xyxy.tolist())

Checksum verification, video tracking and system integration: INFERENCE.md. Ready-to-run dashboard demo with test videos: triq0/lifeguard-drone-demo.

Model details

ItemValueSource
ArchitectureUltralytics YOLO11s DetectionModel (scale s), 9,428,953 parameters, strides 8/16/32checkpoint
Initialisationyolo11s.pt (Ultralytics pretrained), full fine-tuningcheckpoint train_args
FrameworkUltralytics 8.4.218checkpoint
Weightsddt_v2_final.pt, PyTorch checkpoint, FP16, 19,183,578 bytesfile
SHA-256a6683aa3a2a0a4da5b56dc3839fd1a2cc1ee2cbb59ab023e3897f50abd1d5187SHA256SUMS.txt
Input size640 × 640 (must match training)checkpoint, config.yaml

Classes

Definitions are from the project's cleaning schema and are judged from a single frame.

IndexNameDefinition
0swimmingperson in the water and in control: strokes, calm treading, floating with an aid, playing, walking in shallow water; in-water rescuers count here
1drowningperson in the water with clearly visible distress: head back or low at the surface, vertical with no effective kick, arms pressing down or flailing, face-down motionless, or submerged motionless
2out_of_waterperson on the deck, edge, ladder, starting block or diving board, including lifeguards

In the Lifeguard System runtime, all three classes count as "person" (person_class_ids: [0, 1, 2]). The class-1 confidence is the distress score (distress_class_ids: [1]).

System context

This is one of two perception front ends of the Autonomous AI Lifeguard System, a student engineering project:

Pool camera → YOLO detector → ByteTrack tracking → rule-based risk engine → operator dashboard → (simulated) rescue drone.

This model covers overhead / high-mounted cameras. The side-view model is triq0/lifeguard-drone-z5cc.

Intended use

  • Research, teaching and demos of pool-safety computer vision.
  • Locating people in overhead pool views, as input to a tracker and a temporal risk engine.
  • An aid to a trained lifeguard or operator, who keeps responsibility for every decision.

Out of scope

  • The sole or primary drowning-prevention or life-safety system.
  • Alarms or rescues triggered by single-frame drowning scores without temporal evidence and human confirmation.
  • Open water, beaches, lakes, the sea, underwater cameras, aerial drone footage, or side-view poolside cameras.
  • Relying on the out_of_water class (see Limitations).
  • Identifying or profiling individuals, or surveillance beyond pool safety.
  • Commercial deployment while licensing is unresolved.

Training data

ItemVerified fact
Source datasetRoboflow Universe DrowningDetectionTracking (workspace drowningdetection-2zzxz), export v1 (2024-03-30). Its README says "Provided by a Roboflow user. License: CC BY 4.0". https://universe.roboflow.com/drowningdetection-2zzxz/drowningdetectiontracking
Original image sourcesUnknown. The Roboflow project publishes no provenance.
Cleaning → ddt_v1Reproducible pipeline that removed duplicates, augmented copies and split leakage, with a fixed 3-class schema → 925 images and 0 drowning boxes: all possible-drowning images were quarantined, because drowning is human-only
Human review → ddt_v2Quarantined images were grouped by source clip (157 groups). The 24 largest groups (1,071 images) were reviewed by the project author, one decision per group. Filters then removed noise cut-outs, multi-person drowning images and near-duplicates. No clip appears in two splits
Splits (boxes swimming / drowning / out_of_water)train 971 images (1,315 / 299 / 19) · valid 219 (297 / 66 / 1) · test 217 (313 / 52 / 0)
Final training settrain + valid (1,190 images)

The dataset is not distributed here. This repository holds only the weights and documentation.

Training

Trained on Google Colab (Tesla T4). Values from the checkpoint's train_args and the training report §2.5.

SettingValue
Epochs80, fixed; final = last epoch (the count is the best epoch of the earlier s640 run)
Batch / optimizer / lr0 / seed16 / AdamW / 0.001429 / 42
Augmentationmosaic 1.0, horizontal flip 0.5, vertical flip 0.5, rotation ±10° (an overhead view has no fixed "up"), HSV, scale, translate, random erasing, RandAugment, mixup 0.1

Experiment history (same test split):

Runimgsztest mAP50swimming AP50drowning AP50drowning recall
s6406400.5820.6950.4700.438
s960 (rejected)9600.4270.6830.1710.321
final (train + valid)6400.6360.8450.4270.462

Evaluation

Held-out test split: 217 images, 365 boxes, never used for training. Ultralytics metrics; per-class P/R at the max-F1 confidence. Source: training report §2.5 and the training notebook's results table.

MetricValue
mAP50 (all)0.636
mAP50-95 (all)0.250
swimming AP50 / P / R0.845 / 0.830 / 0.815
drowning AP50 / P / R0.427 / 0.581 / 0.462
out_of_waternot measurable (0 test instances)

Only 52 drowning boxes are in the test split, from a few clips, so differences of a few points are noise. The checkpoint's stored train_metrics were computed on the validation split, which was part of training. Do not quote them.

Limitations and risks

  • Weak drowning performance: recall 0.462, so more than half of drowning boxes are missed or misclassified per frame.
  • Small drowning sample: 299 training and 52 test boxes.
  • out_of_water is barely trained: 19 training boxes, 0 test boxes. Treat it as unreliable.
  • Unknown image provenance and mixed quality (some are low-quality video frames). 133 small candidate groups and the crowded drowning scenes were not used.
  • Not validated on the project team's own camera or a real facility. False alarms per hour have not been measured. Performance across ages, body types, skin tones, pools and lighting is unknown.
  • False reassurance: a missed detection can delay a response. Always keep human supervision.
  • The .pt file is a pickle checkpoint. Load it only after checking SHA256SUMS.txt.

Licensing

Unresolved. No LICENSE file is included on purpose. Details: LICENSE_STATUS.md.

  • Data: the Roboflow export shows CC BY 4.0, but the original image sources are not verified.
  • Framework / base weights: the checkpoint records Ultralytics' licence as AGPL-3.0 (https://ultralytics.com/license). This is open decision OD-7 in the project.

Attribution

Source dataset: DrowningDetectionTracking, Roboflow Universe, workspace drowningdetection-2zzxz, shown as CC BY 4.0. The cleaning, the human drowning review and the ddt_v2 subset are the Lifeguard System project's own work.


Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · ultralytics

Нельзя запустить

Модели Ultralytics YOLO требуют отдельного рантайма.

Ревизия весов
d552e15

0 моделей