This document describes a vision-based obstacle detection module for a wheeled mobile robot. It uses a stereoscopic vision system to detect obstacles and build and update a map of the environment. The system extracts the ground surface from images using hue and detects obstacle edges using luminance. It then performs stereo matching on corresponding obstacle edge points to calculate depth and detect obstacles. The module is implemented using an FPGA to achieve high-performance real-time obstacle detection for safe robot navigation and dynamic map updating.