Camera based systems are gaining popularity in automotive driver assistance systems. They are used to detect obstacles, road signs, road markings and other road users. Today, even low cost camera technology enables obtaining a very good image resolution. The proposed system presented in this paper can be used to measure the distance or the displacement of an object, by applying laser optics and trigonometry. The vision-based system was developed using a dual laser source and a CCD camera for recording images which are processed to obtain the distance from an object. The image processing techniques used in this paper consists of two main improved processes which are, the detection of a laser spot using image processing and the calculation of the distance based on laser spot position on the image and the relationship between pixel number and distance. It is shown that the proposed system is able to measure distances in a quick and accurate fashion.