johnlinp / meme-ocr

Special OCR tool using Tesseract to recognize internet meme images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Special OCR tool using Tesseract to recognize internet meme images

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%