/meme-ocr

Special OCR tool using Tesseract to recognize internet meme images

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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