Inspiration
Indoor wayfinding is one of the last places where assistive technology still fails. GPS does not work indoors, and a low-vision student arriving at an unfamiliar teaching building faces a specific, concrete problem: the timetable says room 305, the corridor has a floor directory, a room-number range sign, and several unrelated posters, and all of them are unreadable at arm's length. We did not want to build another indoor map product. Commercial systems already do surveyed maps with camera-based positioning well. What they do not do is tell you whether the floor in front of you is safe to step on. Getting lost in a corridor is recoverable; walking into a chair is not. That asymmetry set our priorities.
What it does
PathSense turns the signs that already exist in a building into a navigation substrate. It runs in two modes that share one sensing stack.
Without a prior map, it reads room numbers, infers the numbering direction from adjacent signs (301 then 303 means numbers increase that way), and gives one short instruction at a time — never extrapolating a long sequence, and never guessing at an unnumbered junction.
With a surveyed floor plan, it imports a vector map of the building and plans a geometric route across it, localising the phone against the map using visual-inertial odometry constrained to the corridor axis and corrected by recognised signs used as anchors.
In both modes a real-time avoidance layer runs underneath the route layer and has veto power: if the route says "continue straight" but a chair is 1.5 m ahead, the phone says "turn left thirty degrees" instead.
Output is Mandarin speech, haptics, and a screen that is fully operable with VoiceOver. Directions are quantised to 15-degree steps so every instruction is a member of a finite, testable set.
How we built it
The architecture has three layers, with a hard boundary between them. On-device safety loop. Camera geometry produces a polar occupancy histogram around the user. Sectors are scored for clearance and turn cost, the best free direction is selected, and the result is quantised to a 15-degree step. Uncertainty is never resolved optimistically: uncalibrated distance counts as unknown, and three conflicting frames produce "stop" rather than an averaged answer. This is deliberately not a "detect an obstacle, then warn" design. The full human chain — detect, speak, hear, understand, decide, move — takes roughly a second, during which a walking user covers well over half a metre. A warning arrives too late to be a warning. So the loop continuously outputs where it is safe to go, and the decision is made before the obstacle is close, not after. Localisation layer. Platform visual-inertial odometry provides the pose backbone. Rather than letting six degrees of freedom drift freely, we constrain the state to a corridor manifold — progress along the corridor axis, lateral offset, and heading error — observed through corridor-axis fitting, doorway side observations, and recognised sign anchors. A corridor is a one-dimensional structure, so this constraint turns heading drift from a free accumulation into something the walls hold in place. Recognised signs serve three roles at once: pose correction, registration between the local map and the prior map, and the landing point for spoken instructions. Semantic layer. Cloud multimodal extraction converts key frames into structured observations: what kind of space this is, how a room number normalises, which entities are adjacent. It never returns coordinates, distances, or angles, and it never participates in avoidance. A generative model is not given the authority to decide whether a user may walk forward. The two maps are deliberately different things. The building map is a vector prior — walls, doorways, corridors, room polygons, connectivity — imported from a surveyed floor plan and enriched by on-device observations of signage and fixed obstacles. The local map is an occupancy grid that lives only on the phone, persists locally, and is never uploaded. We built the prototype in Swift and SwiftUI, using platform vision for on-device text recognition, platform motion for inertial pose, and platform speech and haptics for feedback. Accessibility was treated as a primary requirement rather than a layer added afterwards: the whole flow — entering a room number, starting a scan, repeating the last instruction, and ending the task — is operable with VoiceOver alone, and results are available through three independent channels (speech, haptics, and large high-contrast text) so no single channel is a dependency. AI coding assistance was used during implementation; specific tools and third-party frameworks are disclosed in the repository.
Challenges we ran into
Sign recognition under real conditions. Corridor signage is reflective, angled, and often partly occluded. 3050, A305, 0305 and 305 must not collapse into the same result, and a range sign like 301–310 means something different from a standalone plate. We treat the range as an object rather than parsing digits, and require agreement across independent frames before speaking.
Interpreting direction without a map. The naive rule "numbers increase straight ahead" is wrong in buildings with double-loaded or ring corridors. The numbering direction has to be inferred from what is actually on the walls at that moment, and where that is impossible the system must say so rather than guess.
Making the safety claim honest. A single camera cannot see glass, thin poles, or black fabric reliably. So we do not claim "it will not collide". We claim something narrower and testable: whatever the system sees, it will avoid — and when it cannot see, it says so. Acceptance is measured on the detected set, with detection failures listed openly.
Accomplishments that we're proud of
A navigation approach that uses the building's own signage instead of requiring a pre-built map for every space, with a safety layer whose promise is narrow enough to be verifiable. The corridor-manifold constraint, which converts an intractable general SLAM problem into a well-posed one-dimensional estimation problem for the case that matters. And a clear division of authority: geometry and safety on the device, semantics in the cloud. The generative model explains the building; it does not drive the user.
What we learned
That the hard part of accessible navigation is not recognition accuracy but deciding what not to say. A system that speaks too often is as unusable as one that stays silent, and an honest "I am not sure where I am, please stand still" is worth more than a confident wrong turn. We also learned that a safety commitment has to be written so it can be falsified, or it is not a commitment.
What's next for PathSense
Reuse fixed-obstacle observations across sessions, so a room walked once is easier the second time. Extend the on-device map beyond a single session and negotiate map versions when a building changes. Expand the vocabulary of recognised facility signage. Then run structured testing with low-vision users on grip, tilt, and instruction-following — the parts a developer cannot evaluate from the inside.