An extremely simple range finder using video from a single camera intended to produce data akin to a LIDAR.

This hack demonstrates range-finding to walls in a structured environment under several simplifying assumptions. To demonstrate the efficacy of this measurement technique, the resulting range data are used in a previously developed SLAM algorithm to map a hallway and display its floorplan.

By constraining the camera to remain horizontally aligned a fixed height above the floor, the distance to walls can be estimated by finding the boundary between the floor and wall using edge detection and pinhole camera geometry. This simplified distance measurement makes several assumptions including nearly uniform floor color, smooth camera motion, and sparse furnishings.

Built With

Share this project: