Patent attributes
An electronic apparatus with photographing function is disclosed. The electronic apparatus comprises a main body and a sliding structure. The main body comprises a lens module and a controlling module. The sliding structure is movably connected to the main body and comprises an optical module. The optical module comprises two light-incidence openings, and the distance between the two light-incidence openings is substantially equal to the average distance between a human's eyes. The lens module is capable of obtaining two images via the optical module through movement of the sliding structure. The two images may be processed via the controlling module to form a 3D image.