摘要 |
An exemplary electronic device includes a housing, a lens module, a light source, an image sensor module, and an image processor. The lens module is received in the housing and used to receive light from an object. The light source is configured for projecting a light beam to the object, and forming a bright spot on the object. The image sensor module is configured for capturing images of the object and the bright spot. The image processor is configured for computing a change in the position of an image of the bright spot when displacement of the electronic device occurs, computing a displacement of the electronic device based on the change in the position of the image of the bright spot, and processing the captured image of the object based on the computed displacement such that the captured image is corrected.
|