Manuscript Offprint

arXiv:2608.25178

Lightweight Machine Learning-Driven Monocular Sidewalk Path Extraction for Embedded Micromobility Navigation

Lkhanaajav Mijiddorj, Yang Yan, Tyler Beringer, Bilguunzaya Mijiddorj, Alex N. Ho, Bin Xu, Binbin Weng

Abstract

Sidewalk-scale path extraction demands perception and planning that run reliably on compact, low-power hardware in cluttered, map-sparse environments. We present a monocular vision pipeline for sidewalk path extraction in micromobility systems that progresses through three design iterations—from a skeleton-graph baseline through distance-transform corridor planning to a lightweight image-space architecture—and provides a systematic comparison of five path-planning methods across both bird's-eye-view (BEV) and image-space domains. A compact SegFormer-B0 student model, trained with a semi-supervised teacher-student framework using OneFormer Swin-L pseudo-labels, achieves a hand-annotated IoU of 0.946 at 11.7 ms per frame, improving over the baseline checkpoint (IoU 0.758, 18.9 ms). In a controlled planner comparison on 32 hand-labeled frames, image-space midpoint planning achieves the lowest lateral center error (14.3 px) at 2.2 ms—a 421× speedup over BEV distance-transform planning (926.8 ms, 65.0 px center error)—while maintaining comparable mask-path alignment (98.5% versus 98.6%). A full-video replay across six campus sequences (22,679 frames) confirms that the improved segmentation reduces temporal instability from 1.46% to 0.33% and increases template-path availability from 73.7% to 79.3%. We further show that BEV-only path extraction is fragile in monocular settings: in one profiled run, 99.3% of frames produced no valid BEV path. The final recommended architecture—image-space midpoint primary, image-space distance-transform fallback, and BEV reserved for visualization—runs the full perception-to-path stack in under 50 ms per frame on CPU, making it suitable for embedded pedestrian-speed micromobility systems.

Keywords: machine learning, monocular vision, semantic segmentation, path planning, sidewalk navigation.

1 Introduction

Autonomous micro-mobility is beginning to move from controlled demonstrations to everyday sidewalks. Delivery carts, assistive scooters, and other pedestrian-speed robots must operate among pedestrians, signs, bicycles, vegetation, and irregular curb geometry, all under tight payload, power, and cost constraints. Sidewalks further complicate perception: widths vary, surfaces mix bricks and

∗^{*}Corresponding author: Binbin Weng (binbinweng@ou.edu).

concrete, markings are inconsistent, and lighting changes rapidly under trees and buildings. High-definition pedestrian maps are scarce and GNSS is unreliable near canopies and urban canyons. In this setting, a vision-first navigation pipeline that is robust, interpretable, and efficient enough for single-board computers is essential.

We adopt a deliberately simple, geometry-aware approach for local sidewalk path extraction. A lightweight monocular segmentation model extracts the traversable sidewalk region. From this mask, we extract navigation paths using one of two geometric domains: a bird's-eye view (BEV) obtained via planar homography, or direct image-space boundary analysis. We systematically compare five planning methods across both domains and find—perhaps surprisingly—that simple image-space geometry consistently outperforms the more complex BEV pipeline in both accuracy and latency for this monocular sidewalk setting.

This direction complements several active research threads. End-to-end steering policies trained on rich sensors can perform well, but they are difficult to interpret and often assume GPU-class hardware [1,2]. Dense monocular BEV reconstruction and diffusion-based free-space methods push accuracy but remain challenging to deploy on low-power platforms [3,4]. Classic semantic-mask corridor following is efficient in structured environments but does not explicitly expose intersection topology [5,6]. In contrast, our approach is monocular, transparent, and light enough for CPU-only inference, while providing an empirical comparison of planning-domain trade-offs that is absent from prior sidewalk navigation work.

In this work, we focus on validating the perception and path-generation pipeline offline. Using video recorded from a forward-facing camera mounted on an electric scooter (Fig. 1), we apply the full pipeline frame by frame and evaluate the resulting paths without closing the loop on the vehicle. This isolates perception and planning, enabling detailed analysis of segmentation quality, planner accuracy, runtime efficiency, and the BEV-versus-image-space trade-off.

Contributions.

  • A modular monocular pipeline for sidewalk path extraction that is transparent, lightweight, and designed for embedded hardware, progressing through three design iterations with backward-compatible improvements.

  • A semi-supervised segmentation training recipe using a high-capacity OneFormer Swin-L teacher to generate pseudo-labels for a compact SegFormer-B0 student, achieving hand-annotated IoU of 0.946 at 11.7 ms on CPU.

  • A systematic comparison of five path-planning methods across BEV and image-space domains, demonstrating that image-space midpoint planning achieves a 421×421\times speedup over BEV distance-transform planning with lower lateral error.

  • Evidence that BEV-only planning is fragile in monocular sidewalk settings, with 99.3% of frames failing to produce a valid BEV path in one profiled sequence, motivating image-space planning as the primary domain.

  • A comprehensive offline evaluation protocol covering segmentation quality, planner accuracy, temporal stability, and runtime analysis across six campus video sequences totaling over 22 000 frames.

Organization. We review related work, describe the pipeline architecture (segmentation, BEV projection, and five planning methods), define evaluation metrics, present results including the planner comparison study, and conclude with limitations and directions for closed-loop deployment.

Figure

(a) Scooter platform with mounted forward-facing camera.

(b) Example first-person view from the scooter-mounted camera.

Figure 1: Hardware context for this study. (a) Electric scooter platform used for data collection, with a forward-facing monocular camera rigidly mounted to the handlebar stem. (b) Sample sidewalk scene as seen by the camera; all experiments are conducted offline on video recorded from this rig.

References (16)