摘要 |
Provided is a method and apparatus for measuring a distance between an object and a user using a camera module. According to the method, when the camera module is driven, a zooming function is performed to examine whether an image is formed on an image device. When the zooming function is completed, a focusing function is performed to examine whether focusing is adjusted. When focusing is adjusted, a focal length “f” and a distance “b” between a lens and the image device are calculated. Thereafter, a distance “a” between an object and a user is calculated and displayed using a lens Equation. Since a distance between a desired object and a user can be measured only using a zoom function and a focusing function of an existing camera module without a separate distance measurement device, the distance between the desired object and a user can be easily measured without increase in a volume of an apparatus or manufacturing costs.
|