US 12,229,981 B2
Mobile terminal and operating method thereof
Sungmok Hwang, Seoul (KR); Jinok Kim, Seoul (KR); and Yeonkyung Chae, Seoul (KR)
Assigned to LG ELECTRONICS INC., Seoul (KR)
Filed by LG ELECTRONICS INC., Seoul (KR)
Filed on Aug. 2, 2022, as Appl. No. 17/879,201.
Claims priority of application No. 10-2021-0109441 (KR), filed on Aug. 19, 2021.
Prior Publication US 2023/0058043 A1, Feb. 23, 2023
Int. Cl. G06T 7/62 (2017.01)
CPC G06T 7/62 (2017.01) [G06T 2207/20224 (2013.01); G06T 2207/30204 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A mobile terminal comprising:
a camera;
a processor configured to:
determine whether two markers attached, respectively, to two doors are present in an image captured through the camera;
when the two markers are determined to be present in the image, acquire center points of the two markers;
acquire a y-axis pixel distance difference between the acquired center points; and
estimate a height difference between the two doors based on the acquired y-axis pixel distance difference,
wherein the processor, when the two markers are determined to be not present in the image, is configured to:
extract upper edges of the two doors from the image;
extract a plurality of straight lines from the extracted upper edges;
extract a first matched straight line corresponding to a first door and a second matched straight line corresponding to a second door from the plurality of extracted straight lines; and
estimate, as the height difference, a y-axis distance difference between the first matched straight line and the second matched straight line.