/ Модель

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

Лицензия
Apache 2.0
Библиотека
onnx
Опубликована
9 окт 2026

visionstate-wheel-reader

Классификация изображенийИзображение → label3 профессии

Модель ONNX для распознавания положения цифровых барабанных колёс на фотографиях счётчиков воды и газа.

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

Бенчмарки

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

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

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

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

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

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

VisionState wheel reader — модель для приложения Home Assistant, разработанная для локального считывания механических счётчиков воды и газа по изображениям камеры. Она анализирует отдельные барабанные колёса с цифрами и выдаёт распределение вероятностей по 100 положениям колеса, включая промежуточные значения между цифрами. Для получения показания счётчика приложение согласует положения соседних колёс с учётом механики их вращения.

В репозитории представлены две модели ONNX: wheels-v1 с 565 тыс. параметров и wheels-v2 с 1,5 млн параметров. Версия v2 обрабатывает колесо отдельно и вместе с соседними областями, а также выдаёт эмбеддинг; она получена дистилляцией ансамбля из 16 моделей. В тестах на наборе Word-Wheel точность wheels-v1 составила 97,7% для правильно ориентированных фотографий. Модель предназначена для барабанных счётчиков, а не для счётчиков с циферблатными стрелками. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

VisionState wheel reader

The models VisionState — a Home Assistant app that turns camera images into sensors, locally — reads mechanical counters with (water and gas meters with rolling digit wheels).

A model looks at one wheel and tells how far it has turned: a distribution over 100 positions around the wheel (0.0, 0.1, … 9.9), so a wheel half way between two digits is read as such. VisionState splits the counter into one cell per wheel and picks the most likely value whose wheel positions fit together (a wheel only turns while the wheel to its right goes from 9 to 0).

FileSizeInputsOutputs
wheels-v1.onnx2.2 MB, 565 k parameterscells: N × 1 × 48 × 32, float, 0…1logits: N × 100
wheels-v2.onnx6.1 MB, 1.5 M parameterscells as wheels-v1, and context: N × 1 × 48 × 64, the same cells with half a cell of the frame on each sidelogits: N × 100 (log probabilities); embedding: N × 512

Preprocessing of a cell: grey from each pixel's darkest colour channel (coloured wheels look like black ones), resized to 32 × 48 (64 × 48 with context, bilinear), autocontrast with 1 % cut-off, divided by 255. wheels-v1 takes about 2 ms for eight wheels on one CPU thread, wheels-v2 about 7 ms.

wheels-v2 reads every wheel twice, once alone and once with its neighbours in view, so it finds the wheel even when the region drawn around the counter does not quite fit. It was distilled from an ensemble of 16 such pairs. Its confidence is the weakest wheel's (how sure it is of the wheel it is least sure of), not the mean of all wheels.

Training data

All of it may be used for anything:

  • Drawn wheels (600 000 cells, and for wheels-v2 drawn rows of wheels with the region off) with fonts from Google Fonts (SIL Open Font License): many colours, lighting, blur, noise and JPEG artefacts, with exactly known positions.
  • Word-Wheel Water Meter Dataset (Scientific Data, 2026), recognition crops — CC0.
  • Checked readings shared by VisionState users in GitHub issues #32 and #40 — CC0; for wheels-v2 also two new exports of two water meters (October 2026) — CC0.

Training code, data sources and how to make the models again: tools/wheelreader.

Results

Read with VisionState's decoding. wheels-v1:

  • A water meter with red decimal wheels seen by an ESP32 camera with its flash, held out from training: 17 of 17.
  • Two water meters never seen in training: 30–33 of 35 and 15–18 of 18, no value too high.
  • Word-Wheel test set (2,400 photos): 97.7 % when the photo is the right way up.

wheels-v2, each water meter held out from training in turn (five training runs; about 1,300 frames, every frame's value read by eye), against wheels-v1 on the same frames, through the app's rules (published from 70 % confidence on, a counter never goes down):

wheels-v1wheels-v2
Wrong values published, four periods of two meters3, 2, 1, 00 in 19 of 20 runs and periods; one run 1 (2 litres)
Frames read right, maintainer's meter—+4.4 and +1.4 points (significant)
Frames read right, the other meter—+0.6 and +0.1 points (no significant difference)
Region with its right edge half a cell short69 % right96 %
33 free photos of meters no model has seen (Openverse)26 right28 right
Word-Wheel test set, six-wheel meters90.2 %94.0 %

It publishes less often than wheels-v1 on a meter photographed from the side with the last wheel turning: it is unsure there, and waits.

Not for pointer dials. Licence: Apache-2.0.

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

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

GPU в ailist

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

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

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

Ревизия весов
563f365

0 моделей