Downloads · 30 days
0
rdo1/euro-dashcam-vehicle-classifier
euro-dashcam-vehicle-classifier is a image classification model from rdo1. Use it when you need a label for an image. The card lists the license as mit.
Privacy-first dashcam vehicle recognition: detects and identifies make + model + generation of European cars, fully offline on Apple Silicon.
Downloads · 30 days
0
Access
Public
Updated Aug 31, 2026
Repo size
113 MB
Likes
0
Public
Click a slice to open those files.
.pt113 MB · 100%
From the Hugging Face model README
Privacy-first dashcam vehicle recognition: detects and identifies make + model + generation of European cars, fully offline on Apple Silicon.
Measured on an intersection holdout (597 real dashcam crops that no model ever trained on) — this methodology was deliberately built after discovering that naive holdout comparisons were contaminated:
| Model | Top-1 | Top-5 |
|---|---|---|
| v19 (this model) | 57.2% | 79.7% |
| v20 | 56.5% | 79.4% |
| v21 | 54.7% | 77.9% |
| v22 | 53.7% | 79.9% |
Test-time augmentation (horizontal flip + scale averaging) adds ~+1pt.
import torch
from torchvision import models
ckpt = torch.load("model.pt", map_location="cpu")
classes = ckpt["classes"]
model = models.convnext_tiny(weights=None)
model.classifier[2] = torch.nn.Linear(model.classifier[2].in_features, len(classes))
model.load_state_dict(ckpt["state_dict"])
model.eval()
# preprocess: resize to 224x224, normalize with ImageNet mean/std, predict
~21,300 real dashcam crops (extracted from public dashcam footage of European cities) + ~10,800 web images, 5x oversampled, from-scratch training. See the dataset card for provenance and licensing.
The full system blurs license plates on stream + recordings by default (GDPR). This model operates on vehicle crops only.