AUGMENTED REALITY USER INTERFACE VISIBILITY
A device includes a display, an optical sensor, and an augmented reality (AR) application. The optical sensor captures an image. The AR application determines visual properties of a region of the image, the region being adjacent to a portion of the AR content. The AR application determines visual properties of the AR content, determines a contrast between the region in the image and the AR content based on the visual properties of the region in the image and the AR content, and modifies an appearance of the AR content based on the contrast.
1 . A device comprising:
a display configured to display an augmented reality (AR) content;
an optical sensor configured to capture an image;
one or more hardware processors; and
a memory storing instructions that, when executed by the one or more hardware processors, configure the device to perform operations comprising:
determining visual properties of a region in the image, the region being adjacent to a portion of the AR content;
determining visual properties of the AR content;
determining a contrast between the region in the image and the AR content based on the visual properties of the region in the image and the visual properties of AR content; and
causing the display to modify an appearance of the AR content based on the contrast.
2 . The device of claim 1 , wherein the region includes an area larger than an area of the AR content, the area including the AR content.
3 . The device of claim 1 , wherein the visual properties of the region include a color of the region, a brightness of the region, and a visual pattern of content in the region,
wherein the visual properties of the AR content include a color of the AR content, a brightness of the AR content, and a visual pattern of the AR content.
4 . The device of claim 1 , wherein the contrast includes a color difference level, a brightness difference level, and a visual pattern difference level.
5 . The device of claim 1 , wherein modifying the appearance of the AR content further comprises:
changing a shape, a color, and a brightness of the AR content in response to the contrast being below a predefined threshold contrast.
6 . The device of claim 5 , further comprising:
changing a font of a text in the AR content;
increasing a font size of the text in the AR content; and
changing a color of the text in the AR content.
7 . The device of claim 1 , further comprising:
measuring an ambient light outside the device; and
adjusting a font and a color of the AR content in response to the measured ambient light.
8 . The device of claim 1 , further comprising:
changing a location of the AR content within the display in response to the contrast being below a predefined threshold contrast.
9 . The device of claim 1 , further comprising:
adjusting the appearance of the AR based on output data from neuro sensors or biological sensors connected to a user of the device.
10 . The device of claim 1 , wherein the operations further comprise:
identifying an object in the image;
retrieving the AR content corresponding to the identified object; and
rendering the AR content in the display, the AR content displayed as an overlay on the identified object, the display including a transparent display.
11 . A method comprising:
determining, using one or more hardware processors, visual properties of a region of an image generated with an optical sensor of an augmented reality (AR) device, the region being adjacent to a portion of an AR content displayed in a display of the AR device;
determining, using the one or more hardware processors, visual properties of the AR content;
determining using the one or more hardware processors, a contrast between the region in the image and the AR content based on the visual properties of the region in the image and the AR content; and
causing a display to modify an appearance of the AR content based on the contrast.
12 . The method of claim 11 , wherein the region includes an area larger than an area occupied by the AR content, the area including the AR content.
13 . The method of claim 11 , wherein the visual properties of the region include a color of the region, a brightness of the region, and a visual pattern of content in the region,
wherein the visual properties of the AR content include a color of the AR content, a brightness of the AR content, and a visual pattern of the AR content.
14 . The method of claim 11 , wherein the contrast includes a color difference level, a brightness difference level, and a visual pattern difference level.
15 . The method of claim 11 , wherein modifying the appearance of the AR content further comprises:
changing a shape, a color, and a brightness of the AR content in response to the contrast being below a predefined threshold contrast, the AR content including a graphical user interface.
16 . The method of claim 15 , further comprising:
changing a font of a text in the AR content;
increasing a font size of the text in the AR content; and
changing a color of the text in the AR content.
17 . The method of claim 11 , further comprising:
measuring an ambient light outside the AR device; and
adjusting a font and a color of the AR content in response to the measured ambient light.
18 . The method of claim 11 , further comprising:
changing a location of the AR content within the display in response to the contrast being below a predefined threshold contrast.
19 . The method of claim 11 , further comprising:
adjusting the appearance of the AR based on output data from neuro sensors or biological sensors connected to a user of the device.
20 . A non-transitory machine-readable medium comprising instructions that, when executed by one or more processors of a machine, cause the machine to perform operations comprising:
determining visual properties of a region of an image generated with an optical sensor of an augmented reality (AR) device, the region being adjacent to a portion of an AR content displayed in a display of the AR device;
determining visual properties of the AR content;
determining a contrast between the region in the image and the AR content based on the visual properties of the region in the image and the AR content; and
modifying an appearance of the AR content based on the contrast.