Groundtrack

Project data
Oblique video, filmed from a tripod or a window, turned into movement in plan: every person and vehicle found, put on the ground in metres on the British National Grid, and given as tracks, speeds, flow fields and densities for QGIS, Rhino, Grasshopper and Houdini. Everything runs locally. The repository is now called motus.
- Project no.
- 07 / 08
- Discipline
- Coding
- Year
- 2026
- Type
- Research tool
- Stack
Python, YOLO, OpenCV
- Output
- EPSG:27700
- Runs
- Locally
- Licence
- AGPL-3.0
- Chapters
- 04
- Figures
- 04
What it does
One run, one folder: plans, layers, videos, data, imports. Each run writes one folder: frameless plans (tracks, flow field, density, aerial) and their transparent layers on one extent; legends, scale bar and north arrow on their own; videos of the tracks building up over the map and particles streaming through the field; the data as points (x, y, velocity, speed, heading, predicted), tracks and gaps as GeoJSON, the field grid, metrics and statistics; import scripts for Houdini; a .3dm and a Grasshopper import for Rhino 8.

How it works
YOLO tracking finds people and vehicles in the footage; a homography calibration, from clicked pairs between the video and a georeferenced top-down image (or an automatic calibration), puts them on the ground. A tracker predicts through occlusions (a person passing behind a pillar is drawn dotted). Several clips of one place can be composited. A desktop app does the whole run in one window: footage and aerial, where the camera stood, calibration by clicking pairs with live errors, the area to track, runs with live logs, results, and the hand-over to Houdini and Rhino.

motus live
Phones become the camera: as a phone turns, the machine redraws every track as if the camera had moved. In the realtime mode one phone films and the laptop tracks as it comes while other phones turn the camera.

Stack
Python 3.10–3.12, PyTorch, Ultralytics YOLO, OpenCV, rasterio, NumPy, SciPy, pandas, rhino3dm; pywebview for the desktop window.