Patent ID: 8754928

Claim:
An electronic apparatus with photographing function, comprising: a central processing unit; a first lens module, used for obtaining a first image of a target, wherein the first lens module is electronically connected to the central processing unit; and a second lens module, used for obtaining a second image of the target, wherein the second lens module is electronically connected to the central processing unit, and there is a viewing angle difference between the first image and the second image; the first image and the second image are obtained by the first lens module and the second lens module respectively located at different levels; wherein the second lens module is shiftable along a level for adjusting a distance between the first lens module and the second lens module; wherein the second lens module is pulled away from the body of the electronic apparatus; where by means of adjusting the second lens module to an acting position, the central processing unit may be activated for processing the first image and the second image to form a 3D image; wherein the central processing unit calculates a coordinate of the target according to included angles respectively corresponded to the target and coordinates of the first lens module and the second lens module; wherein the coordinates of the first lens module and the second lens module are calculated in advanced; wherein by means of processing the first image and the second image, the central processing unit simulates that the first image and the second image are obtained when the first lens module and the second lens module are located at the same level, and that the distance between the first lens module and the second lens module is substantially equal to the average distance between a human's eyes; wherein the central processing unit performs coordinate conversion for the first image and the second image via the coordinate of the target and the simulative coordinates of the first lens module and the second lens module to simulate the first image and the second image obtained by lens modules located at the same level to form a 3D image.