IP Library Granted Patent US 9,589,325
Granted Patent B2
US 9,589,325 · App. 14/798,629 · Granted Mar 7, 2017

Method for determining display mode of screen, and terminal device

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,589,325
App. No.
14/798,629
Granted
Mar 7, 2017
Kind
B2
Abstract

A method includes determining a connection line between two eyes in each piece of profile picture information by identifying profile picture information of each viewer of at least two viewers, and determining a positive direction of each connection line according to the connection line between the two eyes in each piece of profile picture information and a preset positive direction determining rule. When the positive directions of all the connection lines are the same, calculating an included angle between the positive direction of each connection line and a positive direction of a reference line, and performing averaging on all the included angles to obtain a first included angle; and determining a display mode of a screen according to the first included angle.

Claims (55)

1. A method for determining a display mode of a screen, comprising:

identifying profile picture information of a viewer;

determining a connection line between two eyes in the profile picture information;

determining a positive direction of the connection line according to the connection line between the two eyes and a preset positive direction determining rule;

calculating an included angle between the positive direction of the connection line and a positive direction of a reference line by:

determining abscissae and ordinates that are respectively corresponding to positions of the two eyes in the profile picture information, wherein a direction of a horizontal coordinate axis in which the abscissae are located refers to a direction perpendicular to the positive direction of the reference line, and wherein a direction of a vertical coordinate axis in which the ordinates are located is the positive direction of the reference line; and

performing an inverse tangent on an absolute value of a difference between the two abscissae and an absolute value of a difference between the two ordinates to obtain the included angle, wherein the reference line is determined according to a long side of the screen or a short side of the screen; and

determining the display mode of the screen according to the included angle.

2. The method according to claim 1 , wherein the positive direction determining rule comprises one of:

determining the positive direction of the connection line based on the determination that a position of a nose or a mouth in the profile picture information is on a right side of the connection line between the two eyes in the profile picture information; and

determining the positive direction of the connection line based on the determination that a position of a nose or a mouth in the profile picture information is on a left side of the connection line between the two eyes in the profile picture information.

3. The method according to claim 1 , wherein when the positive direction determining rule is determining the positive direction of the connection line based on that the position of a nose or a mouth in the profile picture information is on a right side of the connection line between the two eyes in the profile picture information, determining the display mode of the screen according to the included angle comprises:

determining that the display mode of the screen is a portrait upright display mode when the included angle ranges from a first degree threshold to a second degree threshold;

determining that the display mode of the screen is a landscape right display mode when the included angle ranges from the second degree threshold to a third degree threshold;

determining that the display mode of the screen is a portrait upside-down display mode when the included angle ranges from the third degree threshold to a fourth degree threshold; and

determining that the display mode of the screen is a landscape left display mode when the included angle ranges from the fourth degree threshold to the first degree threshold.

4. A method for determining a display mode of a screen, comprising:

determining a connection line between two eyes in each piece of profile picture information by identifying profile picture information of each viewer of at least two viewers;

determining a positive direction of each connection line according to the connection line between the two eyes in each piece of profile picture information and a preset positive direction determining rule;

calculating, when the positive directions of all the connection lines between the two eyes are the same, an included angle between the positive direction of each connection line and a positive direction of a reference line;

performing averaging on all the included angles to obtain a first included angle, wherein the reference line is determined according to a long side of the screen or a short side of the screen; and

determining a display mode of the screen according to the first included angle.

5. The method for determining the display mode of the screen according to claim 4 , wherein the positive direction determining rule comprises at least one of:

determining the positive direction of the connection line based on the determination that a position of a nose or a mouth in the profile picture information is on a right side of the connection line between the two eyes in the profile picture information; or

determining the positive direction of the connection line based on the determination that a position of a nose or a mouth in the profile picture information is on a left side of the connection line between the two eyes in the profile picture information.

6. The method for determining the display mode of the screen according to claim 5 , wherein when the positive direction determining rule is determining the positive direction of the connection line based on that the position of the nose or the mouth in the profile picture information is on the right side of the connection line between the two eyes in the profile picture information, determining the display mode of the screen according to the first included angle comprises:

determining that the display mode of the screen is a portrait upright display mode when the first included angle ranges from a first degree threshold to a second degree threshold;

determining that the display mode of the screen is a landscape right display mode when the first included angle ranges from the second degree threshold to a third degree threshold;

determining that the display mode of the screen is a portrait upside-down display mode when the first included angle ranges from the third degree threshold to a fourth degree threshold; and

determining that the display mode of the screen is a landscape left display mode when the first included angle ranges from the fourth degree threshold to the first degree threshold.

7. The method for determining the display mode of the screen according to claim 4 , wherein calculating the included angle between the positive direction of each connection line and the positive direction of the reference line comprises:

determining abscissae and ordinates that are respectively corresponding to positions of the two eyes in each piece of profile picture information, wherein a direction of a horizontal coordinate axis in which the abscissae are located refers to a direction perpendicular to the positive direction of the reference line, and wherein a direction of a vertical coordinate axis in which the ordinates are located is the positive direction of the reference line; and

performing an inverse tangent on an absolute value of a difference between the two abscissae and an absolute value of a difference between the two ordinates to obtain the included angle.

8. The method for determining the display mode of the screen according to claim 4 , further comprising one of;

using a two-dimensional (2D) display manner or a three-dimensional (3D) display manner when the display mode of the screen is a portrait upright display mode or a portrait upside-down display mode; and

using a 2D display manner when the display mode of the screen is a landscape right display mode or a landscape left display mode.

9. A terminal device, comprising:

a memory configured to store a program; and

a processor configured to execute the program and cause the terminal device to:

identify profile picture information of a viewer;

determine a connection line between two eyes in the profile picture information;

determine a positive direction of the connection line according to the connection line between the two eyes and a preset positive direction determining rule;

calculate an included angle between the positive direction of the connection line and a positive direction of a reference line by:

determining abscissae and ordinates that are respectively corresponding to positions of the two eyes in profile picture information; and

performing an inverse tangent on an absolute value of a difference between the two abscissae and an absolute value of a difference between the two ordinates to obtain the included angle,

wherein a direction of a horizontal coordinate axis in which the abscissae are located refers to a direction perpendicular to the positive direction of the reference line, and a direction of a vertical coordinate axis in which the ordinates are located is the positive direction of the reference line, and wherein the reference line is deter mined according to a long side of a screen of the terminal device or a short side of the screen; and

determine a display mode of the screen according to the included angle.

10. The terminal device according to claim 9 , wherein the positive direction determining rule comprises one of:

determining the positive direction of the connection line based on the determination that a position of a nose or a mouth in the profile picture information is on a right side of the connection line between the two eyes in the profile picture information; and

determining the positive direction of the connection line based on the determination that a position of a nose or a mouth in the profile picture information is on a left side of the connection line between the two eyes in the profile picture information.

11. The terminal device according to claim 9 , wherein, when the positive direction determining rule is determining the positive direction of the connection line based on that the position of a nose or a mouth in the profile picture information is on a right side of the connection line between two eyes in the profile picture information, the processor is configured to determine the display mode of the screen according to the included angle comprises:

determining that the display mode of the screen is a portrait upright display mode if the first included angle ranges from a first degree threshold to a second degree threshold;

determining that the display mode of the screen is a landscape right display mode if the first included angle ranges from the second degree threshold to a third degree threshold;

determining that the display mode of the screen is a portrait upside-down display mode if the first included angle ranges from the third degree threshold to a fourth degree threshold; and

determining that the display mode of the screen is a landscape left display mode if the first included angle ranges from the fourth degree threshold to the first degree threshold.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 13, 2021
From: HUAWEI DEVICE CO.,LTD.
To: HONOR DEVICE CO., LTD.
Reel/Frame 056413/0883 →
CHANGE OF NAME Recorded Mar 11, 2019
From: HUAWEI DEVICE (DONGGUAN) CO.,LTD.
To: HUAWEI DEVICE CO.,LTD.
Reel/Frame 048555/0951 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 5, 2017
From: HUAWEI DEVICE CO., LTD.
To: HUAWEI DEVICE (DONGGUAN) CO., LTD.
Reel/Frame 043750/0393 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 14, 2015
From: CHEN, LEI
To: HUAWEI DEVICE CO., LTD.
Reel/Frame 036077/0809 →