Real-Time Obstacle Detection and Distance Estimation on Smartphones for Visually Impaired and Distracted Pedestrians
Abstract
We present a Kotlin-based Android app that gives real-time obstacle alerts to visually impaired and distracted pedestrians. A YOLOv8 detector, retrained on eighteen common urban obstacle classes, is optimized with pruning, quantization and early-exit branches and runs through the Android Neural Networks API (NNAPI). On a mid-range smartphone this cuts average inference latency from about 3.2 s (off-the-shelf YOLOv8n) to 0.39–0.48 s; the recommended INT8 + early-exit configuration runs in 0.42–0.48 s with a recall of 0.81. Distance is estimated with ARCore or monocular focal-length geometry, so a single phone camera is enough, and alerts come as Text-to-Speech guidance or vibration.
Highlights
- Android app (Kotlin) with a YOLOv8 detector retrained on 18 urban obstacle classes.
- Pruning, quantization and early exit cut latency from ~3.2 s to 0.39–0.48 s on a mid-range phone.
- Recommended setup (INT8 + early exit): 0.42–0.48 s per frame at 0.81 recall.
- Distance from ARCore or a single camera’s focal length: no LiDAR or depth sensor needed.
- Spoken guidance for visually impaired users, vibration alerts for distracted pedestrians.
Cite this work
@misc{zandi2026realtime,
title = {Real-Time Obstacle Detection and Distance Estimation on Smartphones for Visually Impaired and Distracted Pedestrians},
author = {Zandi, Abtin and Nami, Sarvin and Ganjipour, Roza and Sabagh Kermani, Bardia and Tarabkhah, Amirreza and Farbeh, Hamed},
year = {2026},
eprint = {2611.00040},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
doi = {10.48550/arXiv.2611.00040},
url = {https://arxiv.org/abs/2611.00040}
}