主权项 |
1. A non-transitory computer readable medium comprising instructions that, when executed by a computer, cause the computer to:
receive data corresponding to a screen display including information encoded in color; apply a color filter to the screen display to remove a background color generating a filtered image; detect an object in the filtered image; detect whether there is text in the filtered image; determine a proximity of the detected text to the object when text is detected by determining whether the text is located at least partially within the detected object, and when the text is not located at least partially within the detected object, determining whether the text is located within a predetermined distance of the detected object; generate a positive colorblindness accessibility indicator when the detected text is located at least partially within the detected object or within the predetermined distance of the detected object; and generate a negative colorblindness accessibility indicator when the detected text is not located at least partially within the detected object or within the predetermined distance of the detected object. |