/ Модель

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

Лицензия
CC BY-NC 4.0
Базовая модель
YOLO26
Библиотека
ultralytics
Опубликована
19 ноя 2025

TurtleDetector

Сегментация изображенийИзображение → mask3 профессии

Модель сегментирует морских черепах, их головы и ласты на подводных фотографиях и снимках над водой.

1 648скачиваний за 30 дней3лайкавеса обновлены27 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

TurtleDetector — модель компьютерного зрения, разработанная авторами репозитория BVRA и предназначенная для сегментации морских черепах и частей их тела на фотографиях. Она дообучена на основе YOLO26, использует библиотеку Ultralytics и различает черепах, головы, а также передние и задние левые и правые ласты. Модель рассчитана на подводные снимки и фотографии черепах над водой, включая изображения крупным планом.

Модель оценивали на независимых тестовых наборах с подводными фотографиями и снимками из центров спасения, а также на изображениях без черепах. В README приведены показатели точности и полноты при пороге уверенности 0,7; авторы отмечают высокую надёжность обнаружения целой черепахи и редкие ложные срабатывания. Разметка частей тела может пропускать небольшие или частично скрытые задние ласты; снижение порога уверенности повышает полноту обнаружения голов.

Модель предназначена для анализа фотографий морских черепах, в том числе для выделения частей тела, необходимых при повторной идентификации особей. Репозиторий распространяется по лицензии CC BY-NC 4.0, которая ограничивает коммерческое использование.

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

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

Ограничения

Модель может пропускать части тела, особенно небольшие или частично скрытые задние ласты. Лицензия CC BY-NC 4.0 не допускает коммерческое использование.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

TurtleDetector detects sea turtles, their heads, and their flippers. For flippers, it distinguishes front/hind and left/right flippers, enabling precise matching for re-identification of individual turtles. It is able to detect sea turtles both under and above water.

Evaluation

Photos with turtles

The model was evaluated on the test sets, which are disjoint from the training and evaluation data. We used SeaTurtleID2022 with underwater photos, TurtlesOfSMSRC with photos from rescue centres and TurtlewatchEgypt 2016 (private) with underwater photos, including photos without any turtle.

All numbers are computed for the confidence threshold 0.7, so only predictions with confidence of at least 0.7 are kept. Precision is the fraction of detections which are correct, while recall is the fraction of annotated body parts which were detected.

ClassSeaTurtleID2022 precisionSeaTurtleID2022 recallTurtlesOfSMSRC precisionTurtlesOfSMSRC recallTurtlewatchEgypt 2016 precisionTurtlewatchEgypt 2016 recall
turtle0.9940.9961.0001.0000.9950.980
head0.9980.9380.9650.9820.9970.890
flipper_fl0.9750.8970.9780.9780.9450.907
flipper_fr0.9570.9151.0001.0000.9750.880
flipper_hl0.9300.8480.8890.9410.9600.768
flipper_hr0.9360.8360.9330.8240.9140.763

Photos without turtles

The false positive rate is the fraction of photos without turtles in which the model detected at least one turtle or body part. SeaTurtleID2022 (private) is a small set of difficult underwater photos from the same location as SeaTurtleID2022. TurtlewatchEgypt 2016 (private) contains the test photos of TurtlewatchEgypt 2016 without any turtle.

DatasetFalse positive rate
UIEB0.008
SUIM0.002
SeaTurtleID2022 (private)0.020
TurtlewatchEgypt 2016 (private)0.007

Observations

  • The detections are very reliable: precision is at least 0.89 for all classes and datasets, so false detections are rare both on photos with and without turtles.
  • The whole turtle is almost always found. Most errors are missed body parts, mainly hind flippers, which are smaller and often partially hidden.
  • Lowering the confidence threshold to 0.5 increases the recall of heads to about 0.98 with almost no decrease in precision.

Usage

The model can be used as any ultralytics model. First, download and load the model.

from huggingface_hub import hf_hub_download
from ultralytics import YOLO

path_model = hf_hub_download(
    repo_id="BVRA/TurtleDetector",
    filename="turtle_detector.pt",
)
model = YOLO(path_model)

Then download an image (or use yours) and run the prediction.

import requests
from io import BytesIO
from PIL import Image

def load_image(url):
    r = requests.get(url, timeout=30)
    r.raise_for_status()
    return Image.open(BytesIO(r.content)).convert("RGB")

img_url = "https://huggingface.co/BVRA/TurtleDetector/resolve/main/images/321595639_581630651.jpg"
img = load_image(img_url)

result = model.predict(img, verbose=False, save=False, show=False)[0]
img_annotated = result.plot()[:, :, ::-1]

Image.fromarray(img_annotated)

Training

The model is a fine-tuned yolo26s-seg. The following sources were used for training:

  • SeaTurtleID2022: A large database of 438 individual loggerhead turtles spanning 13 years. All photos are underwater.
  • TurtlesOfSMSRC: Emerging database of mostly juvenile green turtles of both underwater photos and photos from rescue centres. Only the latter were chosen to complement the SeaTurtleID2022 database.
  • TurtlewatchEgypt 2016: A private database of underwater photos from the Red Sea. The masks were predicted by the previous version of TurtleDetector and manually verified.
  • UIEB and SUIM: Underwater images without turtles used as negatives to reduce false positives.

During training, images are randomly cropped around the head with probability 0.15 so that the model also works on close-up photos. The masks of the turtle class cover the whole turtle including the head and flippers.

The training scripts are in the training folder:

  • preparation: downloading (download_data.py) and preparing (prepare_data.py) the data, creating the masks for TurtlesOfSMSRC and TurtlewatchEgypt.
  • train: training the model (segmentation_train.py).
  • evaluation: evaluating the model on the test sets (evaluate.py) and comparing the evaluations of multiple models.

The scripts are run as modules from the training folder, for example:

cd training
python -m preparation.download_data
python -m preparation.prepare_data
python -m train.segmentation_train --crop_prob 0.15 --name crop15_640_noov

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

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

GPU в ailist

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

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

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

Ревизия весов
15a6493

0 моделей