Traditionally, the parallax method is frequently used to measure the distance between the camera and the target surface. But in order to diminishing the computational complexity and inaccuracy of traditional methods, a novel vision-based method of distance measurement is proposed in this paper. The proposed methodology is using two parallel laser beams project to the measured surface for computing the distance and the theory of distance calculation also can be used to measure the distance between camera and object in digital video. The experimental results showed the proposed method provided precise measuring results in several different distances.