have you ever noticed that someone post a screenshot of text without providing an image description, preventing you from being able to read it? or maybe they posted a huge amount of text that just can't possibly be described with the image description feature?
simply tag @OCRbot in a direct reply to the image. it will download the image and scan it using tesseract OCR to output the text contained in the image!
because OCRbot runs on fedi.lynnesbian.space, it has a character limit of 65535, so even the longest images should work OK!
check the reply to this image to see it parsing the attached screenshot!
- it's not perfect, and it will often make small mistakes
- some images won't work at all. tesseract works best with black text on a white background, or other simple layouts.
- OCRbot won't work with handwriting.
most importantly, OCRbot is *not* a substitute for captioning your images. it's imperfect, it trips up on anything but the simplest text screenshots (with basic fonts and single colour background images), and it puts the OCR output *in the replies*, meaning that people have to do an extra step to see the text output of an image.
oh and you can donate here: https://github.com/Lynnesbian/OCRbot/blob/master/README.md#donating
more things it can't do:
- it doesn't know how to handle images (such as profile pictures within posts) at all. it'll usually know to ignore them but sometimes it'll try to read them as text.
- it can't handle complex text. even things as simple as italics can trip it up. text on angles, handwriting, etc. won't work.
- it doesn't do videos, not even the thumbnails. this includes GIFs.
- if your image doesn't make it to my instance, it won't work. for example, if you have a really slow server, and it takes more than 30 seconds for an image to get from your server to mine, it won't work.
- it can't read followers-only posts.
so please, please caption your images. OCRbot is a last resort for the vision impaired and others who want to get the text out of your image where you didn't provide it. OCRbot doesn't work anywhere near as well as an able-bodied human can. if the text is upside down, OCRbot doesn't have a chance, but you and i do.
and for the moment, it only does english. it works best with english, it'll probably trip up on accented letters, and it has no chance at arabic or japanese or anything else that doesn't use the latin alphabet.
people sure are having a lot of fun with OCRbot
ladies and/nand/or/xor/nor gentlemen...... i have solved the problem of accessibility forever.
@lynnesbian This is awesome!
And btw, never judge something's worth by its size or how much time you put into it or whatever.
It might've only taken two days to hack together the code, but the service it provides makes it much, much more valuable than a lot of things that took days, weeks, months, or even years to make.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!