Method and terminal for measuring angle
First Claim
1. A method performed by a mobile terminal to measure an angle of an object, comprising:
- displaying, on a display interface of the mobile terminal, a horizontal reference line and a measurement line relatively static with respect to the display interface, the measurement line and the horizontal reference line determining a plane parallel with the display interface;
detecting whether the mobile terminal is in an inclined state;
when it is detected that the mobile terminal is in the inclined state, starting a camera of the mobile terminal and imaging the object via the camera;
displaying the object on the display interface;
during a process in which the mobile terminal is turned to cause, on the display interface, an edge of the object to be parallel with the measurement line, obtaining one or more angles between the measurement line and the horizontal reference line;
determining an angle obtained when the edge of the object is parallel with the measurement line as an angle between the object and a horizontal plane; and
displaying the determined angle on the display interface.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for a terminal to measure an angle, includes: displaying a horizontal reference line, a measurement line, and an object being imaged by a camera on a display interface of the terminal, a plane determined by the measurement line and the horizontal reference line being parallel with the display interface, and the measurement line being relatively static with respect to the display interface; during a process in which the terminal is turned to cause, on the display interface, an edge of the object to be parallel with the measurement line, obtaining one or more angles between the measurement line and the horizontal reference line; and determining an angle obtained when the edge of the object is parallel with the measurement line as an angle between the object and a horizontal plane.
7 Citations
14 Claims
-
1. A method performed by a mobile terminal to measure an angle of an object, comprising:
-
displaying, on a display interface of the mobile terminal, a horizontal reference line and a measurement line relatively static with respect to the display interface, the measurement line and the horizontal reference line determining a plane parallel with the display interface; detecting whether the mobile terminal is in an inclined state; when it is detected that the mobile terminal is in the inclined state, starting a camera of the mobile terminal and imaging the object via the camera; displaying the object on the display interface; during a process in which the mobile terminal is turned to cause, on the display interface, an edge of the object to be parallel with the measurement line, obtaining one or more angles between the measurement line and the horizontal reference line; determining an angle obtained when the edge of the object is parallel with the measurement line as an angle between the object and a horizontal plane; and displaying the determined angle on the display interface. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A mobile terminal, comprising:
-
a camera; a display interface; a processor; and a memory configured to store instructions executable by the processor; wherein the processor is configured to; display, on the display interface, a horizontal reference line and a measurement line relatively static with respect to the display interface, the measurement line and the horizontal reference line determining a plane parallel with the display interface; detect whether the mobile terminal is in an inclined state; when it is detected that the mobile terminal is in the inclined state, start the camera and control the camera to image an object; display the object on the display interface; during a process in which the terminal is turned to cause, on the display interface, an edge of the object to be parallel with the measurement line, obtain one or more angles between the measurement line and the horizontal reference line; determine an angle obtained when the edge of the object is parallel with the measurement line as an angle between the object and a horizontal plane; and display the determined angle on the display interface. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor of a mobile terminal, cause the mobile terminal to perform a method for measuring an angle of an object, the method comprising:
-
displaying, on a display interface of the mobile terminal, a horizontal reference line and a measurement line relatively static with respect to the display interface, the measurement line and the horizontal reference line determining a plane parallel with the display interface; detecting whether the mobile terminal is in an inclined state; when it is detected that the mobile terminal is in the inclined state, starting a camera and controlling the camera to image the object; displaying the object on the display interface; during a process in which the terminal is turned to cause, on the display interface, an edge of the object to be parallel with the measurement line, obtaining one or more angles between the measurement line and the horizontal reference line; determining an angle obtained when the edge of the object is parallel with the measurement line as an angle between the object and a horizontal plane; and displaying the determined angle on the display interface. - View Dependent Claims (12, 13, 14)
-
Specification