/ Модель

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

Параметры
113 млн
Лицензия
Apache 2.0
Архитектура
yolos · dense
Базовая модель
yolos-base
Библиотека
transformers
Опубликована
6 мая 2025

yolos-base-signature-detection

Поиск объектовИзображение → bounding_boxes6 профессий

YOLOS-base-signature-detection находит рукописные подписи на изображениях сканов документов и форм.

2 491скачиваний за 30 дней1лайквеса обновлены10 июл 2025

Бенчмарки

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

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

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

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

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

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

YOLOS-base-signature-detection — модель обнаружения объектов, дообученная Марио Дефрансом на базе hustvl/yolos-base для поиска рукописных подписей на изображениях документов. Она использует архитектуру YOLOS на основе Vision Transformer и выдаёт области изображения с обнаруженными подписями. Модель рассчитана на обработку сканов договоров, форм и других документов; её можно использовать в конвейерах проверки документов с последующей проверкой результатов человеком.

Обучение проводилось на наборе изображений подписей, собранном из Tobacco800 и signatures-xc8up и подготовленном в формате COCO; в метаданных также указан набор tech4humans/signature-detection. Репозиторий содержит около 113,2 млн параметров, веса представлены в формате safetensors, для работы заявлена поддержка PyTorch через Transformers. Модель лицензирована по Apache 2.0.

Она предназначена только для обнаружения подписей, не для поиска других объектов или проверки подлинности подписи. Возможны ложные срабатывания и пропуски; качество может снижаться на шумных, низкокачественных изображениях и при разнообразии стилей, недостаточно представленном в обучающих данных. Для юридически или финансово значимых процессов результаты следует проверять вручную.

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

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

Ограничения

Модель может давать ложные срабатывания и пропуски, особенно на изображениях низкого качества или с шумом, и может хуже работать со стилями подписей, недостаточно представленными в обучающих данных. Она обнаруживает подписи, но не предназначена для проверки их подлинности; значимые результаты требуют проверки человеком.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

YOLOS (base-sized) Model For Handwritten Signature Detection

YOLOS model finetuned to detect handwritten signatures in document images using [tech4humans/signature-detection](https://huggingface.co/datasets/tech4humans/signature-detection) dataset.

Original YOLOS was introduced in the paper You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection by Fang et al. and first released in this repository.

Model description

YOLOS is a Vision Transformer (ViT) trained using the DETR loss. Despite its simplicity, a base-sized YOLOS model is able to achieve 42 AP on COCO validation 2017 (similar to DETR and more complex frameworks such as Faster R-CNN).

Uses

This model is designed for detecting handwritten signatures in scanned documents, contracts, or forms.

You can try it instantly in your browser here: HF Space

Direct Use

Here is how to use this model:

from datasets import load_dataset
from transformers import pipeline

# Load the tech4humans signature dataset
dataset = load_dataset("samuellimabraz/signature-detection")

# Load the finetuned model
yolos = pipeline(
    task="object-detection",
    model="mdefrance/yolos-base-signature-detection",
    device_map="auto",
)

# Inference on test sample
prediction = yolos(dataset["test"][0].get("image"))

Currently, both the image processor and model support PyTorch.

Out-of-Scope Use

  • Fraudulent Use: This model must not be used for forging signatures or any illegal activity. It’s meant for legitimate signature detection in documents.
  • Other Objects: Not suitable for detecting non-signature elements in documents.
  • Critical Decisions: Should not be solely relied on for high-stakes decisions (e.g., legal or financial) without human validation.

Bias, Risks, and Limitations

  • Bias: May not generalize well if training data lacks diversity in signature styles or cultural context.
  • Risks: False positives/negatives can occur, impacting document validation.
  • Limitations: Performance may degrade on poor-quality images or in challenging visual conditions (e.g., noise, lighting).

Recommendations

  • Improve Training Data: Fine-tune with diverse and representative samples to reduce bias.
  • Human Oversight: Always include a human review step for critical use cases.
  • Image Quality: Use clean, high-resolution images; apply preprocessing if needed.
  • Ethical Use: Follow legal and ethical standards, ensuring privacy and responsible deployment.

Training Details

Training Data

The training utilized a dataset built from two public datasets: Tobacco800 and signatures-xc8up, unified and processed in Roboflow. The processed dataset was created by Samuel Lima Braz, and all credit for the dataset preparation goes to him.

Dataset Summary:

  • Training: 1,980 images (70%)
  • Validation: 420 images (15%)
  • Testing: 419 images (15%)
  • Format: COCO JSON
  • Resolution: 640x640 pixels

Training Procedure

See mdefrance/signature-detection for details on training procedure.

Metrics

Performances computed on the testing set:

Metricyolos-base-signature-detectionyolos-small-signature-detectionyolos-tiny-signature-detection
Inference Time - CPU (s)2.2500.7870.262
Inference Time - GPU (s)1.4640.0230.014
Parameters127.73M30.65M6.47M
mAP500.8870.8590.856
mAP50-950.4950.4190.395

Inference times are computed on a laptop with following specs:

  • CPU: Intel Core i7-9750H
  • GPU: NVIDIA GeForce GTX 1650

License Comparison

GNU Affero General Public License v3.0 (AGPL-3.0)

AGPL-3.0 is a strong copyleft license designed to keep software and its modifications open-source, especially for web apps and network services.

  • Strong Copyleft: Modified versions must also be AGPL-licensed.
  • Network Use: Users must get the source code, even if they only interact with the software over a network.
  • Commercial Use: Allowed, but any changes must be shared under AGPL-3.0.
  • Patent Protection: Includes safeguards against patent and trademark claims.

Apache License 2.0

Apache 2.0 is a permissive license that offers flexibility for both open-source and proprietary use.

  • Permissive: Modifications and derivatives don’t need to be open-source.
  • Commercial Use: Fully allowed with no requirement to share changes.
  • Patent Protection: Includes strong patent clauses.
  • Compatibility: Easy to combine with other licenses and projects.

Summary: Why Apache 2.0 Offers More Flexibility

While AGPL-3.0 ensures openness, Apache 2.0 is better suited for businesses and closed-source use:

  • No obligation to disclose modified code.
  • Easier to integrate into proprietary systems.
  • More flexible for commercial applications.

For full license texts, see:

Citation

This model is a finetuned version of the YOLOS model introduced in the following paper. If you use this model, please cite the original work:

BibTeX:

@article{DBLP:journals/corr/abs-2106-00666,
  author    = {Yuxin Fang and
               Bencheng Liao and
               Xinggang Wang and
               Jiemin Fang and
               Jiyang Qi and
               Rui Wu and
               Jianwei Niu and
               Wenyu Liu},
  title     = {You Only Look at One Sequence: Rethinking Transformer in Vision through
               Object Detection},
  journal   = {CoRR},
  volume    = {abs/2106.00666},
  year      = {2021},
  url       = {https://arxiv.org/abs/2106.00666},
  eprinttype = {arXiv},
  eprint    = {2106.00666},
  timestamp = {Fri, 29 Apr 2022 19:49:16 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/abs-2106-00666.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Additional Resources

Acknowledgements

This model is finetuned for handwritten signature detection using the [tech4humans/signature-detection](https://huggingface.co/datasets/tech4humans/signature-detection) Dataset. The finetuning process and additional resources can be found in the GitHub Repository mdefrance/signature-detection.

Author

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

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

GPU в ailist

Универсальный рантайм · transformers · object-detection

Можно запустить

Подбираем GPU…

Класс архитектуры
YolosForObjectDetection
Ревизия весов
c8e2c68

0 моделей