A display device, wherein the display device comprises a display device body, the display device body comprises a first lens barrel and a second lens barrel, a first lens is disposed at a first end of the first lens barrel, and a second lens is disposed at a first end of the second lens barrel; a first distance sensor and a second distance sensor are further disposed on the display device body; the first distance sensor and the second distance sensor are symmetrically disposed on two sides of a longitudinal central axis of the display device body; the first distance sensor is configured to measure a first distance between a left eyeball and the first lens; and the second distance sensor is configured to measure a second distance between a right eyeball and the second lens, wherein the display device is further configured to: obtaining a first image and a second image, wherein the first image comprises a left eyeball image of a user, and the second image comprises a right eyeball image of the user; separately normalizing the first image and the second image based on the first distance and the second distance; calculating an interpupillary distance between the left eyeball of the user and the right eyeball of the user based on a normalized first image and a normalized second image; and adjusting the position of the first lens and/or the second lens based on the interpupillary distance of the user. a first lens barrel and a second lens barrel, a first lens is disposed at a first end of the first lens barrel, and a second lens is disposed at a first end of the second lens barrel; a first distance sensor and a second distance sensor are further disposed on the display device body; the first distance sensor and the second distance sensor are symmetrically disposed on two sides of a longitudinal central axis of the display device body; the first distance sensor is configured to measure a first distance between a left eyeball and the first lens; and the second distance sensor is configured to measure a second distance between a right eyeball and the second lens, wherein the display device is further configured to: obtaining a first image and a second image, wherein the first image comprises a left eyeball image of a user, and the second image comprises a right eyeball image of the user; separately normalizing the first image and the second image based on the first distance and the second distance; calculating an interpupillary distance between the left eyeball of the user and the right eyeball of the user based on a normalized first image and a normalized second image; and adjusting the position of the first lens and/or the second lens based on the interpupillary distance of the user. obtaining a first image and a second image, wherein the first image comprises a left eyeball image of a user, and the second image comprises a right eyeball image of the user; separately normalizing the first image and the second image based on the first distance and the second distance; calculating an interpupillary distance between the left eyeball of the user and the right eyeball of the user based on a normalized first image and a normalized second image; and adjusting the position of the first lens and/or the second lens based on the interpupillary distance of the user.