Kerb Plate Nano β€” on-device license-plate detector (privacy blur)

RF-DETR Nano fine-tuned on a multi-region license-plate stack, exported to ExecuTorch .pte (XNNPACK) for react-native-executorch. This is the second SensitiveRegionDetector in Kerb β€” it localizes plates so the phone can blur them before any crop leaves the device. It is a detector, not OCR: the system never reads plate text.

Metrics β€” VERIFIED (seeded held-out eval, ONNX @512)

Source AP50
car-license-plate-detection-iran (DbCL-1.0) 0.9033
rider-with-helmet-without-helmet-number-plate (Apache-2.0) 0.9091
car-plate-detection (CC0) 0.7801
large-license-plate-dataset (CC0) 0.6130
mAP50 overall 0.8014
  • train/valid/test: 13,126 / 1,305 / 13,881 images (golden_seed 20261116)
  • single class plate (0-indexed argmax)

Artifacts

File Schema
kerb_plate_nano_xnnpack.pte canonical β€” wrapped RN-ET contract: [1,3,512,512] ImageNet-norm -> boxes[N,4] xyxy-norm, scores[N], classes[N] f32
kerb_plate_nano_raw.pte raw RF-DETR dets[1,Q,4] cxcywh + labels[1,Q,C] logits
checkpoint.pth best-EMA training checkpoint (rfdetr 1.12.1)
model.onnx ONNX export used for held-out eval

Usage (react-native-executorch)

const det = await ObjectDetectionModule.fromCustomModel(ptePath, {
  labelMap: { PLATE: 0 },
  preprocessorConfig: {
    normMean: [0.485, 0.456, 0.406],
    normStd: [0.229, 0.224, 0.225],
  },
  defaultDetectionThreshold: 0.3,   // privacy recall over precision
});

Threshold is intentionally low: for a blur gate a false positive costs a little extra blur, a missed plate leaks privacy.

Training data & licenses

Region-diverse mix (see SOURCES.md for per-source licenses/attribution): fareselmenshawii/large-license-plate-dataset (CC0) Β· andrewmvd/car-plate-detection (CC0) Β· aneesarom/rider-with-helmet-without-helmet-number-plate (Apache-2.0) Β· amirhoseinahmadnejad/car-license-plate-detection-iran (DbCL-1.0) Β· adilshamim8/license-plate-recognition (CC BY 4.0 β€” attached but contributed no parseable annotations).

This model therefore carries attribution obligations from its upstream datasets β€” credit the sources above when redistributing.

Intended use / limits

On-device sensitive-region detection for privacy blurring. Not an OCR/ALPR system; outputs plate locations only. Trained on public datasets β€” recall on unusual plate shapes/occlusions is bounded by the training mix.

Downloads last month
62
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support