ADAS crash forensics

What could the car see, and should it have acted?

NADIR reconstructs a crash from the video and event data recorder evidence that already exists, then works out what the vehicle's driver-assistance systems could have perceived in the seconds before impact, and whether they should have intervened.

Automatic emergency braking becomes mandatory on new US light vehicles from September 2029 (FMVSS No. 127). Cases that turn on whether an assistance system should have braked are already in court, and juries are returning large verdicts on them. The evidence in those cases is usually one dashcam or onboard video and five seconds of EDR data. Turning that into a defensible answer about perception is slow, specialised work, and the methods rarely come with a measured error rate.

We are building the engine that does the measurement part: calibrate the camera from the footage itself, recover metric trajectories for every vehicle in view, align them with the EDR record, and test the result against a model of the specific sensor suite. Every number it reports will carry an uncertainty and a published error rate.

Who it is for

Reconstruction experts
Accident reconstructionists, including ACTAR-accredited experts, who need calibrated camera geometry, speeds and gaps with stated uncertainty, faster than by hand. This is the first buyer.
Counsel and insurers
Product-liability and trucking law firms and insurers deciding whether a case has an ADAS question worth retaining an expert for, and what the evidence can support.
OEM product safety
Later: aggregated, real-world evidence of how assistance systems behave in the crashes they did not prevent.

How the product serves each of them →

How it works

One reconstruction engine with a thin surface on top: an API and CLI, a single report, and a 3D replay viewer. Underneath are five layers.

NADIR reconstruction pipeline Video and the EDR pre-crash record enter at the top. Five layers run in order, each listing its estimated quantities and build status: self-calibrating reconstruction, ego and actor trajectories, EDR fusion and evidence, the ADAS counterfactual, and published error rates. Layer 05 feeds back to gate what layers 01 to 04 may report. Outputs are a report, a 3D replay, an evidence bundle and an API. VIDEO frames I_i, timestamps t_i, unknown camera EDR · 49 CFR PART 563 speed, brake, throttle · 2 Hz · −5 s to 0 01 Self-calibrating reconstruction parts built intrinsics · distortion · rolling shutter · mount · scale → K, δ, ℓ, T_cam, s 02 Ego and actor trajectories parts built joint MAP over all frames and actors, Laplace covariance → x_i ∈ SE(3), a_i(t), Σ_X 03 EDR fusion and evidence parts built align 2 Hz EDR speed to video · flag conflicts · hash chain → δ̂, speed residual r_v, SHA-256 custody chain 04 ADAS counterfactual planned sensor-suite envelope · detection probability · last avoid → p_S(a,t), TTC(t), t_last 05 Published error rates protocol draft pre-registered metrics on instrumented ground truth → e_pos, e_v, e_TTC, cov_(1−α), ECE gates what 01–04 may report REPORT · 3D REPLAY · EVIDENCE BUNDLE · API / CLI
Fig. 1. The reconstruction engine. Each layer consumes the one above and passes on estimates with their covariance. The EDR enters at layer 03. Layer 05, the benchmark, gates which quantities layers 01–04 are allowed to report. Status as of the build date.
  1. Self-calibrating monocular reconstruction. Recover the camera model — focal length, lens distortion, rolling shutter, mount pose, frame timing — from the footage, and fix metric scale from lane-marking standards, known vehicle dimensions and road geometry.
  2. Ego-motion and actor trajectories. Estimate 6-DoF trajectories for the recording vehicle and every relevant actor, with uncertainty, as a factor graph (GTSAM).
  3. EDR fusion. Align the video with the five-second pre-crash speed, brake and throttle record, flag where they disagree or where either may have been altered, and package the result as a content-hashed evidence bundle for chain of custody.
  4. ADAS counterfactual. Model the specific vehicle's sensor suite — field of view, detection envelope, latency — and compute, under the reconstruction's uncertainty, whether it could have detected the hazard and when it should have acted.
  5. Court-grade error rates. Measure the error of every quantity above against instrumented ground truth and publish it, so the method can meet the known-error-rate factor courts apply under Daubert and Rule 702.

Status

The pivot to forensics is recent. Some of the components carry over from earlier work; the parts that make this a forensic product do not exist yet. This is the honest state of the repository.

LayerComponentStatus
01Object detection (YOLO) and monocular depth (MiDaS) on dashcam video
archive/NADIR_PERCEPTION_OS/perception_os.py
Built
01Planar ground homography and lane-geometry residual fusion
archive/NADIR_PERCEPTION_OS/planar_ground.py, lane_residual_fusion.py
Built
01Self-calibration of lens, distortion, rolling shutter, mount pose and frame timingPlanned
01Metric scale from lane-marking standards, vehicle dimensions, road geometryPlanned
02SE(3) residual and filter-state math (from the prior product)
archive/NADIR_PERCEPTION_OS/filter_state.py, archive/NADIR_SIMULATION
Built
02Bayesian online changepoint detection, to be used for braking onset
archive/NADIR_SIMULATION/simulation/algorithms/change_detection/bocpd_adapter.py
Built
02Multi-actor 6-DoF trajectories with uncertainty in a GTSAM factor graphPlanned
03Content-hashed evidence bundles (SHA-256 over canonical JSON) with per-step Merkle custody; HMAC-SHA256 signed manifests
archive/NADIR_SDK/python/nadir_sdk/evidence/, archive/api/evidence/custody.py
Built
03EDR record ingestion, video–EDR time alignment, disagreement and tampering flagsPlanned
04Sensor-suite models (field of view, detection envelope, latency) and the could/should-have-acted computationPlanned
04Observable-output analysis of a production ADAS (method from TR-2026-02)
archive/research/mobileye_overlay_paper
Built
05Benchmark protocol (pre-registered, no results)
NADIR-TR-2026-03 (draft)
In progress
05Benchmark runs on public datasets, track runs, blind expert comparisonPlanned
—API / CLI, single report, 3D replay viewer for forensic casesPlanned

“Built” means code exists in the repository with tests where noted; it does not mean the component has been validated for forensic use. Nothing on this list has a published forensic error rate yet.

How we will measure it →

Latest reports

All NADIR Research reports →

Contact

If you reconstruct crashes, litigate them, or insure against them and want to see where this is going, write to hello@nadirai.net. We are especially interested in closed cases with video and EDR data that could serve in a blind comparison.