This document summarizes a research project that aims to create a vision system for vehicles to prevent frontal collisions. The system uses a camera to capture images of the road ahead and processes them using OpenCV to detect vehicles and calculate distances. It determines critical distances based on the vehicle's speed to provide warnings to drivers. The system was tested on city roads and highways and proved to be relatively accurate at measuring distances and providing timely notifications.