Skip to content
Other

Meridian Blur 1

модель для автоматического блюра лиц и номеров авто

2 min readupdated

Модель от компании Ordnary находит лица людей и автомобильные номера на фото и видео, чтобы сразу размывать их перед публикацией или сохранением. В основе лежит архитектура RF-DETR Small (лёгкий трансформер для детекции объектов), дообученная на 30 158 снимках из Open Images V7. В отличие от классической связки YuNet + YOLOv9-t, новинка в три раза реже пропускает объекты в кадре — общий процент незаблюренных целей (leak rate) снижен до 4,6% против 15%. Подойдёт разработчикам сервисов с пользовательским контентом, систем для видеорегистраторов и всем, кому нужно соблюдать требования приватности вроде GDPR.

Ключевые особенности

  • Разбивает крупные кадры на тайлы (фрагменты по 960 пикселей), благодаря чему уверенно находит даже мелкие лица и номера на дальнем плане.
  • В готовом скрипте inference.py автоматически расширяет рамку размытия (на 35% для лиц и 12% для номеров), чтобы скрыть волосы, уши и контур челюсти, а на видео удерживает блюр пару кадров после потери объекта.
  • Поставляется в форматах ONNX (fp32 и квантованная версия int8) и safetensors, работает через ONNX Runtime как на GPU, так и на обычном процессоре.
  • Выпущена под свободной лицензией Apache 2.0 (и веса, и код) — можно спокойно встраивать в коммерческие проекты.

Что можно сделать

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

Пример

from huggingface_hub import snapshot_download
import sys, cv2

path = snapshot_download("ordnaryai/meridian-blur")
sys.path.insert(0, path)
from inference import MeridianBlur

model = MeridianBlur(path)
image = cv2.imread("street.jpg")
boxes = model.detect(image)
cv2.imwrite("street-blurred.jpg", model.blur(image, boxes))
ПодробнееМетрики на тесте Open Images V7 (14 431 фото): общий leak rate — 4,6% (4,8% у int8) против 15,0% у YuNet + YOLOv9-t; точность mAP50 — 0.903 для лиц и 0.857 для номеров.
Скорость на CPU (4 ядра, ONNX Runtime) для фото шириной 1280 px: 895 мс с тайлингом, 519 мс в int8 с тайлингом и 189 мс в int8 без тайлинга.
Ограничения: мелкие номера (меньше 32 px) всё ещё пропускаются в 44,8% случаев; тайлинг замедляет работу на CPU, для скорости лучше брать версию int8 или флаг --no-tiles.
Обучение: 20 эпох на одной NVIDIA H100 за 90 минут; авторы запрещают использовать модель для слежки, распознавания личности и профилирования.
Discuss Telegram 1

Will it run?

Runs in INT8

Fits without quantisation.

  • INT8recommendedweights 0.0 GB · ready files0.5 GB
  • 4-bitweights 0.0 GB0.5 GB

Tip: go 8-bit.INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: INT8 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # ordnaryai/meridian-blur
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download ordnaryai/meridian-blur --local-dir ~/models/meridian-blur
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to meridian-blur
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b40from November 18, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026new release

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of meridian-blur (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

ordnaryai/meridian-blur
Author
ordnaryai
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

01

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments