GALoc: Gravity Aligned Wireframes for Depth-Free Monocular Floorplan Localization
GALoc is a geometry-first framework for monocular floorplan localization that replaces brittle depth prediction with gravity-aligned wireframes to achieve robust, depth-free indoor positioning by satisfying verticality and coplanarity constraints.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Inside a building, the walls do not change their shape when the lights go out or when the furniture is rearranged. This stability makes architectural floorplans powerful tools for helping computers figure out where they are. Unlike photographs, which can look completely different depending on the time of day or the clutter in a room, a floorplan is a simple, unchanging map of the structure itself. For years, researchers have tried to use these maps to guide robots and augmented reality devices, but most existing methods rely on a fragile step: they first try to guess the distance to every object in a scene using complex software. This guesswork often fails in messy rooms where chairs and tables confuse the computer, or in empty spaces where there is no texture to measure. The result is a system that works well in perfect conditions but breaks down in the real world.
A new approach called GALoc, developed by researchers at GIST, KAIST, and Zurich University of Applied Sciences, bypasses this guessing game entirely. Instead of trying to calculate how far away everything is, the system focuses on the straight lines and corners that define the walls. It treats the camera's view as a set of wireframe sketches that must obey the laws of physics: walls are vertical, and floors and ceilings are flat. By using a sensor that knows which way is down (gravity), the system can mathematically align these wireframes to the real world without ever needing to know the exact distance to the walls. This method allows the computer to match the view from a single camera directly against a floorplan, finding its location with high precision even when the room is cluttered or the lighting is poor.
The core of this innovation is a shift in how the computer understands a room. Traditional systems act like a person trying to estimate distance by squinting, which is prone to error. GALoc acts more like an architect who knows that a wall must stand straight up and that a floor must be level. When the system looks at a room, it first identifies the junctions where walls meet the ceiling or floor. If the camera is tilted, these lines will appear skewed. The system then searches for the specific angle that, if applied to the camera, would make all those lines perfectly vertical and all the floor points perfectly flat. It does this by testing thousands of angles until it finds the one that makes the geometric rules fit together perfectly. Once the system has "straightened" the view, it projects the walls onto a flat, top-down map, much like looking at a building from a helicopter. This top-down view is then compared against the known floorplan to pinpoint the camera's exact location and orientation.
In testing this method, the researchers found that it excels where other methods struggle. They evaluated the system using both simulated environments and real-world footage captured in offices and long corridors. In a simulated dataset called Gibson, which features wide views of rooms, the system successfully located the camera within a tenth of a meter over a sequence of 100 steps in 88 percent of cases. By comparison, a leading method that relies on distance estimation succeeded only 68 percent of the time in the same conditions. The difference becomes even more stark when the system encounters a room full of furniture. While the distance-based method often mistakes a chair for a wall and loses its way, GALoc ignores the clutter because it only cares about the structural lines of the room. When the system cannot see enough of the walls to make a decision, it simply admits uncertainty rather than guessing a wrong location, which prevents it from drifting off course.
The researchers also tested the system in real buildings using a standard smartphone. In a cluttered office and a long corridor, the system managed to track movement with an error of less than half a meter over the length of the path. However, the study also highlighted a current limitation: the system depends on a tool that can accurately draw the wireframe lines from a photo. In the real-world tests, when the researchers used an automatic tool to find the lines, the system was less accurate than when they manually marked the corners. This suggests that the future of this technology depends less on the localization math and more on improving the ability of computers to see and draw the structural lines of a room as clearly as a human can. Until that tool becomes more robust, the system remains a powerful but specialized solution that works best when the walls are visible and the geometry is clear.
The findings demonstrate that a computer does not need to know the depth of a room to know where it is. By relying on the rigid geometry of architecture and the constant pull of gravity, the system achieves a level of stability that distance-based methods cannot match. It proves that for indoor navigation, understanding the shape of the space is often more important than measuring the distance to every object within it. As the tools for detecting these structural lines improve, this gravity-aligned approach could become a standard way for devices to navigate the complex, cluttered interiors of our daily lives.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.