Special OCR tool using Tesseract to recognize internet meme images
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tessdata
.gitignore
LICENSE
README.md
main.py
memeocr.py

README.md

Meme OCR

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

A dedicated trained Tesseract model is included.

Requirement

  • Install the tesseract executable by this tutorial.
  • Install Python OpenCV package by:
$ sudo pip 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.