Patent ID: 8749764

Claim:
A calibrating method for calibrating a distance-measuring device of measuring distance according to variation of imaging location, a lighting component of the distance-measuring device emitting a detecting light to a measured object, the measured object reflecting the detecting light to an image sensor of the distance-measuring device for imaging at a first imaging location, the distance-measuring device calculating a measured distance between the measured object and the distance-measuring device according to the first imaging location, a focus length of a first lens of the distance-measuring device, and a predetermined distance between the lighting component and the image sensor, the calibrating method comprising: the lighting component of the distance-measuring device emitting the detecting light to a calibrating object, and the calibrating object reflecting the detecting light to the image sensor of the distance-measuring device for imaging at a second imaging location; wherein a distance between the distance-measuring device and the calibrating object is a known distance; calculating a calibrating parameter for calibrating an assembling-error angle according to the known distance and the second imaging location; and the distance-measuring device calculating the calculated measured distance according to the calibrating parameter.