METHOD AND DEVICE FOR USING AUGMENTED REALITY IN TRANSPORTATION
Augmented reality may be used to help navigate a user to a desired location. A first location and a device orientation of a user device may be obtained. A second location may be obtained. A path from the first location to the second location may be determined. A camera feed may be displayed on the user device. An indicator of the path may be displayed over the camera feed based on the device orientation. A marker may be displayed over the camera feed in response to determining that the device orientation aligns with the second location, and the marker may indicate the second location.
1 . A system for augmented reality navigation, comprising one or more processors and one or more non-transitory computer-readable memories coupled to the one or more processors and configured with instructions executable by the one or more processors to cause the system to perform operations comprising:
obtaining a first location and a device orientation of a user device;
displaying a first camera feed on the user device based on the first location of the user device being within a threshold distance of a second location;
sending a request to a second device to launch a second camera feed;
updating the first location of the user device based on first detected features in the first camera feed;
updating the second location based on second detected features in the second camera feed of the second device;
displaying at least one frame from the second camera feed on the user device;
determining a path from the first location of the user device to the second location;
displaying, based on the device orientation of the user device, an indicator of the path over the first camera feed; and
displaying, in response to determining that the device orientation aligns with the second location, a marker over the first camera feed, the marker indicating the second location.
2 . The system of claim 1 , wherein displaying the indicator of the path comprises:
determining a direction of the second location relative to the device orientation, wherein the path is from the first location to the second location and comprises the direction of the second location; and
displaying the indicator of the path in the direction of the second location.
3 . The system of claim 1 , wherein displaying the indicator of the path comprises:
determining a route from the first location to the second location, wherein the path is from the first location to the second location and comprises the route;
detecting a feature in the camera feed correlating with the route; and
displaying the indicator of the path over the feature in the camera feed.
4 . The system of claim 3 , wherein the feature in the camera feed comprises a road leading to the second location.
5 . The system of claim 3 , wherein the indicator of the path comprises animated arrows along the path.
6 . The system of claim 1 , wherein displaying the camera feed on the user device comprises displaying the camera feed on a first portion of the user device; and
the operations further comprise:
displaying a map on a second portion of the user device; and
displaying at least a portion of the path over the map.
7 . The system of claim 1 , wherein the marker indicating the second location grows in size as a user of the user device moves closer to the second location.
8 . The system of claim 1 , wherein displaying the camera feed on the user device comprises:
displaying, in response to determining that the first location and second location are within a threshold distance, a button to enable a camera of the user device; and
displaying the camera feed on the user device in response to detecting a selection of the button.
9 . A method for augmented reality navigation, comprising:
obtaining a first location and a device orientation of a user device;
displaying a first camera feed on the user device based on the first location of the user device being within a threshold distance of a second location;
sending a request to a second device to launch a second camera feed;
updating the first location of the user device based on first detected features in the first camera feed;
updating the second location based on second detected features in the second camera feed of the second device;
displaying at least one frame from the second camera feed on the user device;
determining a path from the first location of the user device to the second location;
displaying, based on the device orientation of the user device, an indicator of the path over the first camera feed; and
displaying, in response to determining that the device orientation aligns with the second location, a marker over the first camera feed, the marker indicating the second location.
10 . The method of claim 9 , wherein displaying the indicator of the path comprises:
determining a direction of the second location relative to the device orientation, wherein the path is from the first location to the second location and comprises the direction of the second location; and
displaying the indicator of the path in the direction of the second location.
11 . The method of claim 9 , wherein displaying the indicator of the path comprises:
determining a route from the first location to the second location, wherein the path is from the first location to the second location and comprises the route;
detecting a feature in the camera feed correlating with the route; and
displaying the indicator of the path over the feature in the camera feed.
12 . The method of claim 11 , wherein the feature in the camera feed comprises a road leading to the second location.
13 . The method of claim 11 , wherein the indicator of the path comprises animated arrows along the path.
14 . The method of claim 9 , wherein displaying the camera feed on the user device comprises displaying the camera feed on a first portion of the user device; and
the method further comprises:
displaying a map on a second portion of the user device; and
displaying at least a portion of the path over the map.
15 . The method of claim 9 , wherein the marker indicating the second location grows in size as a user of the user device moves closer to the second location.
16 . The method of claim 9 , wherein displaying the camera feed on the user device comprises:
displaying, in response to determining that the first location and second location are within a threshold distance, a button to enable a camera of the user device; and
displaying the camera feed on the user device in response to detecting a selection of the button.
17 . A non-transitory computer-readable storage medium configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:
obtaining a first location and a device orientation of a user device;
displaying a first camera feed on the user device based on the first location of the user device being within a threshold distance of a second location;
sending a request to a second device to launch a second camera feed;
updating the first location of the user device based on first detected features in the first camera feed;
updating the second location based on second detected features in the second camera feed of the second device;
displaying at least one frame from the second camera feed on the user device;
determining a path from the first location of the user device to the second location;
displaying, based on the device orientation of the user device, an indicator of the path over the first camera feed; and
displaying, in response to determining that the device orientation aligns with the second location, a marker over the first camera feed, the marker indicating the second location.
18 . The non-transitory computer-readable storage medium of claim 17 , wherein displaying the indicator of the path comprises:
determining a route from the first location to the second location, wherein the path is from the first location to the second location and comprises the route;
detecting a feature in the camera feed correlating with the route; and
displaying the indicator of the path over the feature in the camera feed.
19 . The non-transitory computer-readable storage medium of claim 18 , wherein the feature in the camera feed comprises a road leading to the second location.
20 . The non-transitory computer-readable storage medium of claim 17 , wherein displaying the camera feed on the user device comprises displaying the camera feed on a first portion of the user device; and
the operations further comprise:
displaying a map on a second portion of the user device; and
displaying at least a portion of the path over the map.