DEPRECATED - Accessibility extension that scans web images text and passes it to the DOM in image alt attribute for screen reader use.
Перейти к файлу
Hamlet 05c988ea6c
Merge pull request #36 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2019-04-02 09:48:03 -04:00
_locales/en Revert "Merge pull request #31 from hamletv/14" 2018-12-05 15:14:09 -05:00
dist Removing unused directories and files (#23). 2018-08-09 14:07:23 -04:00
icons Removing unused directories and files (#23). 2018-08-09 14:07:23 -04:00
.gitignore working local tesseract 2018-08-09 14:07:23 -04:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-29 23:56:14 -07:00
LICENSE Create LICENSE 2018-08-09 14:07:23 -04:00
README.md Extension name changed to Bubo Eye in all files 2018-08-09 14:07:23 -04:00
background.js nits fixed 2018-11-27 13:12:06 -05:00
content.js Revert "Merge pull request #31 from hamletv/14" 2018-12-05 15:14:09 -05:00
manifest.json context menu item localized 2018-11-09 11:56:48 -05:00
package-lock.json more name replacements: manifes, package-lock, package files 2018-08-09 14:07:23 -04:00
package.json more name replacements: manifes, package-lock, package files 2018-08-09 14:07:23 -04:00

README.md

Bubo Eye Extension

Bubo Eye is an accessibility extension that allows screen reader users to click on an image and obtain the text content of that image. It is not a description of the image but the actual text content within the image that was previously inaccessible to screen reader users. Think of memes, comics, diagrams and any photos with superimposed text on them as part of the image, this is content non-sighted users are unable to access.

Screenshot of headline, blurb of Firefox news

Typically the text in this image would not be accessible to a screen reader and therefore to its user. Bubo Eye allows you to obtain the image text on demand by right clicking on the image to be scanned and passing the text into the reassigned alt attribute. Image scanning is done with the use of Tesseract.js, a JavaScript library that has been around for several years and initially developed by HP.

Scanning accuracy is not 100%. There are multiple variables within the image itself that diminish the accuracy of the scanning, poorest accuracy is seen with memes and images that contain significant "noise" around the text portion of the image. Best results, highest accuracy is seen with images or screenshots of text; images with the text on a white background and similar cases where the text within the image is unobstructed. Training of tesseract is possible to increase accuracy and this will be the next step in making this extension more helpful to the user.

How to use Extension

Screenshot of image with text, right click drop down menu Once the extension is installed, right click on the image you want to scan. The Bubo Eye icon and "Discover Image Text" option will show at the bottom of the context menu.

Screenshot of image with text, inspector open showing image attributes Prior to scanning and clicking "Discover Image Text" you can see the img alt attribute is empty. The attribute will be reassigned and scanned text will be injected there.

Screenshot of image with text, inspector open, clicking on Bubo Eye icon With inspector still open (which is not needed during regular use), alt attribute still empty, right click and "Discover Image Text".

Screenshot of image with text, inspector open, Bubo Eye clicked Image has been scanned and the alt attribute now has text from image. Alt attribute text always starts with "Possible text:" due to the potential inaccuracies mentioned above.

Dependencies

Tesseract v1.0.10