/ Модель

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

Лицензия
AGPL 3.0
Библиотека
onnx
Опубликована
20 окт 2026

scriberec

Описание изображенийИзображение → текст4 профессии

ScribeRec — компактная модель для распознавания английского текста в строках экранных интерфейсов на NPU AMD XDNA1.

0скачиваний за 30 дней0лайковвеса обновлены20 окт 2026

Бенчмарки

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

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

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

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

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

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

ScribeRec — распознаватель строк экранного текста, разработанный ignite-scribe для выполнения на NPU AMD XDNA1. Модель с 1,25 млн параметров обучена с нуля, а выпуск release-03 дообучен на геометрии обрезанных строк терминала. Свёрточная часть запускается на NPU в формате ONNX XINT8, а BiLSTM и CTC-декодирование выполняются на CPU. Модель принимает изображение одной строки интерфейса, терминала или редактора; высота входа составляет 80 пикселей, предусмотрены варианты ширины от 320 до 1280 пикселей. Распознаёт английский текст.

На тесте реальных окон Windows для статического текста авторы сообщают CER 0,22%; на устройстве Ryzen 7 8700G выполнение занимает 10–17 мс на строку. Сильная сторона модели — распознавание экранных строк, включая терминальный текст. На загруженных терминальных интерфейсах с рамками, анимацией и необычными символами точность заметно ниже; возможны замены пробелов на дефисы и вставки символов, отсутствующих в словаре. Лицензия репозитория — AGPL-3.0. В README также отмечена неопределённость относительно лицензирования части шрифтов, использованных при обучении.

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

  • распознавание строк текста в терминале Windows
  • извлечение текста из строк интерфейса приложения
  • распознавание текста в строках редактора кода
  • быстрый OCR экранных строк на NPU AMD XDNA1

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

ScribeRec: a screen-text line recognizer for AMD's XDNA1 NPU

ScribeRec is ignite-scribe's text-line recognizer. It was designed and trained from scratch to run on the int8 engine of ignite-xdna on AMD's XDNA1 NPU (Phoenix and Hawk Point). It has 1.25 M parameters: a convolutional backbone that runs on the NPU, then a BiLSTM tail and CTC decoding on the CPU. It reads one line of screen text (UI, terminal, editor) at a time.

This is release-03, fine-tuned from release-01 on the geometry of terminal-line crops.

Files (r03/)

FileWhat
backbone_{320,640,960,1280}.onnxfloat backbone per input-width bucket (input height 80)
backbone_{320,640,960,1280}_xint8.onnxAMD Quark XINT8 QDQ versions, calibrated per bucket; what the NPU runs
backbone.onnx, backbone_xint8.onnxthe 320 bucket under its old name
tail.onnxBiLSTM tail and classifier (dynamic n and t)
dict.txtthe characters (436), PP-OCRv5's English dictionary
MODEL.mdthe training notes: architecture, classes, preprocessing, recipe, results

Classes: 438. Blank = 0; dict.txt = 1..436 in file order; space = 437. Preprocessing and decoding are in MODEL.md and in ignite-scribe's scriberec_rec.py.

r03/npu/scriberec_{320,640,960,1280}.ignite are the compiled ignite-xdna NPU containers, built from the XINT8 backbones (ignite-compile --engine graph --task segment). They run through ignite-xdna's runtime, not ONNX Runtime's VitisAI EP.

Results

TestScribeRec r03PP-OCRv5 (CPU)ScribeRec release-01
Real Windows terminal, static text, character error rate0.22%0.48-0.54%1.40-1.55%
Live terminal UI full of box-drawing rules and spinners4.47%1.53%8.29%
Synthetic UI lines (seed 100), XINT80.154%
  • Real-window numbers: ignite-scribe's tools/ocr_diag.py, with the window's UI Automation text as truth. All recognizers read the same crops.
  • On the NPU (Ryzen 7 8700G): bit-exact to the XINT8 ONNX in every bucket, at 10-17 ms a line (30 ms for a split long line).
  • Weak spot: busy terminal UIs. It reads a space as '-' next to box-drawing rules, and it inserts glyphs that aren't in the dictionary (spinners, check marks).

Training data and fonts: read before use

  • Text: public domain only, plus generators: PG19 (public-domain books) and the SQLite source.
  • Fonts: the line images were rendered with Windows GDI and DirectWrite from the fonts installed on the training PC, as whole lines of text, not single glyphs. No font file or glyph outline is in this model. By family, of the 264 used:
    • about 93 are Windows' own fonts (Segoe UI, Consolas, Cascadia, Calibri, Arial and others). They carry most of the training lines: the generator draws most lines from a fixed list of these.
    • about 56 are openly licensed (OFL, Apache-2.0, Ubuntu Font Licence and similar: Noto, DejaVu, Liberation, Ubuntu Sans Mono and others).
    • about 115 came with other software, mostly Microsoft Office: Monotype, ITC, URW, Font Bureau and Bigelow & Holmes faces such as Gill Sans MT, Bodoni MT and Agency FB; also an ASUS and an Adobe font. Their licences neither grant nor clearly forbid this use. They make up about 16% of the training lines, about 10 k lines per family.
  • The publisher's reading: the model contains no font data, so publishing it does not distribute any font. This is not a settled legal question. Users who need certainty should take their own advice. A version trained only on Windows-supplied and openly licensed fonts can be made if needed.

Licence

AGPL-3.0-or-later, like ignite-scribe. dict.txt is from PaddleOCR (Apache-2.0); see r03/LICENSE.md. manifest.json lists every file with its sha256.

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

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

GPU в ailist

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

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

В репозитории нет весов в формате PyTorch/safetensors.

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

0 моделей