Agent handoff 1 / 4 self-contained — no vault access needed

Implement guardrail detection — new repo, KIRIOLL pipeline

2026-07-10 · for a fresh implementation agent on a machine with repo + Nexus access, without the knowledge vault · all research findings are inlined below

Continuation target: create a new repo and implement a geometric (label-free) guardrail detector for highway MLS segments: trajectory-corridor crop → per-station vertical-profile signature → clustering + along-road continuity tracking → guardrail polylines + type stub, exported as XML. Reuse the existing iolabs-* packages from Nexus wherever possible. Machine learning is explicitly not the first route — verified literature reaches ~0.91–0.96 precision with pure geometry, CPU-only.

Project context (inlined)

Research findings (inlined — adversarially fact-checked 2026-07-07)

Confirmed, 3-0 verification votes unless noted:
Refuted claims — do NOT build on these:
Open gaps: cable barriers have no verified published method (thin cables, sparse returns) — detect-and-flag only in v1; vegetation occlusion is the main recall killer (lit. recall ≈ 0.75) — plan multi-pass tracking across gaps; corridor/height parameters must be re-tuned for German RAL-standard cross-sections, not copied from Spanish/US papers.

Nexus packages to reuse

Private index: https://nexus.iolabs.ch/repository/pypi-private/simple (configure in [tool.uv.sources] / [[tool.uv.index]] — copy the block from the 3dai.lanefinder repo's pyproject.toml). Update flow: uv lock --upgrade-package <pkg> && uv sync (add --refresh if metadata is stale). Naming is flat: distribution iolabs-point-cloud-* → import iolabs_point_cloud_* (exception: iolabs.common stays dot-namespaced).

Package (Nexus)Use for
iolabs-point-cloud-segmentation-trajectorySegment clouds + division planes (input format)
iolabs-geometry-geometry3D splines (axis), planes, distances, cropping, station/offset transforms
iolabs-point-cloud-filtering-clustersDBSCAN-style clustering + density filters
iolabs-point-cloud-filtering-surfaceRoad surface / height-above-road reference
iolabs-point-cloud-modelling-exportXML export (mirror the lines schema)
iolabs-geometry-visualization · iolabs-point-cloud-las-tools · iolabs-commonQC overlays, LAS IO, utils (memory_guard)
io_orchestrator.ray_stepWrap the detector as a Ray pipeline step (IN/OUT params, logging, retry)

Suggested new repo/package: 3dai.iolabs.pointcloud.guardrails / iolabs-point-cloud-detection-guardrailsconfirm the remote/org with Miro before creating.

Algorithm to implement

  1. Corridor crop: transform the segment cloud to station/offset/height coordinates around the road axis; keep |offset| ≈ 2–9 m, height ≤ ~2 m above road level. Process in ~5 m station windows.
  2. Candidate filter per window: statistical outlier removal → covariance/eigen features (verticality, linearity/planarity) → keep rail-height band points forming long thin road-parallel structures.
  3. Cluster + trace: DBSCAN within windows; link clusters across windows by continuity (offset + heading). Bridge only short gaps; record every gap span in the output.
  4. Vectorize: fit polyline/spline per rail run (left/right/median), attach a per-station height profile.
  5. Type stub: heuristic W-beam vs concrete from the cross-profile (rail band + periodic posts vs continuous wall ~0.8–1.2 m); flag suspected cable barriers. Leave a clean interface for the 2D classifier from imageanalyzer.guardraildetection.
  6. Export: XML via iolabs-point-cloud-modelling-export.

Verification

References (inlined)

  1. Hou, Ai & Boudreau (2022). Network-Level Guardrail Extraction… J. Comput. Civ. Eng. 36(6). DOI 10.1061/(ASCE)CP.1943-5487.0001049
  2. Vidal, Díaz-Vilariño, Arias & Balado (2020). Barrier and Guardrail Extraction and Classification from Point Clouds. ISPRS Archives XLIII-B5. copernicus.org
  3. Yue, Gouda & El-Basyouny (2021). Automatic Detection and Mapping of Highway Guardrails from Mobile Lidar. IGARSS 2021. ieee 9553055
  4. Jiang, He, Liu, Ai & Lang (2016). Corrugated beam guardrail detection from MLS. IEEE ITSC 2016. ieee 7795762
  5. Brkić, Miler, Ševrović & Medak (2022). Roadside Feature Detection from Lidar Road Cross-Section Images. Sensors 22(15):5510. mdpi.com

Public research briefs (work from any machine): guardrails brief · all 30 sources.

Conventions