/tesseract-aws-lambda

Tesseract compiled for AWS Lambda usage.

Primary LanguageDockerfile

Hello World for Tesseract in AWS Lambda

Tesseract compiled for AWS Lambda usage.

Quick Start

The code inside "myfunction.zip" is written in Python and successfully uses Tesseract 5.

Does it work ? (Example)

The code inside myfunction.zip was uploaded into AWS Lambda and returned the following output:

image

image

So the answer is ... YES! IT WORKS!

How can I use it ?

  1. Unzip the content of "myfunction.zip" and modify the code in "lambda_function.py" for your needs.
  2. Then zip it up again and upload into AWS Lambda.

image

myfunction.zip

The code structure may look like this.

image

tesseract-standalone.zip

image

Credits

https://stackoverflow.com/questions/33588262/tesseract-ocr-on-aws-lambda-via-virtualenv https://github.com/DanBloomberg/leptonica http://gnu.mirrors.pair.com/autoconf-archive https://github.com/tesseract-ocr/tesseract