https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6d4aa1df-10e8-4ec5-926d-9ada8d9e1193/1_2nsdmjpH6VsGp1imcJJqQ-2.png

Contents

  1. Amazon Linux Docker
  2. Compiling Leptonica-1.79
  3. Compiling tesseract-5.0
  4. Tesseract Packing
  5. Download language model and test tesseract
  6. Troubleshoot

Why compiling tesseract 5.0 on Amazon Linux? My goal is to make tesseract 5.0 package for lambda, because lambda run based on Amazon Linux. Window, Linux(debian, ubuntu) and Mac based compile method could be found on the internet relatively.

1. Amazon Linux Docker

👉🏻 https://hub.docker.com/_/amazonlinux

> docker pull amazonlinux
Hosted at Hostnotion – custom domains for Notion