Skip to content
Other

OpenVeil-Verifier-DINOv3-ViT-L16

verifying people in video frames for anonymization

2 min readupdated

This model checks whether a cropped video frame actually contains a person so it can automatically pixelate them before a video dataset is published. Developed by researchers at Cornell University, it is a binary classifier built on facebook/dinov3-vitl16-pretrain-lvd1689m (DINOv3 ViT-L/16) with a LoRA (a small adapter layered over the base model) and an MLP head. Unlike standard detectors, it acts as a second stage after Grounding DINO, filtering out false positives at a low confidence threshold so no person slips through unblurred. It is useful for researchers and dataset builders who need to quickly mask people in surveillance footage.

Key features

  • High filtering accuracy: achieves a cross-validation ROC AUC of 0.994, and on the HUM731 benchmark, it pixelated 172 out of 172 people (covering at least 90% of their area).
  • Fast inference: on a single NVIDIA A10 GPU in bfloat16 with merged weights, it processes 276.7 crops per second (or 191.8 per second including CPU frame preprocessing).
  • Resistant to false positives: trained on 50,756 farm video crops where the main distractions were calves, cows, and pen structures.
  • Safe weight format: the adapter and classification head are distributed as safetensors with checksums, avoiding unsafe pickle files.

What you can do

  • Plug it into the OpenVeil pipeline to automatically blur staff and visitors in scientific or industrial footage before releasing it publicly.
  • Use it as a starting point for fine-tuning a person verifier tailored to your own cameras, warehouses, or other environments.
  • Pair it with Grounding DINO as a secondary filter when your primary detector triggers too many false positives on animals or background clutter.

Example

from openveil.detect.verifier import CropVerifier

verifier = CropVerifier(
    adapter_dir="weights/OpenVeil-Verifier-DINOv3-ViT-L16",
    device="cuda"
).load()
scores = verifier.score_frames([frame_bgr], [[[x1, y1, x2, y2]]])
Read moreDetails
Metrics: ROC AUC 0.994; across 2,000 everyday frames, false boxes appear in 3.3% of cases (large ones ≥15% of the frame in 0.4%).
Architecture: LoRA (rank 32, alpha 64) on all linear layers of DINOv3 ViT-L/16 + MLP head 1024 → 1024 → 512 → 2, 224×224 input.
Requirements and compatibility: requires transformers ≥ 4.56 and < 5 (tested on 4.57.1 + peft 0.13.2); access to the base DINOv3 model must be requested separately from Meta.
Limitations: trained solely on calf barn footage; performance on night-vision IR footage with people has not been tested, and partially occluded legs or people near frame edges may be missed.
Discuss Telegram 0 16

Will it run?

Runs in F32

Fits without quantisation.

  • F32weights 1.2 GB · ready files1.8 GB
  • BF16weights 0.6 GB1.2 GB
  • FP8 / INT8recommendedweights 0.3 GB0.9 GB
  • 4-bitweights 0.2 GB0.7 GB

Tip: go 8-bit.FP8 / 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: FP8 / INT8 — from RTX 2060 · F32 — from RTX 2060

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

This is a LoRA: counted together with its base model dinov3-vitl16-pretrain-lvd1689m.

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.

    # Sonam5/OpenVeil-Verifier-DINOv3-ViT-L16
    # ===== Tokens: paste yours between the quotes =====
    export HF_TOKEN=""        # huggingface.co/settings/tokens, for gated models
    # ==========================================
    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 facebook/dinov3-vitl16-pretrain-lvd1689m --local-dir ~/models/dinov3-vitl16-pretrain-lvd1689m
    hf download Sonam5/OpenVeil-Verifier-DINOv3-ViT-L16 --local-dir ~/models/OpenVeil-Verifier-DINOv3-ViT-L16
    # The model is in ~/models. How to run it is in the model card (link above).
  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

Requires the base model

facebook/dinov3-vitl16-pretrain-lvd1689m

This model is a LoRA / adapter. Download the base model first, then load this one on top.

  1. dinov3-vit7b16-pretrain-lvd1689mfamily root
  2. dinov3-vitl16-pretrain-lvd1689m
  3. OpenVeil-Verifier-DINOv3-ViT-L16

New posts about versions of dinov3-vit7b16-pretrain-lvd1689m (quants, finetunes, LoRAs) will show up under the bell.

Quantised versions 1All on Hugging Face
Fine-tunes 12All on Hugging Face
LoRAs and adapters 6All on Hugging Face

About the model

Sonam5/OpenVeil-Verifier-DINOv3-ViT-L16
Author
Sonam5
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

160

Ask AI about this model

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

Comments