Patent Document ID: 9837051
Application ID: 14797607
Patent Status: 1

Claim One:
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; determine a line between two eyes of the user from the image of the user; calculate an offset angle between the line and a 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 does not match the first model, the images presented by the electronic device according to the second model and the offset angle; wherein the first model is generated when three conditions are satisfied as following: (1) a reference line between the two eyes of the user is parallel to an abscissa axis of the electronic device, and vertical to a vertical axis of the electronic device; (2) coordinates of a reference middle point of the reference line are predetermined; (3) a length of the reference line is predetermined; wherein the second model is generated when three conditions are satisfied as following: (1) a reference horizontal line of the images presented by the electronic device is parallel to the abscissa axis of the electronic device, and vertical to the vertical axis of the electronic device; (2) a reference central point of the images presented by the electronic device is predetermined; (3) a length of a reference diagonal line of the images presented by the electronic device is predetermined; and wherein the images presented by the electronic device are adjusted when three conditions are satisfied as following: (1) L′(t)/L′ 0 =k*L 0 /L(t), wherein L′(t) is a length of an adjusted diagonal line of the images presented by the electronic device, L′ 0 is the length of the reference diagonal line of the images presented by the electronic device, L 0 is the length of the reference line between the two eyes of the user, L(t) is the length of the line between the two eyes of the user, and k is a constant value; (2) θ(t)=θ(t), wherein θ′(t) is an adjusted angle, and θ(t) is the offset angle between the line and the vertical axis of the electronic device; (3) P′(x(t), y(t))−P′ 0 =P(x(t), y(t))−P 0 , wherein P′(x(t), y(t)) is an adjusted central point of the images presented by the electronic device, P′ 0 is the reference central point of the images presented by the electronic device, P(x(t), y(t)) is the middle point of the line, and P 0 is the reference middle point of the reference line.