---
{
  "id": "projects/traffic-safety",
  "url": "/projects/traffic-safety/",
  "title": "Traffic safety assessment with trajectory extraction and conflict modelling",
  "description": "Measuring how dangerous a junction is before anyone gets hurt there. A pilot for the Flemish government, 2022.",
  "kind": "project",
  "projectState": "shipped",
  "projectYear": 2022,
  "date": "2026-11-25T00:00:00.000Z",
  "editorialStatus": "draft",
  "origin": {
    "label": "Project note by Claude",
    "detail": "Tim was technical lead. Claude wrote this page; the lines under “My role” are Tim’s.",
    "humanSignoff": "not-recorded",
    "evidence": [
      {
        "basis": "observed-edit",
        "date": "2026-11-22",
        "label": "How this page was written",
        "detail": "Claude wrote this page on 25 November 2026 from the Flemish government’s final report on the pilot. The lines under “My role” are Tim’s own, lightly shortened. The picture is figure 25 of that report.",
        "href": "https://assets.vlaanderen.be/image/upload/v1688653566/MIA_werf_1_proeftuin_West-Vlaanderen_hpimzh.pdf"
      }
    ]
  },
  "topics": [
    "ai-systems",
    "building"
  ],
  "sources": [
    {
      "citation": "Departement Mobiliteit en Openbare Werken (2023). MIA werf 1, Proeftuin West-Vlaanderen. Final report, in Dutch.",
      "href": "https://assets.vlaanderen.be/image/upload/v1688653566/MIA_werf_1_proeftuin_West-Vlaanderen_hpimzh.pdf"
    }
  ]
}
---

# Traffic safety assessment with trajectory extraction and conflict modelling

> Project note by Claude. Tim was technical lead. Claude wrote this page; the lines under “My role” are Tim’s. There is no recorded human sign-off for this text.

## The problem

Accidents are too rare to measure safety with. By the time a junction has enough of them to show up in the statistics, people have been hurt. What you want to count is the accident that almost happened, and nobody reports those.

## The instrument

Anonymised camera footage becomes the trajectory of every road user. From the trajectories the system scores each encounter on two things: how close the two came to colliding, and how bad the collision would have been. Together they give one severity score per encounter.

## Does it measure danger?

- **Against a reference.** The speeds it derives matched a certified police measurement system.
- **Against theory.** Traffic safety research predicts a pyramid: many undisturbed passages, few serious conflicts. The scores came out in that shape, with fewer than 1 in 100 encounters flagged as potentially serious.
- **Against people.** Checking flagged conflicts by hand showed where it fails. It is tuned to miss nothing, so it flags too much. One flagged event still needs a person. Comparing places and times of day holds up, as long as the errors are spread evenly.

## How much data is enough?

The picture at the top is the answer for movement: after six weekdays of recording, the map of paths stops changing. For traffic counts it takes three weeks. It is the same question as [how many observations it takes to characterise a person](/projects/how-many-observations/), asked about a junction.

## My role

I steered the project as technical lead and set the roadmap and the approach. In execution, my focus was on how to model traffic conflicts.

Read more: [the final report](https://assets.vlaanderen.be/image/upload/v1688653566/MIA_werf_1_proeftuin_West-Vlaanderen_hpimzh.pdf) (PDF, in Dutch).
