gp0OP•

I originally wanted to figure out how r/AdviceAnimals's CaptionBot worked, and threw up a search engine for the text on image macros when i realized that captionbot just scrapes off the captions imgur provides anyway.

The more interesting part probably is doing OCR (optical character recognition) on the images: The indexer has a fallback feature that preprocesses the images and recognizes the text on them, which works well enough (Although it only works for .png as of now).

The only backend part for the web app is elasticsearch, the Javascript queries elasticsearch directly as a read-only user which makes the whole thing pretty light-weight (245 lines of js, excluding libraries and templating).

1
Axselius•

Nice name choice, it really works for what the product is

1