| CPC G06V 10/462 (2022.01) [G01C 21/3623 (2013.01); G06T 7/73 (2017.01); G06V 20/10 (2022.01); G06V 20/50 (2022.01)] | 15 Claims |

|
1. A method, performed by an electronic device, of obtaining location information of the electronic device, the method comprising:
capturing, by the electronic device, at least one image;
identifying a plurality of feature points included in the at least one image based on a landmark identified in the at least one image;
obtaining a plurality of distances between feature points of the plurality of feature points and the electronic device based on features of an image sensor for capturing the at least one image, information about the plurality of feature points obtained in the at least one image, and location information of the plurality of feature points based on pre-stored information about the landmark including text information in the landmark;
generating a plurality of circles having the obtained plurality of distances as radii and having the plurality of feature points as centers, respectively; and
obtaining location information of the electronic device based on a point where the plurality of circles overlap each other,
wherein obtaining the plurality of distances between the plurality of feature points and the electronic device further comprises:
selecting at least two feature points from among the plurality of feature points;
obtaining a second distance indicating a distance between the at least two feature points, based on pre-stored information about feature point locations;
obtaining a third distance indicating the distance between the at least two feature points, by analyzing the at least one image; and
determining whether to use the at least two feature points to obtain the location information of the electronic device, based on a difference between the second distance and the third distance.
|