Working prototype · CPU-only · v0.1

Every vehicle leaves a fingerprint.

VehicleGenome turns an ordinary roadside camera into a vehicle-intelligence sensor: it reads the plate, describes the vehicle, and computes an appearance signature that re-identifies the same car across cameras — even when the plate is unreadable.

Prototype runs entirely on 4 vCPUs, no GPU. Every number on this site comes from the evaluation harness in eval/ and is stored in reports/metrics.json.
vehiclegenome · sighting
# POST /api/analyze  (one frame, 4 vCPU)
{
  "plate":        "30N4616",
  "plate_conf":   0.9998,
  "region":       "Vietnam",
  "colour":       { "dominant": "black" },
  "attributes": {
     "make": "Lexus", "model": "IS",
     "body_type": "sedan"
  },
  "fingerprint": "clip-b32 · 512-d",
  "matches":     [0.94, 0.71, 0.43],
  "timing_ms":   { "detect_ocr": 559, "total": 2493 }
}
—
Plate exact-match
—
Detection recall
—
Re-ID rank-1
—
Latency / frame

Four stages, one JSON record

Each frame becomes a sighting: a plate string, a vehicle description, and a 512-dimension appearance vector stored next to it. Everything downstream — search, alerts, re-identification — is a lookup over those records.

YOLOv9-t

Plate detection

End-to-end single-stage detector localises plates in the frame, including multi-vehicle scenes and oblique angles.

CCT-xs

Plate OCR

Compact convolutional-transformer recogniser trained for plate typography — outperforms generic OCR on character confusions (0/O, 1/I, 8/B).

CLIP B/32

Fingerprint

The vehicle crop is embedded into a 512-d space plus a dominant-colour palette, so the same car can be matched when the plate fails.

Qwen-VL

Attributes

A vision LLM adds make, model, body type and distinctive marks — human-readable evidence for an operator's review queue.

What the prototype actually does

Built to answer one question: can a Flock-style capability be delivered on cheap hardware, in a market where the incumbent is not present?

◉

Read the plate

Detection confidence, per-character OCR confidence, and country/region prediction returned for every plate in the frame.

⬡

Fingerprint the vehicle

512-d CLIP embedding + colour palette + VLM attributes, stored with the sighting so later frames can be compared.

⟲

Re-identify across cameras

Cosine similarity search over the sighting gallery returns the most similar vehicles with scores — no plate required.

⌕

Fuzzy plate search

Levenshtein-tolerant lookup so a single OCR error (30N4616 → 30N46I6) still finds the sighting.

▶

Built for a video feed

Drop a clip or open the camera. Frames are sampled, detections are grouped into tracks, and one car driving past is one event — not forty rows. Open the camera console →

☷

Every car in the frame

YOLO finds each vehicle separately, plates are assigned to the box that contains them, and every vehicle gets its own record — not one record per photo.

✎

Search without a plate

Plate covered, bent or dirty? Query by what a person would say: gray plate, broken bumper, bicycle rack, sticker.

⌂

Edge-first by design

ONNX models, no GPU, no cloud round-trip for detection. Optional LLM call is the only network dependency and it can be switched off.

Architecture

A single FastAPI service serves the API and the operator UI. Models run in-process on ONNX Runtime; sightings persist to SQLite.

architecture
  camera frame
        │
        ▼
 ┌──────────────────┐   ┌──────────────────┐   ┌──────────────────┐
 │ YOLOv9-t plate   │──▶│ CCT-xs OCR       │──▶│ plate string     │
 │ detector (ONNX)  │   │ (ONNX)           │   │ + confidences    │
 └──────────────────┘   └──────────────────┘   └────────┬─────────┘
        │ vehicle crop                                  │
        ▼                                               │
 ┌──────────────────┐   ┌──────────────────┐             │
 │ CLIP ViT-B/32    │──▶│ 512-d embedding  │             │
 │ vision (ONNX)    │   │ + colour palette │             │
 └──────────────────┘   └──────────────────┘             │
        │                                               │
        │  optional (network, disable-able)              │
        ▼                                               ▼
 ┌──────────────────┐                          ┌──────────────────┐
 │ Qwen2.5-VL       │  make/model/body/colour  │  sighting record │
 │ via OpenRouter   │─────────────────────────▶│  SQLite + blobs  │
 └──────────────────┘                          └────────┬─────────┘
                                                        │
                                    ┌───────────────────┴────────────────┐
                                    ▼                                    ▼
                          cosine search (re-ID)              Levenshtein plate search

Try it on your own photo

Upload a vehicle photo and get the plate, the fingerprint, the attributes and the nearest matches in the gallery — measured end to end, on this machine.

Open the demo →