Electronic device and method for adjustting display screen
AssigneesHon Hai Precision Industry Co., Ltd., Hong Fu Jin Precision Industry (Wuhan) Co., Ltd.
InventorsJIAN-HUNG HUNG, MIN YANG
Life of this patent
Estimating the term…
Abstract
In a method for adjusting a display screen of an electronic device, the method obtains a current image and a previous image of a user captured by an image capturing device, detects a first face area from the current image and a second face area from the previous image. The method further rotates the display screen according to the movements of the user's face, and stops rotating the display screen when rotation angles of the display screen are equal to movement angles of the user's face.
Claims15
A method for adjusting a display screen of an electronic device, the method comprising:
- obtaining a current image and a previous image of a user captured by an image capturing device installed on the display screen;
- detecting a first face area from the current image and a second face area from the previous image;
- determining movement directions and movement angles of a user's face according to deviation values between positions of the first face area and the second face area;
- rotating the display screen according to the movement directions and the movement angles of the user's face;
- obtaining rotation angles of the display screen detected by a gravity sensor of the electronic device;
- and
- stopping rotating the display screen when the rotation angles of the display screen are equal to the movement angles of the user's face.
An electronic device, comprising:
- a processor;
- a storage device storing a plurality of instructions, which when executed by the processor, causes the processor to:
- obtain a current image and a previous image of a user captured by an image capturing device installed on a display screen of the electronic device;
- detect a first face area from the current image and a second face area from the previous image;
- determine movement directions and movement angles of a user's face according to deviation values between positions of the first face area and the second face area;
- rotate the display screen according to the movement directions and the movement angles of the user's face;
- obtain rotation angles of the display screen detected by a gravity sensor of the electronic device;
- and
- stop rotating the display screen when the rotation angles of the display screen are equal to the movement angles of the user's face.
A non-transitory storage medium having stored thereon instructions that, when executed by a processor of a electronic device, causes the electronic device to perform a method for adjusting a display screen of the electronic device, the method comprising:
- obtaining a current image and a previous image of a user captured by an image capturing device installed on the display screen;
- detecting a first face area from the current image and a second face area from the previous image;
- determining movement directions and movement angles of a user's face according to deviation values between positions of the first face area and the second face area;
- rotating the display screen according to the movement directions and the movement angles of the user's face;
- obtaining rotation angles of the display screen detected by a gravity sensor of the electronic device;
- and
- stopping rotating the display screen when the rotation angles of the display screen are equal to the movement angles of the user's face.
Dependencies are inferred from the claim text.