Locating content in an environment
A method includes identifying a physical object within an environment using a camera of an electronic device, obtaining a content item to be output for display by the electronic device, determining a content position and a content orientation for the content item relative to the physical object, and displaying a representation of the content item using the electronic device so that, from a perspective of a user using the electronic device, the content item replaces the physical object in the environment. The content item is selected based on identifying the physical object.
1 . A method, comprising:
identifying a physical object within an environment using a camera of an electronic device;
obtaining a content item to be output for display by the electronic device, wherein the content item is selected based on identifying the physical object, and wherein the content item includes content location information configured to be received with the content item from a content source;
determining a content position and a content orientation for the content item relative to the physical object based on the content location information; and
displaying a representation of the content item using the electronic device so that, from a perspective of a user using the electronic device, the content item replaces the physical object in the environment.
2 . The method of claim 1 , wherein:
the content item further includes interactive content; and
displaying a representation of the content item using the electronic device includes displaying the interactive content, the interactive content configured to perform an action in response to a user action.
3 . The method of claim 1 , wherein the content location information includes geospatial coordinates that describe an intended display location for the content item and the content location information defines an anchor that is identified in the environment based on the content location information.
4 . The method of claim 1 , wherein identifying the physical object includes obtaining an image of the physical object using the camera and determining a three-dimensional configuration of the physical object based upon analyzing the image of the physical object to identify a shape, a size, a geometric configuration, or a combination thereof of the physical object.
5 . The method of claim 4 , wherein:
the content item includes a three-dimensional model that includes features that correspond to the shape, the size, the geometric configuration, or a combination thereof of the physical object; and
determining the content position and the content orientation for the content item relative to the physical object includes matching the three-dimensional model of the content item to the three-dimensional configuration of the physical object.
6 . The method of claim 1 , wherein the physical object includes a machine-readable data representation, and the machine-readable data representation is scanned using the camera to identify the physical object.
7 . The method of claim 1 , wherein displaying the representation of the content item using the electronic device allows the user to view and interact with virtual content that is relevant to the physical object.
8 . The method of claim 7 , wherein the virtual content includes instructions for the physical object or a demonstration of the physical object.
9 . The method of claim 1 , wherein obtaining the content item to be output for display by the electronic device is further based on user preference information, and obtaining the content item to be output for display by the electronic device comprises transmitting requests to the content source, the requests including the user preference information.
10 . A system, comprising:
a memory; and
a processor configured to execute instructions stored in the memory to:
identify a physical object within an environment using a camera of an electronic device;
obtain a content item to be output for display by the electronic device, wherein the content item is selected based on identifying the physical object, and wherein the content item includes content location information configured to be received with the content item from a content source;
determine a content position and a content orientation for the content item relative to the physical object based on the content location information; and
display a representation of the content item using the electronic device so that, from a perspective of a user using the electronic device, the content item replaces the physical object in the environment.
11 . The system of claim 10 , wherein:
the content item further includes interactive content; and
displaying a representation of the content item using the electronic device includes displaying the interactive content, the interactive content configured to perform an action in response to a user action.
12 . The system of claim 10 , wherein:
the content location information includes geospatial coordinates that describe an intended display location for the content item;
the content location information defines an anchor; and
the processor is further configured to execute instructions stored in the memory to identify the anchor in the environment based on the content location information.
13 . The system of claim 10 , wherein the content item includes a three-dimensional model that includes features that correspond to a shape, a size, a geometric configuration, or a combination thereof of the physical object.
14 . The system of claim 13 , wherein the processor is further configured to execute instructions stored in the memory to:
obtain an image of the physical object using the camera;
analyze the image of the physical object to identify the shape, the size, the geometric configuration, or a combination thereof of the physical object; and
determine a three-dimensional configuration of the physical object based upon the shape, the size, the geometric configuration, or a combination thereof of the physical object.
15 . The system of claim 14 , wherein the processor is further configured to execute instructions stored in the memory to match the three-dimensional model of the content item to the three-dimensional configuration of the physical object.
16 . The system of claim 10 , wherein displaying the representation of the content item using the electronic device allows the user to view and interact with virtual content that is relevant to the physical object, the virtual content including instructions for the physical object or a demonstration of the physical object.
17 . The system of claim 10 , wherein the physical object includes a machine-readable data representation, and the machine-readable data representation is scanned using the camera to identify the physical object.
18 . A non-transitory computer-readable storage device include program instructions executable by one or more processors that, when executed, cause the one or more processors to perform operations, the operations comprising:
identifying a physical object within an environment using a camera of an electronic device;
obtaining a content item to be output for display by the electronic device, wherein the content item is selected based on identifying the physical object, and wherein the content item includes content location information configured to be received with the content item from a content source;
determining a content position and a content orientation for the content item relative to the physical object based on the content location information; and
displaying a representation of the content item using the electronic device so that, from a perspective of a user using the electronic device, the content item replaces the physical object in the environment.
19 . The non-transitory computer-readable storage device of claim 18 , wherein the content item includes a three-dimensional model that includes features that correspond to a shape, a size, a geometric configuration, or a combination thereof of the physical object.
20 . The non-transitory computer-readable storage device of claim 19 , wherein identifying the physical object includes obtaining an image of the physical object using the camera and determining a three-dimensional configuration of the physical object based upon analyzing the image of the physical object to identify the shape, the size, the geometric configuration, or a combination thereof of the physical object.