visloc-rs runs Basalt's monocular-inertial VIO in the browser via Rust and WebAssembly, fully on-device
rsasaki0109 · x · 2026-11-30
Open-source visloc-rs ships a live visual-inertial odometry demo running entirely in the browser: a Rust port of Basalt's monocular-inertial VIO compiled to WebAssembly, using your phone's camera and motion sensors to track the device in metric 3D—with all camera images staying on the phone.
- Usage: hold the phone upright, sweep it sideways half a metre over a textured scene to recover scale (a static start can't), then walk around; a live map shows your path
- Calibration: known phone models get auto-loaded focal lengths from the 35mm-equivalent spec; focal offset, IMU noise scale, gyro axes and more are tunable
- Extras: IMU-only mode to check camera-IMU agreement, recording, lower tracking resolution for slower phones, auto-restart on divergence
- Diagnostics (timings, phone model, no images) sent to serve.py; disable with ?telemetry=0
An impressive fully on-device SLAM-grade perception demo in a web page.
More from Infra
- Alibaba's DMTP combines native MTP with parallel DFlash drafting for faster speculative decoding — Qwen · 2026-11-30
- Securing a self-hosted LLM API: layered auth, TLS and rate limits explained — throwaway16830261 · 2026-11-30
- AMD Researchers Build AsmEvo, an AI That Optimizes Compiled GPU Assembly for 3.88x Speedups — udmrzn · 2026-11-30
- AWS grows 39% to $46B yet trails Azure and Google Cloud — re:Invent is its AI catch-up plan — sanjaykalra · 2026-11-30
- Benchmark surprise: cclinux WASM runner beats native Docker on command speed — OwariDa · 2026-11-30
- Ternix-9B: Ternary LLM Runs at 51.85 tok/s on CPU With 2.53GB Weights — Guoxiang Xu · 2026-11-30