1. An electronic device comprising: at least one processor; and a storage device that stores one or more programs, which when executed by the at least one processor, cause the at least one processor to: generate, when images presented by the electronic device are viewed by a user located at a reference location, a first model and a second model; obtain, when the user views the images presented by the electronic device, an image of the user captured by a camera of the electronic device; and determine a line between two eyes of the user from the image of the user; calculate an offset angle between the line and the vertical axis of the electronic device; calculate coordinates of a middle point of the line; calculate a length of the line; generate a third model according to the offset angle, the coordinates of the middle point of the line, and the length of the line; and adjust, when the third model matches the first model, the images presented by the electronic device according to the second model and the offset angle.