| CPC H04N 13/117 (2018.05) [G02B 27/017 (2013.01); G06V 20/20 (2022.01)] | 20 Claims |

|
1. A wearable device, comprising:
a processor, configured to:
establish an environment map of a real world around the wearable device based on simultaneous localization and mapping algorithm;
receive a user instruction, wherein the user instruction comprises a first virtual point and a second virtual point of a virtual object in a virtual world, wherein the virtual object is design by a user in the virtual world;
obtain a plurality of first feature points and a plurality of second feature points around the wearable device based the first virtual point and the second virtual point, wherein in response to the user pointing to the first virtual point in the virtual world, the plurality of first features points around where the user points in the real world are obtained, and in response to the user pointing to the second virtual point in the virtual world, the plurality of second features points around where the user points in the real world are obtained;
convert the first virtual point and the second virtual point to a first real point and a second real point in the real world respectively according to the environment map, the plurality of first feature points, and the plurality of second feature points; and
determine a real distance between the first real point and the second real point.
|