The lane departure warning (LDW) module uses the information from the lane detection module, to estimate if the vehicle is about to cross the lane boundary within the next few tenths of a second. In that case, and if the driver did not signal his intent to switch lanes, a warning is issued. The warning mechanism can be tuned for sensitivity – for example, the system can be set to warn only when the vehicle is actually crossing the lane marking, or give an early warning, before lane markings are crossed. The warning can be adapted to the type of road – for example, it could provide the driver with more slack in case of narrow roads or allow the driver to “cut” curves. OEM testing has proven that LDW performs well in diverse light and weather conditions, and diverse types of roads.