meme-ocr icon indicating copy to clipboard operation
meme-ocr copied to clipboard

Special OCR tool using Tesseract to recognize internet meme images

Meme OCR

This is an optical character recognition (OCR) tool using Tesseract specifically for internet meme images.

Requirement

  • Install the tesseract executable by this tutorial
  • Install Python OpenCV package by:
$ sudo pip3 install opencv-python

Usage

  1. Prepare your meme image (e.g. /path/to/your/some-crazy-meme.jpg).
  2. Just run:
$ ./main.py /path/to/your/some-crazy-meme.jpg

And the recognized texts will be printed in the stdout.

Examples

$ ./main.py ./examples/socially-awkward-penguin.jpg