Repository navigation
Lyne ADAS v2.0.0
🛣️ Lyne ADAS v2.0.0: accuracy first
v1 drew public feedback, including a drive logged against a car's radar: distance was off by about 10 m and most collision warnings didn't match a real hazard. v1 guessed distance from box size alone. v2 rebuilds the chain from pixels to alerts, and has now been road-tested in Bengaluru traffic.
🎯 Accuracy
- Two range cues: ground-plane geometry (camera height and horizon) fused with a width prior. Each vehicle's real width is learned as it gets close, so SUVs and pickups are no longer misjudged.
- Per-object Kalman filter in inverse depth. The HUD shows
24 m ±2instead of a falsely precise number. - Robust time to collision: a looming-rate fit fused with the Kalman closing speed. A warning needs statistically significant closing, not one noisy frame.
- False-alarm guards: closing speed can't exceed your own speed, mature tracks only, one event per incident, and time-based timing so warnings behave the same at 8 and 30 fps.
- Metric path corridor curved by the gyro, so parked cars and the next lane don't count.
🧭 Calibration
- Mount pitch and roll from the gravity sensor; yaw is correct for any mount.
- Vehicle-height presets plus auto-calibration from passing traffic.
- Guided 5-step calibration with a live level bubble and a parked range check.
🚗 Road-test fixes
- Tracking holds up at budget-phone frame rates (6–10 fps).
- Truck/bus double detections no longer split the lead.
- The pedestrian warning uses the measured closing speed.
- New: a false detection on the dashboard can no longer get stuck as the lead at "1 m".
✨ Also new
- Offline voice alerts, a "traffic moving" chime, and a tailgating warning in all modes.
- Accuracy CSV log plus
tools/validate_accuracy.pyto compare against radar or lidar (VALIDATION.md). - Video test mode for bench-testing against driving footage.
- Redesigned HUD, settings and onboarding; full-screen immersive mode.
📊 Measured in simulation (v1 → v2)
| v1 | v2 | |
|---|---|---|
| False collision warnings, 20 min of traffic | 626 | 0 |
| Mean range error, 8–60 m | 7.9 m | 2.0 m |
| Distance jitter at 30 m | 5.0 m | 1.0 m |
Simulations are not road certification. Measure your own setup with Calibrate → Range check.
📥 Install
Download Lyne-ADAS-v2.0.0.apk below, allow installs from unknown sources, and sideload. Android 8.0+ (minSdk 26). Camera required; location recommended (speed is used to arm warnings).
Upgrading from v1.x: same package and signing key, so it installs over the top. After updating, run Calibrate once and pick your vehicle type.
SHA-256: 02d407a6ba566889c1c0a600b4e89081016e6d199596e47b8b4b5d565be7377b
⚠️ Lyne is a warning-only aid. It never controls the vehicle. Keep your eyes on the road.
