WO2015180389A1 - 角度测量方法、装置及终端 - Google Patents

角度测量方法、装置及终端 Download PDF

Info

Publication number
WO2015180389A1
WO2015180389A1 PCT/CN2014/089270 CN2014089270W WO2015180389A1 WO 2015180389 A1 WO2015180389 A1 WO 2015180389A1 CN 2014089270 W CN2014089270 W CN 2014089270W WO 2015180389 A1 WO2015180389 A1 WO 2015180389A1
Authority
WO
WIPO (PCT)
Prior art keywords
angle
line
terminal
horizontal reference
measurement
Prior art date
Application number
PCT/CN2014/089270
Other languages
English (en)
French (fr)
Inventor
胡小伟
韩伟
朱印
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to KR1020147035872A priority Critical patent/KR101685277B1/ko
Priority to JP2016522260A priority patent/JP6029797B2/ja
Priority to MX2015000196A priority patent/MX359998B/es
Priority to RU2014154153/28A priority patent/RU2599178C2/ru
Priority to BR112015000489-0A priority patent/BR112015000489B1/pt
Priority to US14/616,919 priority patent/US9897439B2/en
Publication of WO2015180389A1 publication Critical patent/WO2015180389A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • G01B11/27Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes for testing the alignment of axes
    • G01B11/272Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes for testing the alignment of axes using photoelectric detection means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/26Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C1/00Measuring angles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C9/00Measuring inclination, e.g. by clinometers, by levels
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S33/00Geometrical instruments
    • Y10S33/01Magnetic

Definitions

  • the present disclosure relates to the field of computer technologies, and in particular, to an angle measurement method, apparatus, and terminal.
  • the level APP (APPLICATION) can be installed on the terminal to detect whether the terminal is level by the level meter APP.
  • the terminal starts the installed level APP, and displays the measurement interface provided by the level APP on the display interface of the terminal.
  • the measurement interface includes being installed in the container. Liquid and air bubbles; keep the air bubbles rotating with the terminal during the rotation of the terminal; and determine the angle between the terminal and the horizontal plane to be zero when the air bubbles are in the middle position of the container.
  • the present disclosure provides an angle measuring method, apparatus, and terminal.
  • an angle measuring method including:
  • the angle obtained when the edge is parallel to the measurement line is determined as the angle between the object and the horizontal plane.
  • the horizontal reference line and the measurement line and the object currently captured by the camera are displayed in the display interface of the terminal, including:
  • the camera is activated, and the horizontal reference line and the measurement line and an object currently photographed by the camera are displayed in the terminal.
  • the detecting whether the terminal is in an inclined state includes:
  • calculate an angle between the measurement line and the horizontal reference line including:
  • the measurement line is parallel or coincident with the horizontal reference line at an initial time, measuring the rotation angle of the measurement line based on the horizontal reference line, determining the rotation angle as the measurement line and the horizontal reference line Angle of view
  • the method further includes:
  • the camera further captures another object, calculating an angle between the measurement line and the horizontal reference line in a process of rotating the terminal to make an edge of the other object parallel to the measurement line ;
  • the angle obtained when the edge of the other object is parallel to the measurement line is determined as an angle between the other object and the horizontal plane
  • the absolute value of the difference is determined as the angle between the object and the other object.
  • an angle measuring apparatus comprising:
  • a display module configured to display a horizontal reference line and a measurement line and an object currently photographed by the camera in a display interface of the terminal, where the measurement line and the horizontal reference line determine a plane parallel to the display interface and the measurement line and The display interface is relatively stationary;
  • a first calculating module configured to calculate an angle between the measuring line and the horizontal reference line in a process of rotating the terminal to make an edge of the object parallel to the measuring line displayed by the display module;
  • a first determining module configured to determine the angle obtained by the first calculating module when the edge is parallel to the measuring line as an angle between the object and a horizontal plane.
  • the display module includes:
  • a detecting unit configured to detect whether the terminal is in an inclined state
  • a display unit configured to: when the detecting unit detects that the terminal is in a tilt state, activate the camera, and display the horizontal reference line and the measurement line and an object currently photographed by the camera in the terminal.
  • the detecting unit includes:
  • a measuring subunit for measuring an inclination angle between the terminal and a horizontal plane
  • a detecting subunit configured to detect whether the tilt angle measured by the measuring subunit belongs to a preset angle range
  • Determining a subunit configured to determine when the detection subunit detects that the tilt angle belongs to the range of angles The terminal is in an inclined state.
  • the first calculating module includes:
  • a first calculating unit configured to measure a rotation angle of the measurement line based on the horizontal reference line when the measurement line is parallel or coincident with the horizontal reference line at an initial moment, and determine the rotation angle as the measurement The angle between the line and the horizontal reference line;
  • a second calculating unit configured to calculate the rotation angle minus the rotation angle of the measurement line based on the rotation angle of the horizontal reference line when an initial angle exists between the measurement line and the horizontal reference line at an initial time
  • the angle difference of the initial angle is determined as the angle between the measurement line and the horizontal reference line.
  • the device further includes:
  • a second calculating module configured to calculate the measurement line and the process in the process of rotating the terminal to make an edge of the other object parallel to the measurement line when the camera further captures another object The angle between the horizontal reference lines;
  • a second determining module configured to determine the angle obtained by the second calculating module when an edge of the another object is parallel to the measuring line as an angle between the another object and the horizontal plane;
  • a third calculating module configured to calculate an angle between the object determined by the first determining module and the horizontal plane minus an angle between the another object determined by the second determining module and the horizontal plane Difference
  • a third determining module configured to determine an absolute value of the difference obtained by the third calculating module as an angle between the object and the another object.
  • a terminal including:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the angle obtained when the edge is parallel to the measurement line is determined as the angle between the object and the horizontal plane.
  • the plane determined by the measuring line and the horizontal reference line is parallel to the display interface and the measuring line is relatively stationary with the display interface;
  • the angle between the measuring line and the horizontal reference line is calculated; the angle obtained when the edge is parallel to the measuring line is determined as the angle between the object and the horizontal plane, due to the edge of the object in the measuring line and the real scene
  • the terminal can measure the angle between the object and the horizontal plane, solves the problem that the angle measurement function of the terminal is single, and achieves the effect of expanding the angle measurement function of the terminal.
  • FIG. 1A is a flow chart showing an angle measuring method according to an exemplary embodiment.
  • FIG. 1B is a schematic diagram of a first horizontal reference line and a measurement line according to the present embodiment.
  • 1C is a schematic diagram of a second horizontal reference line and measurement line shown in accordance with the present embodiment.
  • FIG. 2A is a flow chart of an angle measurement method, according to another exemplary embodiment.
  • 2B is a schematic diagram of a third horizontal reference line and measurement line shown in accordance with the present embodiment.
  • 2C is an application diagram of the angle measurement shown in accordance with the present embodiment.
  • FIG. 3 is a block diagram of an angle measuring device, according to an exemplary embodiment.
  • FIG. 4 is a block diagram of an angle measuring device, according to an exemplary embodiment.
  • FIG. 5 is a block diagram of an angle measuring device, according to an exemplary embodiment.
  • FIG. 1A is a flowchart of an angle measurement method according to an exemplary embodiment. As shown in FIG. 1A, the angle measurement method may be, but is not limited to, applied to a terminal including a camera, and includes the following steps.
  • step 101 the horizontal reference line and the measurement line and the object currently photographed by the camera are displayed in the display interface of the terminal, and the plane determined by the measurement line and the horizontal reference line is parallel to the display interface and the measurement line and the display interface are relatively stationary.
  • the horizontal reference line is a reference line for indicating the horizontal direction, which is always horizontal.
  • the measuring line is used to measure the angle between the object and the horizontal plane, and the measuring line rotates with the terminal, that is, the measuring line and the display interface are relatively stationary.
  • FIG. 1B is a schematic diagram of a first horizontal reference line and a measurement line according to the present embodiment, and the measurement line in FIG. 1B is parallel to the length of the terminal. Since the length of the terminal is parallel to the horizontal plane and the measurement line is parallel to the length of the terminal, the measurement line is parallel to the horizontal reference line. In this embodiment, the edge of the terminal in the horizontal direction is determined as the length of the terminal.
  • FIG. 1B(1) is a vertical display interface such as a mobile phone
  • FIG. 1B(2) is a tablet computer.
  • the reading direction of the class is the horizontal display interface.
  • the solid line indicates the horizontal reference line
  • the broken line indicates the measurement line
  • the virtual solid line indicates the horizontal plane, which will not be described below.
  • 1C is a schematic diagram of a second horizontal reference line and measurement line shown in accordance with the present embodiment. Since there is an angle between the length of the terminal and the horizontal plane and the measurement line is parallel to the length of the terminal, there is an angle between the measurement line and the horizontal reference line.
  • step 102 the angle between the measurement line and the horizontal reference line is calculated during the process of rotating the terminal to make the edge of the object parallel to the measurement line.
  • the measuring line Since the measuring line is relatively stationary at the display interface and the horizontal reference line is kept horizontal, the measuring line forms an angle with the horizontal reference line before the terminal is rotated, and the angle can be measured.
  • step 103 the angle obtained when the edge is parallel to the measurement line is determined as the angle between the object and the horizontal plane.
  • the terminal can determine the angle calculated when the edge of the object is parallel to the measuring line as the object.
  • the angle between the plane and the water level is the angle between the measuring line and the water level.
  • the angle measurement method displays a horizontal reference line and a measurement line and an object currently photographed by the camera in a display interface of the terminal, and the plane determined by the measurement line and the horizontal reference line is parallel to the display interface and the
  • the measuring line is relatively static at the display interface; in the process of rotating the terminal to make the edge of the object parallel to the measuring line, the angle between the measuring line and the horizontal reference line is calculated; the angle obtained when the edge is parallel to the measuring line is determined as the object and the horizontal plane.
  • the terminal can measure the angle between the object and the horizontal plane, solves the problem that the angle measurement function of the terminal is single, and achieves the effect of expanding the angle measurement function of the terminal.
  • FIG. 2A is a flowchart of an angle measurement method according to another exemplary embodiment.
  • the embodiment uses a level APP to measure an angle between a terminal and a horizontal plane.
  • the angle measurement method may be applied to include
  • the terminal of the camera and level APP includes the following steps.
  • step 201 it is detected whether the terminal is in the tilt state; if it is detected that the terminal is in the tilt state, the camera is started, and step 202 is performed.
  • the terminal does not need to perform angle measurement.
  • detecting whether the terminal is in an inclined state including:
  • the terminal can start the level app APP pre-installed in the terminal, and measure the tilt angle between the terminal and the horizontal plane through the level meter APP.
  • the tilt angle refers to a rotation angle when the display interface of the terminal is upward and parallel to the horizontal plane, and rotates to the current posture in the direction of the bottom edge or the side edge of the terminal.
  • the tilt angle of the level meter APP measurement terminal can be based on various mature technologies, and will not be described herein.
  • the terminal can also compare the tilt angle with the preset angle range. If the tilt angle belongs to the angle range, it is determined that the terminal is in the tilt state; if the tilt angle does not belong to the angle range, it is determined that the terminal is in the horizontal state.
  • the angle range can be set and modified. For example, the range of angles Yes (45°, 135°), or the range of angles is modified to (5°, 175°) and so on.
  • step 202 the horizontal reference line and the measurement line and the object currently photographed by the camera are displayed in the display interface of the terminal, and the plane determined by the measurement line and the horizontal reference line is parallel to the display interface and the measurement line and the display interface are relatively stationary.
  • the horizontal reference line is a reference line for indicating the horizontal direction, which is always horizontal.
  • the measuring line is used to measure the angle between the object and the horizontal plane, which is relatively stationary with the display interface.
  • the measurement line may be at least one. In this embodiment, a measurement line is taken as an example for description.
  • the measuring line can be parallel to the length or width of the terminal. Please refer to the schematic diagram of the first horizontal reference line and measurement line shown in FIG. 1B and the second horizontal reference line and measurement line shown in FIG. 1C. Alternatively, the measurement line may not be parallel to the length and width of the terminal. Please refer to the schematic diagram of the third horizontal reference line and the measurement line shown in FIG. 2B. Since the length of the terminal is parallel to the horizontal plane and the measurement line is not parallel to the length of the terminal, the measurement line is not parallel to the horizontal reference line.
  • the camera When the camera is turned on, the camera captures the object in real time and displays the captured object in the display interface.
  • step 203 the angle between the measurement line and the horizontal reference line is calculated during the process of rotating the terminal to make the edge of the object parallel to the measurement line.
  • the measuring line Since the measuring line is relatively stationary at the display interface and the horizontal reference line is kept horizontal, during the process of rotating the terminal, the measuring line forms an angle with the horizontal reference line, and the level APP can measure the angle.
  • calculating the angle between the measurement line and the horizontal reference line including:
  • the measurement measurement line is determined as the angle between the measurement line and the horizontal reference line based on the rotation angle of the horizontal reference line;
  • the measurement measurement line is based on the rotation angle of the horizontal reference line, and the angle difference between the rotation angle minus the initial angle is calculated, and the angle difference is determined as the measurement line and The angle between the horizontal baselines.
  • the angle at which the measurement line rotates based on the horizontal reference line is the angle at which the terminal rotates based on the horizontal plane
  • the level APP can measure the angle at which the terminal rotates based on the horizontal plane, and the angle is The angle is determined as the angle between the measurement line and the horizontal reference line.
  • the level APP pre-acquires the initial angle between the terminal and the horizontal plane before the user rotates the terminal; the user rotates the terminal, in the edge of the object photographed by the camera and the display interface
  • the level APP measures the rotation angle between the terminal and the horizontal plane, and subtracts the initial angle from the rotation angle to obtain the angle between the measuring line and the horizontal reference line.
  • the level APP can pass the above measurement angle every predetermined time during the rotation of the terminal, and display the measured angle in the display interface.
  • the terminal when the user determines that the edge of the object is parallel to the measurement line, the terminal can be kept at the position for a predetermined period of time.
  • the terminal detects that the terminal remains at a certain position for a predetermined period of time, the edge of the object is determined to be parallel to the measurement line, and the level is triggered.
  • the APP calculates the angle; or, when the user determines that the edge of the object is parallel to the measurement line, the trigger signal may be sent to the terminal.
  • the terminal receives the trigger signal, it determines that the edge of the object is parallel to the measurement line, and triggers the level APP to calculate the angle.
  • the trigger signal may be a button provided by the click display interface, or an operation of performing a predetermined gesture in the display interface, and the like, which is not limited in this embodiment.
  • step 204 the angle obtained when the edge is parallel to the measurement line is determined as the angle between the object and the horizontal plane.
  • the terminal can determine the angle calculated when the edge of the object is parallel to the measuring line as the object.
  • the angle between the plane and the water level is the angle between the measuring line and the water level.
  • the present embodiment describes the process of angle measurement by taking the lateral placement of the terminal as an example.
  • 2C is an application diagram of the angle measurement shown in the present embodiment, in which the measurement line is parallel to the length of the terminal and the preset angle range is (10°, 170°).
  • FIG. 2C(1) A schematic diagram of the first angle measurement shown
  • the angle between the terminal and the horizontal plane is measured by the level meter APP.
  • the terminal starts the camera.
  • the measurement line 211 and the horizontal reference line 212 and the object captured by the camera in real time are displayed in the display interface. It is assumed that the camera photographs the table 213 and the board 214 and the board 214 leans against the table 213, as shown in FIG. 2C (2).
  • the angle between the measurement line 211 and the horizontal reference line 212 is calculated by the level APP to be 40°, and the angle 40° is determined as the relationship between the plate 214 and the horizontal plane.
  • the angle of the angle is displayed in the display interface. Please refer to the schematic diagram of the third angle measurement shown in Figure 2C (3).
  • the terminal can also measure the angle between two objects, and the method further includes:
  • the steps 201 to 204 may be performed to obtain an angle between the other object and the horizontal plane, and the angle between the object and the horizontal plane is calculated minus the other The difference in angle between an object and a horizontal plane, the absolute value of which is determined as the angle between the object and another object.
  • the angle between the object and the horizontal plane is 49°
  • the terminal number The second execution steps 201 to 204 measure that the angle between the other object and the horizontal plane is 13°, and the angle between the object and the other object is 36°.
  • the angle measurement method displays a horizontal reference line and a measurement line and an object currently photographed by the camera in a display interface of the terminal, and the plane determined by the measurement line and the horizontal reference line is parallel to the display interface and the
  • the measuring line is relatively stationary with the display interface; in the process of rotating the terminal to make the edge of the object parallel to the measuring line, the angle between the measuring line and the horizontal reference line is calculated; the angle obtained when the edge is parallel to the measuring line is determined as the object and the horizontal plane.
  • the terminal can measure the angle between the object and the horizontal plane, solves the problem that the angle measurement function of the terminal is single, and achieves the effect of expanding the angle measurement function of the terminal.
  • FIG. 3 is a block diagram of an angle measuring apparatus according to an exemplary embodiment.
  • the angle measuring apparatus may be, but is not limited to being applied to, a terminal including a camera, and includes: a display module 301, a first computing module. 302 and a first determining module 303.
  • the display module 301 is configured to display a horizontal reference line and a measurement line and an object currently photographed by the camera in a display interface of the terminal, where the plane determined by the measurement line and the horizontal reference line is parallel to the display interface, and the measurement line and the display interface are Relatively static;
  • the first calculation module 302 is configured to calculate an angle between the measurement line and the horizontal reference line in the process of rotating the terminal to make the edge of the object parallel to the measurement line displayed by the display module 301;
  • the first determining module 303 is configured to determine an angle obtained by the first calculating module 302 when the edge is parallel to the measuring line as an angle between the object and the horizontal plane.
  • the angle measuring device displays a horizontal reference line and a measuring line and an object currently photographed by the camera in a display interface of the terminal, and the plane determined by the measuring line and the horizontal reference line is parallel to the display interface and the plane
  • the measuring line is relatively stationary with the display interface; in the process of rotating the terminal to make the edge of the object parallel to the measuring line, the angle between the measuring line and the horizontal reference line is calculated; the angle obtained when the edge is parallel to the measuring line is determined as the object and the horizontal plane.
  • the terminal can measure the angle between the object and the horizontal plane, solves the problem that the angle measurement function of the terminal is single, and achieves the effect of expanding the angle measurement function of the terminal.
  • FIG. 4 is a block diagram of an angle measuring apparatus according to an exemplary embodiment.
  • the angle measuring apparatus may be, but is not limited to being applied to, a terminal including a camera, and includes: a display module 301, a first computing module. 302 and a first determining module 303.
  • the display module 301 is configured to display a horizontal reference line and a measurement line and an object currently photographed by the camera in a display interface of the terminal, where the plane determined by the measurement line and the horizontal reference line is parallel to the display interface, and the measurement line and the display interface are Relatively static;
  • the first calculation module 302 is configured to calculate an angle between the measurement line and the horizontal reference line in the process of rotating the terminal to make the edge of the object parallel to the measurement line displayed by the display module 301;
  • the first determining module 303 is configured to be obtained by the first calculating module 302 when the edge is parallel to the measuring line.
  • the angle is determined as the angle between the object and the horizontal plane.
  • the display module 301 includes: a detecting unit 3011 and a display unit 3012;
  • the detecting unit 3011 is configured to detect whether the terminal is in an inclined state
  • the display unit 3012 is configured to activate the camera when the detecting unit 3011 detects that the terminal is in the tilt state, and display the horizontal reference line and the measuring line and the object currently photographed by the camera in the terminal.
  • the detecting unit 3011 includes: a measuring subunit 30111, a detecting subunit 30112, and a determining subunit 30113;
  • the measuring subunit 30111 is configured to measure an inclination angle between the terminal and a horizontal plane
  • the detecting subunit 30112 is configured to detect whether the tilt angle measured by the measuring subunit 30111 belongs to a preset angle range;
  • the determining subunit 30113 is configured to determine that the terminal is in an inclined state when the detecting subunit 30112 detects that the tilt angle belongs to the angular range.
  • the first calculating module 302 includes: a first calculating unit 3021 and a second calculating unit 3022;
  • the first calculating unit 3021 is configured to determine the rotation angle of the measurement line based on the horizontal reference line when the measurement line is parallel or coincident with the horizontal reference line, and determine the rotation angle between the measurement line and the horizontal reference line. Angle;
  • the second calculating unit 3022 is configured to calculate an angle difference between the rotation angle minus the initial angle when the measurement measurement line is based on the rotation angle of the horizontal reference line when there is an initial angle between the initial time measurement line and the horizontal reference line. , the angle difference is determined as the angle between the measurement line and the horizontal reference line.
  • the angle measuring device in this embodiment further includes: a second calculating module 304, a second determining module 305, a third calculating module 306, and a third determining module 307;
  • the second calculation module 304 is configured to calculate an angle between the measurement line and the horizontal reference line in the process of rotating the terminal to make the edge of the other object parallel to the measurement line when the camera further captures another object. ;
  • the second determining module 305 is configured to determine an angle obtained by the second calculating module 304 when the edge of another object is parallel to the measuring line as an angle between another object and a horizontal plane;
  • the third calculation module 306 is configured to calculate a difference between an angle between the object determined by the first determining module 303 and a horizontal plane minus an angle between another object determined by the second determining module 305 and a horizontal plane;
  • the third determining module 307 is configured to determine an absolute value of the difference obtained by the third calculating module 306 as an angle between the object and another object.
  • the angle measuring device displays a horizontal reference line and a measuring line and an object currently photographed by the camera in a display interface of the terminal, and the plane determined by the measuring line and the horizontal reference line is parallel to the display interface and the plane
  • the measuring line is relatively stationary with the display interface; in the process of rotating the terminal to make the edge of the object parallel to the measuring line, the angle between the measuring line and the horizontal reference line is calculated; the angle obtained when the edge is parallel to the measuring line is determined as the object and the horizontal plane.
  • the terminal can measure the angle between the object and the horizontal plane, solves the problem that the angle measurement function of the terminal is single, and achieves the effect of expanding the angle measurement function of the terminal.
  • An exemplary embodiment of the present disclosure further provides a terminal, where the terminal includes:
  • a memory for storing processor executable instructions
  • processor is configured to:
  • the plane determined by the measuring line and the horizontal reference line is parallel to the display interface, and the measuring line and the display interface are relatively stationary;
  • the angle obtained when the edge is parallel to the measurement line is determined as the angle between the object and the horizontal plane.
  • the terminal displays a horizontal reference line and a measurement line and an object currently photographed by the camera in a display interface of the terminal, and the plane determined by the measurement line and the horizontal reference line is parallel to the display interface and the measurement line Relative to the display interface; in the process of rotating the terminal to make the edge of the object parallel to the measurement line, calculate the angle between the measurement line and the horizontal reference line; the angle obtained when the edge is parallel to the measurement line is determined as the object and the horizontal plane.
  • the terminal can measure the angle between the object and the horizontal plane, solves the problem that the angle measuring function of the terminal is single, and achieves the effect of expanding the angle measuring function of the terminal.
  • FIG. 5 is a block diagram of an angle measuring device 500, according to an exemplary embodiment.
  • device 500 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • apparatus 500 can include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, And a communication component 516.
  • Processing component 502 typically controls the overall operation of device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 502 can include one or more processors 518 to execute instructions to perform all or part of the steps described above.
  • processing component 502 can include one or more modules to facilitate interaction between component 502 and other components.
  • processing component 502 can include a multimedia module to facilitate interaction between multimedia component 508 and processing component 502.
  • Memory 504 is configured to store various types of data to support operation at device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phone book data, messages, pictures, videos, and the like.
  • Memory 504 can be of any type of volatile or non-volatile storage device or their Combined implementations such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory disk or optical disk.
  • Power component 506 provides power to various components of device 500.
  • Power component 506 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 500.
  • the multimedia component 508 includes a screen between the device 500 and the user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 508 includes a front camera and/or a rear camera. When the device 500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 510 is configured to output and/or input an audio signal.
  • audio component 510 includes a microphone (MIC) that is configured to receive an external audio signal when device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 504 or transmitted via communication component 516.
  • audio component 510 also includes a speaker for outputting an audio signal.
  • the I/O interface 512 provides an interface between the processing component 502 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 514 includes one or more sensors for providing device 500 with various aspects of status assessment.
  • sensor assembly 514 can detect an open/closed state of device 500, a relative positioning of components, such as the display and keypad of device 500, and sensor component 514 can also detect a change in position of one component of device 500 or device 500. The presence or absence of user contact with device 500, device 500 orientation or acceleration/deceleration, and temperature variation of device 500.
  • Sensor assembly 514 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 514 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 516 is configured to facilitate wired or wireless communication between device 500 and other devices.
  • the device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • communication component 516 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 516 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • apparatus 500 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 504 comprising instructions executable by processor 518 of apparatus 500 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Analysis (AREA)
  • Studio Devices (AREA)

Abstract

一种角度测量方法,其特征在于,包括:在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,所述测量线和所述水平基准线确定的平面与所述显示界面平行且所述测量线与所述显示界面相对静止(101);在转动所述终端使所述物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度(102);将所述边缘与所述测量线平行时得到的所述角度确定为所述物体与水平面之间的角度(103)。还提供了一种角度测量装置及终端。

Description

角度测量方法、装置及终端
本申请基于申请号为201410225638.5、申请日为2014年5月26日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及计算机技术领域,特别涉及一种角度测量方法、装置及终端。
背景技术
随着终端技术的发展,终端具备的功能越来越多。比如,可以在终端上安装水平仪APP(APPlication,应用),通过水平仪APP来检测终端是否水平。
相关技术中,若采用水平仪APP测量终端与水平面之间的角度,则终端启动安装的水平仪APP,在终端的显示界面上显示水平仪APP提供的测量界面,例如,该测量界面包括装在容器中的液体和气泡;在转动终端的过程中,保持气泡随终端转动;在气泡位于容器的中间位置时,确定终端与水平面之间的角度为0。
发明人在实现本公开的过程中,发现相关技术中至少存在以下缺陷:
通过水平仪APP仅能测量终端是否水平,导致终端的角度测量功能单一。
发明内容
为解决相关技术中的问题,本公开提供了一种角度测量方法、装置及终端。
根据本公开实施例的第一方面,提供一种角度测量方法,包括:
在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,所述测量线和所述水平基准线确定的平面与所述显示界面平行且所述测量线与所述显示界面相对静止;
在转动所述终端使所述物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
将所述边缘与所述测量线平行时得到的所述角度确定为所述物体与水平面之间的角度。
可选的,所述在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,包括:
检测所述终端是否处于倾斜状态;
若检测出所述终端处于倾斜状态,则启动所述摄像头,在所述终端中显示所述水平基准线和所述测量线以及所述摄像头当前拍摄的物体。
可选的,所述检测所述终端是否处于倾斜状态,包括:
测量所述终端与水平面之间的倾斜角度;
检测所述倾斜角度是否属于预设的角度范围;
若检测出所述倾斜角度属于所述角度范围,则确定所述终端处于倾斜状态。
可选的,所述在转动所述终端使所述物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度,包括:
若初始时刻所述测量线与所述水平基准线平行或重合,则测量所述测量线基于所述水平基准线的转动角度,将所述转动角度确定为所述测量线与所述水平基准线之间的角度;
若初始时刻所述测量线与所述水平基准线之间存在初始角度,则测量所述测量线基于所述水平基准线的转动角度,计算所述转动角度减去所述初始角度的角度差值,将所述角度差值确定为所述测量线与所述水平基准线之间的角度。
可选的,所述方法,还包括:
若所述摄像头还拍摄到另一物体,则在转动所述终端使所述另一物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
将所述另一物体的边缘与所述测量线平行时得到的所述角度确定为所述另一物体与所述水平面之间的角度;
计算所述物体与所述水平面之间的角度减去所述另一物体与所述水平面之间的角度的差值;
将所述差值的绝对值确定为所述物体和所述另一物体之间的角度。
根据本公开实施例的第二方面,提供一种角度测量装置,包括:
显示模块,用于在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,所述测量线和所述水平基准线确定的平面与所述显示界面平行且所述测量线与所述显示界面相对静止;
第一计算模块,用于在转动所述终端使所述物体的边缘与所述显示模块显示的所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
第一确定模块,用于将所述边缘与所述测量线平行时所述第一计算模块得到的所述角度确定为所述物体与水平面之间的角度。
可选的,所述显示模块,包括:
检测单元,用于检测所述终端是否处于倾斜状态;
显示单元,用于在所述检测单元检测出所述终端处于倾斜状态时,启动所述摄像头,在所述终端中显示所述水平基准线和所述测量线以及所述摄像头当前拍摄的物体。
可选的,所述检测单元,包括:
测量子单元,用于测量所述终端与水平面之间的倾斜角度;
检测子单元,用于检测所述测量子单元测到的所述倾斜角度是否属于预设的角度范围;
确定子单元,用于在所述检测子单元检测出所述倾斜角度属于所述角度范围时,确定 所述终端处于倾斜状态。
可选的,所述第一计算模块,包括:
第一计算单元,用于在初始时刻所述测量线与所述水平基准线平行或重合时,测量所述测量线基于所述水平基准线的转动角度,将所述转动角度确定为所述测量线与所述水平基准线之间的角度;
第二计算单元,用于在初始时刻所述测量线与所述水平基准线之间存在初始角度时,测量所述测量线基于所述水平基准线的转动角度,计算所述转动角度减去所述初始角度的角度差值,将所述角度差值确定为所述测量线与所述水平基准线之间的角度。
可选的,所述装置,还包括:
第二计算模块,用于在所述摄像头还拍摄到另一物体时,在转动所述终端使所述另一物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
第二确定模块,用于将所述另一物体的边缘与所述测量线平行时所述第二计算模块得到的所述角度确定为所述另一物体与所述水平面之间的角度;
第三计算模块,用于计算所述第一确定模块确定的所述物体与所述水平面之间的角度减去所述第二确定模块确定的所述另一物体与所述水平面之间的角度的差值;
第三确定模块,用于将所述第三计算模块得到的所述差值的绝对值确定为所述物体和所述另一物体之间的角度。
根据本公开实施例的第三方面,提供一种终端,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:
在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,所述测量线和所述水平基准线确定的平面与所述显示界面平行且所述测量线与所述显示界面相对静止;
在转动所述终端使所述物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
将所述边缘与所述测量线平行时得到的所述角度确定为所述物体与水平面之间的角度。
本公开的实施例提供的技术方案可以包括以下有益效果:
通过在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,该测量线和水平基准线确定的平面与显示界面平行且测量线与显示界面相对静止;在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度,由于测量线与实景中的物体边缘平行时,终端可以测量物体与水平面之间的角度,解决了终端的角度测量功能单一的问题,达到了扩展终端的角度测量功能的效果。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并于说明书一起用于解释本公开的原理。
图1A是根据一示例性实施例示出的一种角度测量方法的流程图。
图1B是根据本实施例示出的第一种水平基准线和测量线的示意图。
图1C是根据本实施例示出的第二种水平基准线和测量线的示意图。
图2A是根据另一示例性实施例示出的一种角度测量方法的流程图。
图2B是根据本实施例示出的第三种水平基准线和测量线的示意图。
图2C是根据本实施例示出的角度测量的应用图。
图3是根据一示例性实施例示出的一种角度测量装置的框图。
图4是根据一示例性实施例示出的一种角度测量装置的框图。
图5是根据一示例性实施例示出的一种用于角度测量装置的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
图1A是根据一示例性实施例示出的一种角度测量方法的流程图,如图1A所示,角度测量方法可以但不限于应用于包括摄像头的终端中,包括以下步骤。
在步骤101中,在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,该测量线和水平基准线确定的平面与显示界面平行且该测量线与显示界面相对静止。
水平基准线是用于指示水平方向的基准线,其始终保持水平。测量线用于测量物体与水平面之间的角度,测量线随着终端进行转动,也就是说,测量线与显示界面相对静止。
图1B是根据本实施例示出的第一种水平基准线和测量线的示意图,图1B中测量线与终端的长平行。由于终端的长与水平面平行且测量线平行于终端的长,因此,测量线与水平基准线平行。其中,本实施例将终端在水平方向的边确定为终端的长,比如,图1B(1)是诸如手机之类的阅读方向为竖向的显示界面,图1B(2)是诸如平板电脑之类的阅读方向为横向的显示界面。图1B中,实线表示的是水平基准线,虚线表示的是测量线,虚实线表示的是水平面,下文不再赘述。
图1C是根据本实施例示出的第二种水平基准线和测量线的示意图。由于终端的长与水平面之间存在角度且测量线平行于终端的长,因此,测量线与水平基准线之间存在角度。
在步骤102中,在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度。
由于测量线在显示界面相对静止且水平基准线保持水平,因此,在转动终端的过程中,测量线与水平基准线之前会形成夹角,可以测量该夹角。
在步骤103中,将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度。
当测量线与物体的边缘平行时,测量线与水平基准线之间的角度即为物体与水平面之间的角度,因此,终端可以将物体的边缘与测量线平行时计算得到的角度确定为物体与水平面之间的角度。
综上所述,本公开提供的角度测量方法,通过在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,该测量线和水平基准线确定的平面与显示界面平行且该测量线在显示界面相对静止;在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度,由于测量线与实景中的物体边缘平行时,终端可以测量物体与水平面之间的角度,解决了终端的角度测量功能单一的问题,达到了扩展终端的角度测量功能的效果。
图2A是根据另一示例性实施例示出的一种角度测量方法的流程图,本实施例使用水平仪APP来测量终端与水平面之间的角度,如图2A所示,角度测量方法可以应用于包括摄像头和水平仪APP的终端中,包括如下步骤。
在步骤201中,检测终端是否处于倾斜状态;若检测出终端处于倾斜状态,则启动摄像头,执行步骤202。
若终端与水平面之间不存在夹角,则终端所要测量的物体在水平面上,此时物体与水平面之间的角度是0°,终端不需要进行角度测量。为了避免终端不需要测量角度而触发角度测量流程所造成的资源浪费,可以检测终端是否处于倾斜状态。若终端处于倾斜状态,则启动角度测量流程,通过启动终端中预先安装的摄像头以进行角度测量;若终端处于水平状态,则不启动角度测量流程。
其中,检测终端是否处于倾斜状态,包括:
1)测量终端与水平面之间的倾斜角度;
2)检测倾斜角度是否属于预设的角度范围;
3)若检测出倾斜角度属于角度范围,则确定终端处于倾斜状态。
在测量终端是否处于倾斜状态时,终端可以启动终端中预先安装的水平仪APP,通过水平仪APP测量终端与水平面之间的倾斜角度。其中,倾斜角度是指终端的显示界面向上且与水平面平行时,绕终端的底边或侧边所在方向旋转到当前姿态时的旋转角度。
水平仪APP测量终端的倾斜角度可以依据各种成熟技术,此处不作赘述。
终端在获取到水平仪APP测得的倾斜角度后,还可以比较该倾斜角度与预设的角度范围。若该倾斜角度属于角度范围,则确定终端处于倾斜状态;若该倾斜角度不属于角度范围,则确定终端处于水平状态。其中,角度范围可以进行设置和修改。比如,角度范围 是(45°,135°),或,角度范围修改为(5°,175°)等等。
在步骤202中,在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,该测量线和水平基准线确定的平面与显示界面平行且该测量线与显示界面相对静止。
水平基准线是用于指示水平方向的基准线,其始终保持水平。测量线用于测量物体与水平面之间的角度,其与显示界面相对静止。其中,测量线可以为至少一条,本实施例以一条测量线为例进行说明。
测量线可以与终端的长或宽平行。请参考图1B所示的第一种水平基准线和测量线的示意图和图1C所示的第二种水平基准线和测量线的示意图。或,测量线也可以不与终端的长和宽平行,请参考图2B所示的第三种水平基准线和测量线的示意图。由于终端的长与水平面平行且测量线不平行于终端的长,因此,测量线与水平基准线不平行。
当摄像头处于开启状态时,摄像头实时拍摄物体,并将拍摄到的物体显示在显示界面中。
在步骤203中,在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度。
由于测量线在显示界面相对静止且水平基准线保持水平,因此,在转动终端的过程中,测量线与水平基准线之前会形成夹角,水平仪APP可以测量该夹角。
其中,在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度,包括:
1)若初始时刻测量线与水平基准线平行或重合,则测量测量线基于水平基准线的转动角度,将转动角度确定为测量线与水平基准线之间的角度;
2)若初始时刻测量线与水平基准线之间存在初始角度,则测量测量线基于水平基准线的转动角度,计算转动角度减去初始角度的角度差值,将角度差值确定为测量线与水平基准线之间的角度。
计算角度时,若初始时刻测量线与水平基准线平行或重合,则测量线基于水平基准线转动的角度即为终端基于水平面转动的角度,水平仪APP可以测量终端基于水平面转动的角度,并将该角度确定为测量线与水平基准线之间的角度。若初始时刻测量线与水平基准线之间存在初始角度,则在用户转动终端之前,水平仪APP预先获取终端与水平面之间的初始角度;用户转动终端,在摄像头拍摄的物体的边缘与显示界面中的测量线平行时停止转动终端,水平仪APP测量终端与水平面之间的转动角度,将转动角度减去初始角度,得到测量线与水平基准线之间的角度。
可选的,为了使用户明确转动角度,在转动终端的过程中,水平仪APP可以每隔预定时间通过上述测量角度,并将测得的角度显示在显示界面中。
其中,用户在确定物体的边缘与测量线平行时,可以将终端在该位置保持预定时长,当终端检测到终端在某一位置保持预定时长后,确定物体边缘与测量线平行,触发水平仪 APP计算角度;或,用户在确定物体的边缘与测量线平行时,可以向终端发送触发信号,当终端接收到触发信号后,确定物体边缘与测量线平行,触发水平仪APP计算角度。其中,触发信号可以是点击显示界面提供的按钮,或,在显示界面中执行预定手势的操作等等,本实施例不作限定。
在步骤204中,将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度。
当测量线与物体的边缘平行时,测量线与水平基准线之间的角度即为物体与水平面之间的角度,因此,终端可以将物体的边缘与测量线平行时计算得到的角度确定为物体与水平面之间的角度。
为了便于理解,本实施例以终端横向放置为例对角度测量的过程进行说明。图2C是根据本实施例示出的角度测量的应用图,图2C中测量线与终端的长平行且预设角度范围是(10°,170°)。
①在用户转动终端之前,由于终端与水平面之间的角度为0,因此,显示界面中显示测量线211和水平基准线212,测量线211与水平基准线212平行,请参考图2C(1)所示的第一种角度测量的示意图;
②在用户转动终端的过程中,通过水平仪APP测量终端与水平面之间的角度,当测量到终端与水平面之间的角度达到10°,属于角度范围(10°,170°)时,终端启动摄像头,在显示界面中显示测量线211和水平基准线212以及摄像头实时拍摄到的物体,假设摄像头拍摄到桌子213和板214且板214斜靠在桌子213上,请参考图2C(2)所示的第二种角度测量的示意图;
③在用户转动终端使板214的边缘与测量线211平行时,通过水平仪APP计算测量线211与水平基准线212之间的角度为40°,将该角度40°确定为板214与水平面之间的角度,并将该角度40°显示在显示界面中,请参考图2C(3)所示的第三种角度测量的示意图。
需要补充说明的是,终端还可以对两个物体之间的角度进行测量,则该方法,还包括:
1)若摄像头还拍摄到另一物体,则在转动终端使另一物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;
2)将另一物体的边缘与测量线平行时得到的角度确定为另一物体与水平面之间的角度;
3)计算物体与水平面之间的角度减去另一物体与水平面之间的角度的差值;
4)将该差值的绝对值确定为物体和另一物体之间的角度。
终端在执行步骤201至204获取到物体与水平面之间的角度之前或之后,还可以执行步骤201至204获取到另一物体与水平面之间的角度,计算物体与水平面之间的角度减去另一物体与水平面之间的角度的差值,将该差值的绝对值确定为物体与另一物体之间的角度。
比如,终端第一次执行步骤201至204测得物体与水平面之间的角度是49°,终端第 二次执行步骤201至204测得另一物体与水平面之间的角度是13°,则物体与另一物体之间的角度是36°。
综上所述,本公开提供的角度测量方法,通过在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,该测量线和水平基准线确定的平面与显示界面平行且该测量线与显示界面相对静止;在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度,由于测量线与实景中的物体边缘平行时,终端可以测量物体与水平面之间的角度,解决了终端的角度测量功能单一的问题,达到了扩展终端的角度测量功能的效果。
另外,通过在检测出终端处于倾斜状态后启动摄像头,可以避免终端测量水平面上的物体与水平面之间的角度时造成的资源浪费,达到了节省终端的资源的效果。
图3是根据一示例性实施例示出的一种角度测量装置的框图,如图3所示,角度测量装置可以但不限于应用于包括摄像头的终端中,包括:显示模块301、第一计算模块302和第一确定模块303。
该显示模块301被配置为,用于在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,测量线和水平基准线确定的平面与显示界面平行且该测量线与显示界面相对静止;
该第一计算模块302被配置为,用于在转动终端使物体的边缘与显示模块301显示的测量线平行的过程中,计算测量线与水平基准线之间的角度;
该第一确定模块303被配置为,用于将边缘与测量线平行时第一计算模块302得到的角度确定为物体与水平面之间的角度。
综上所述,本公开提供的角度测量装置,通过在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,该测量线和水平基准线确定的平面与显示界面平行且该测量线与显示界面相对静止;在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度,由于测量线与实景中的物体边缘平行时,终端可以测量物体与水平面之间的角度,解决了终端的角度测量功能单一的问题,达到了扩展终端的角度测量功能的效果。
图4是根据一示例性实施例示出的一种角度测量装置的框图,如图4所示,角度测量装置可以但不限于应用于包括摄像头的终端中,包括:显示模块301、第一计算模块302和第一确定模块303。
该显示模块301被配置为,用于在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,测量线和水平基准线确定的平面与显示界面平行且该测量线与显示界面相对静止;
该第一计算模块302被配置为,用于在转动终端使物体的边缘与显示模块301显示的测量线平行的过程中,计算测量线与水平基准线之间的角度;
该第一确定模块303被配置为,用于将边缘与测量线平行时第一计算模块302得到的 角度确定为物体与水平面之间的角度。
可选的,显示模块301,包括:检测单元3011和显示单元3012;
该检测单元3011被配置为,用于检测终端是否处于倾斜状态;
该显示单元3012被配置为,用于在检测单元3011检测出终端处于倾斜状态时,启动摄像头,在终端中显示水平基准线和测量线以及摄像头当前拍摄的物体。
可选的,检测单元3011,包括:测量子单元30111、检测子单元30112和确定子单元30113;
该测量子单元30111被配置为,用于测量终端与水平面之间的倾斜角度;
该检测子单元30112被配置为,用于检测测量子单元30111测到的倾斜角度是否属于预设的角度范围;
该确定子单元30113被配置为,用于在检测子单元30112检测出倾斜角度属于角度范围时,确定终端处于倾斜状态。
可选的,第一计算模块302,包括:第一计算单元3021和第二计算单元3022;
该第一计算单元3021被配置为,用于在初始时刻测量线与水平基准线平行或重合时,测量测量线基于水平基准线的转动角度,将转动角度确定为测量线与水平基准线之间的角度;
该第二计算单元3022被配置为,用于在初始时刻测量线与水平基准线之间存在初始角度时,测量测量线基于水平基准线的转动角度,计算转动角度减去初始角度的角度差值,将角度差值确定为测量线与水平基准线之间的角度。
可选的,本实施例中的角度测量装置,还包括:第二计算模块304、第二确定模块305、第三计算模块306和第三确定模块307;
该第二计算模块304被配置为,用于在摄像头还拍摄到另一物体时,在转动终端使另一物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;
该第二确定模块305被配置为,用于将另一物体的边缘与测量线平行时第二计算模块304得到的角度确定为另一物体与水平面之间的角度;
该第三计算模块306被配置为,用于计算第一确定模块303确定的物体与水平面之间的角度减去第二确定模块305确定的另一物体与水平面之间的角度的差值;
该第三确定模块307被配置为,用于将第三计算模块306得到的差值的绝对值确定为物体和另一物体之间的角度。
综上所述,本公开提供的角度测量装置,通过在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,该测量线和水平基准线确定的平面与显示界面平行且该测量线与显示界面相对静止;在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度,由于测量线与实景中的物体边缘平行时,终端可以测量物体与水平面之间的角度,解决了终端的角度测量功能单一的问题,达到了扩展终端的角度测量功能的效果。
另外,通过在检测出终端处于倾斜状态后启动摄像头,可以避免终端测量水平面上的物体与水平面之间的角度时造成的资源浪费,达到了节省终端的资源的效果。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
本公开一示例性实施例还提供了一种终端,该终端包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,处理器被配置为:
在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,测量线和水平基准线确定的平面与显示界面平行且测量线与显示界面相对静止;
在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;
将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度。
综上所述,本公开提供的终端,通过在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,该测量线和水平基准线确定的平面与显示界面平行且该测量线与显示界面相对静止;在转动终端使物体的边缘与测量线平行的过程中,计算测量线与水平基准线之间的角度;将边缘与测量线平行时得到的角度确定为物体与水平面之间的角度,由于测量线与实景中的物体边缘平行时,终端可以测量物体与水平面之间的角度,解决了终端的角度测量功能单一的问题,达到了扩展终端的角度测量功能的效果。
关于上述实施例中的终端,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图5是根据一示例性实施例示出的一种用于角度测量装置500的框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。
处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器518来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。
存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的 组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件506为装置500的各种组件提供电力。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电力相关联的组件。
多媒体组件508包括在所述装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。
I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器504,上述指令可由装置500的处理器518执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。

Claims (11)

  1. 一种角度测量方法,其特征在于,包括:
    在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,所述测量线和所述水平基准线确定的平面与所述显示界面平行且所述测量线与所述显示界面相对静止;
    在转动所述终端使所述物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
    将所述边缘与所述测量线平行时得到的所述角度确定为所述物体与水平面之间的角度。
  2. 根据权利要求1所述的方法,其特征在于,所述在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,包括:
    检测所述终端是否处于倾斜状态;
    若检测出所述终端处于倾斜状态,则启动所述摄像头,在所述终端中显示所述水平基准线和所述测量线以及所述摄像头当前拍摄的物体。
  3. 根据权利要求2所述的方法,其特征在于,所述检测所述终端是否处于倾斜状态,包括:
    测量所述终端与水平面之间的倾斜角度;
    检测所述倾斜角度是否属于预设的角度范围;
    若检测出所述倾斜角度属于所述角度范围,则确定所述终端处于倾斜状态。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述在转动所述终端使所述物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度,包括:
    若初始时刻所述测量线与所述水平基准线平行或重合,则测量所述测量线基于所述水平基准线的转动角度,将所述转动角度确定为所述测量线与所述水平基准线之间的角度;
    若初始时刻所述测量线与所述水平基准线之间存在初始角度,则测量所述测量线基于所述水平基准线的转动角度,计算所述转动角度减去所述初始角度的角度差值,将所述角度差值确定为所述测量线与所述水平基准线之间的角度。
  5. 根据权利要求1所述的方法,其特征在于,所述方法,还包括:
    若所述摄像头还拍摄到另一物体,则在转动所述终端使所述另一物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
    将所述另一物体的边缘与所述测量线平行时得到的所述角度确定为所述另一物体与所述水平面之间的角度;
    计算所述物体与所述水平面之间的角度减去所述另一物体与所述水平面之间的角度的差值;
    将所述差值的绝对值确定为所述物体和所述另一物体之间的角度。
  6. 一种角度测量装置,其特征在于,包括:
    显示模块,用于在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,所述测量线和所述水平基准线确定的平面与所述显示界面平行且所述测量线与所述显示界面相对静止;
    第一计算模块,用于在转动所述终端使所述物体的边缘与所述显示模块显示的所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
    第一确定模块,用于将所述边缘与所述测量线平行时所述第一计算模块得到的所述角度确定为所述物体与水平面之间的角度。
  7. 根据权利要求6所述的装置,其特征在于,所述显示模块,包括:
    检测单元,用于检测所述终端是否处于倾斜状态;
    显示单元,用于在所述检测单元检测出所述终端处于倾斜状态时,启动所述摄像头,在所述终端中显示所述水平基准线和所述测量线以及所述摄像头当前拍摄的物体的操作。
  8. 根据权利要求7所述的装置,其特征在于,所述检测单元,包括:
    测量子单元,用于测量所述终端与水平面之间的倾斜角度;
    检测子单元,用于检测所述测量子单元测到的所述倾斜角度是否属于预设的角度范围;
    确定子单元,用于在所述检测子单元检测出所述倾斜角度属于所述角度范围时,确定所述终端处于倾斜状态。
  9. 根据权利要求6至8任一项所述的装置,其特征在于,所述第一计算模块,包括:
    第一计算单元,用于在初始时刻所述测量线与所述水平基准线平行或重合时,测量所述测量线基于所述水平基准线的转动角度,将所述转动角度确定为所述测量线与所述水平基准线之间的角度;
    第二计算单元,用于在初始时刻所述测量线与所述水平基准线之间存在初始角度时,测量所述测量线基于所述水平基准线的转动角度,计算所述转动角度减去所述初始角度的角度差值,将所述角度差值确定为所述测量线与所述水平基准线之间的角度。
  10. 根据权利要求6所述的装置,其特征在于,所述装置,还包括:
    第二计算模块,用于在所述摄像头还拍摄到另一物体时,在转动所述终端使所述另一物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
    第二确定模块,用于将所述另一物体的边缘与所述测量线平行时所述第二计算模块得到的所述角度确定为所述另一物体与所述水平面之间的角度;
    第三计算模块,用于计算所述第一确定模块确定的所述物体与所述水平面之间的角度减去所述第二确定模块确定的所述另一物体与所述水平面之间的角度的差值;
    第三确定模块,用于将所述第三计算模块得到的所述差值的绝对值确定为所述物体和所述另一物体之间的角度。
  11. 一种终端,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    在终端的显示界面中显示水平基准线和测量线以及摄像头当前拍摄的物体,所述测量线和所述水平基准线确定的平面与所述显示界面平行且所述测量线与所述显示界面相对静止;
    在转动所述终端使所述物体的边缘与所述测量线平行的过程中,计算所述测量线与所述水平基准线之间的角度;
    将所述边缘与所述测量线平行时得到的所述角度确定为所述物体与水平面之间的角度。
PCT/CN2014/089270 2014-05-26 2014-10-23 角度测量方法、装置及终端 WO2015180389A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
KR1020147035872A KR101685277B1 (ko) 2014-05-26 2014-10-23 각도 측정 방법, 장치, 단말기, 프로그램 및 기록매체
JP2016522260A JP6029797B2 (ja) 2014-05-26 2014-10-23 角度測定方法、装置、端末、プログラム、及び記録媒体
MX2015000196A MX359998B (es) 2014-05-26 2014-10-23 Metodo, aparato y terminal para medicion de angulo.
RU2014154153/28A RU2599178C2 (ru) 2014-05-26 2014-10-23 Способ, аппарат и терминал для измерения угла
BR112015000489-0A BR112015000489B1 (pt) 2014-05-26 2014-10-23 Método para medir um ângulo e terminal
US14/616,919 US9897439B2 (en) 2014-05-26 2015-02-09 Method and terminal for measuring angle

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410225638.5 2014-05-26
CN201410225638.5A CN104034309B (zh) 2014-05-26 2014-05-26 角度测量方法、装置及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/616,919 Continuation US9897439B2 (en) 2014-05-26 2015-02-09 Method and terminal for measuring angle

Publications (1)

Publication Number Publication Date
WO2015180389A1 true WO2015180389A1 (zh) 2015-12-03

Family

ID=51465175

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/089270 WO2015180389A1 (zh) 2014-05-26 2014-10-23 角度测量方法、装置及终端

Country Status (8)

Country Link
EP (1) EP2950044B1 (zh)
JP (1) JP6029797B2 (zh)
KR (1) KR101685277B1 (zh)
CN (1) CN104034309B (zh)
BR (1) BR112015000489B1 (zh)
MX (1) MX359998B (zh)
RU (1) RU2599178C2 (zh)
WO (1) WO2015180389A1 (zh)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104034309B (zh) * 2014-05-26 2017-01-25 小米科技有限责任公司 角度测量方法、装置及终端
US9897439B2 (en) 2014-05-26 2018-02-20 Xiaomi Inc. Method and terminal for measuring angle
CN105208278A (zh) * 2015-09-28 2015-12-30 广东欧珀移动通信有限公司 一种拍摄的方法及终端
CN105352472A (zh) * 2015-11-04 2016-02-24 上海电机学院 基于双目视觉的书包平衡监测报警系统及使用方法
CN106289110A (zh) * 2016-07-25 2017-01-04 广东小天才科技有限公司 一种基于移动终端的角度测量方法及装置、移动终端
CN107025035B (zh) 2016-11-30 2020-02-14 阿里巴巴集团控股有限公司 控制移动终端屏幕显示的方法及移动终端
KR102465936B1 (ko) 2017-11-30 2022-11-10 삼성전자주식회사 수직형 메모리 장치
US10962360B2 (en) * 2018-06-11 2021-03-30 Deere & Company Smartphone calibration of a grade control system for a work machine
CN110059670B (zh) * 2019-04-29 2024-03-26 杭州雅智医疗技术有限公司 人体头面部、肢体活动角度及体姿非接触测量方法及设备
CN110533680A (zh) * 2019-08-19 2019-12-03 维沃移动通信有限公司 一种信息处理方法及装置
CN113514031A (zh) * 2021-04-15 2021-10-19 石家庄铁道大学 基于机器视觉的建筑物倾斜检测装置及方法
CN113360224B (zh) * 2021-05-06 2023-04-07 维沃移动通信(杭州)有限公司 一种操作方法和装置
CN113361461A (zh) * 2021-06-29 2021-09-07 浙江中控技术股份有限公司 一种基于智能终端的指针式仪表识别方法及系统
EP4201620A1 (de) * 2021-12-21 2023-06-28 Schöck Bauteile GmbH Erstellen einer verschalung

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993000607A1 (de) * 1991-06-29 1993-01-07 Wolfgang Prauss Externe neigungswinkelanzeige für kameras
EP1154314A2 (en) * 2000-05-09 2001-11-14 Takashi Miyaoka Camera viewfinder with camera inclination display
CN2478297Y (zh) * 2000-03-01 2002-02-20 陈春宏 具有摄影功能的携带通话器
CN1630304A (zh) * 2003-11-29 2005-06-22 Lg电子株式会社 移动终端的倾斜度显示方法
CN104034309A (zh) * 2014-05-26 2014-09-10 小米科技有限责任公司 角度测量方法、装置及终端

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3896505B2 (ja) * 2001-03-12 2007-03-22 富士フイルム株式会社 電子カメラ
JP3781016B2 (ja) * 2002-06-18 2006-05-31 カシオ計算機株式会社 電子カメラ、撮影方向取得方法及びプログラム
JP4396500B2 (ja) * 2004-12-07 2010-01-13 カシオ計算機株式会社 撮像装置、画像の姿勢調整方法、及びプログラム
JP4653043B2 (ja) * 2006-09-01 2011-03-16 キヤノン株式会社 撮像装置およびその制御方法
CN101697572B (zh) * 2005-09-09 2012-02-22 佳能株式会社 摄像设备
JP2008028728A (ja) * 2006-07-21 2008-02-07 Fujifilm Corp デジタルカメラ
US7593627B2 (en) * 2006-08-18 2009-09-22 Sony Ericsson Mobile Communications Ab Angle correction for camera
JP2009077226A (ja) * 2007-09-21 2009-04-09 Toshiba Corp 撮像装置とその制御方法及びプログラム及びプログラムを記憶した記憶媒体
JP4897895B2 (ja) * 2010-02-05 2012-03-14 株式会社リコー 撮像装置、プログラムおよび角度表示方法
TWI402489B (zh) * 2010-04-19 2013-07-21 Inventec Appliances Corp 利用電子裝置量測平面傾角的方法
JP5820181B2 (ja) * 2011-07-29 2015-11-24 キヤノン株式会社 撮影システム及びその制御方法ならびに表示制御装置及びその制御方法、プログラム、記憶媒体
CN103398698B (zh) * 2013-07-31 2015-11-18 深圳市金立通信设备有限公司 一种水平测量方法、装置及移动终端
CN103499341B (zh) * 2013-10-09 2015-11-18 国家电网公司 一种电杆倾斜测量仪的使用方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993000607A1 (de) * 1991-06-29 1993-01-07 Wolfgang Prauss Externe neigungswinkelanzeige für kameras
CN2478297Y (zh) * 2000-03-01 2002-02-20 陈春宏 具有摄影功能的携带通话器
EP1154314A2 (en) * 2000-05-09 2001-11-14 Takashi Miyaoka Camera viewfinder with camera inclination display
CN1630304A (zh) * 2003-11-29 2005-06-22 Lg电子株式会社 移动终端的倾斜度显示方法
CN104034309A (zh) * 2014-05-26 2014-09-10 小米科技有限责任公司 角度测量方法、装置及终端

Also Published As

Publication number Publication date
KR101685277B1 (ko) 2016-12-09
CN104034309A (zh) 2014-09-10
EP2950044A1 (en) 2015-12-02
BR112015000489B1 (pt) 2022-01-18
MX359998B (es) 2018-10-17
RU2599178C2 (ru) 2016-10-10
EP2950044B1 (en) 2018-10-17
BR112015000489A2 (pt) 2017-08-08
JP2016525830A (ja) 2016-08-25
MX2015000196A (es) 2016-03-03
KR20160000397A (ko) 2016-01-04
JP6029797B2 (ja) 2016-11-24
RU2014154153A (ru) 2016-08-20
CN104034309B (zh) 2017-01-25

Similar Documents

Publication Publication Date Title
WO2015180389A1 (zh) 角度测量方法、装置及终端
WO2016110145A1 (zh) 屏幕亮度设置方法及装置
JP6267363B2 (ja) 画像を撮影する方法および装置
WO2016112699A1 (zh) 切换显示模式的方法及装置
WO2019080614A1 (zh) 防止终端误触的方法及装置
WO2017088266A1 (zh) 图片处理方法及装置
WO2016023340A1 (zh) 一种切换摄像头的方法和装置
WO2017088579A1 (zh) 指纹识别方法及装置
WO2017020498A1 (zh) 图像拍摄方法和装置
WO2017071068A1 (zh) 应用程序切换方法、装置及设备
WO2017096782A1 (zh) 防止拍照遮挡的方法及装置
WO2017059638A1 (zh) 指纹识别方法及装置
WO2017012269A1 (zh) 通过图像确定空间参数的方法、装置及终端设备
WO2017071050A1 (zh) 具有触摸屏的终端的防误触方法及装置
WO2016095396A1 (zh) 充电管理方法及装置
US10708512B2 (en) Method and device for capturing image and storage medium
WO2017035994A1 (zh) 外接设备的连接方法及装置
WO2016023339A1 (zh) 延时拍照的方法和装置
WO2017107419A1 (zh) 屏幕解锁方法、装置及终端
WO2017045308A1 (zh) 控制摄像设备定位的方法、装置及设备
WO2016045323A1 (zh) 控制视频画面呈现的方法及装置
WO2015149457A1 (zh) 一种图片显示的方法及装置
WO2015161588A1 (zh) 一种配置拍摄参数的方法及装置
US9897439B2 (en) Method and terminal for measuring angle
WO2017031890A1 (zh) 全景照片的生成方法及装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016522260

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20147035872

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2015/000196

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2014154153

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14893100

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112015000489

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14893100

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 112015000489

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20150109