Skip to content

Latest commit

 

History

History

README.md

Example: AWS Lambda with Tesseract layer (Amazon Linux 2023 based runtime - Python 3.12)

Requirements

  • Docker
  • Node.Js

Deploy Stack

## install dependencies
npm ci
## deploy
npx sls deploy

Deployment

Invoke your API with an URL to an Image

curl -X POST \
  https://i61tt4wbth.execute-api.eu-central-1.amazonaws.com/dev/ocr \
  -d https://upload.wikimedia.org/wikipedia/de/e/eb/Goethe_Faust_Textbeispiel_Grossschreibung.png

Remove Stack

npx sls remove