Skip to content

Tesseract OCR Sample with AWS Lambda Container Images using AWS SAM

Notifications You must be signed in to change notification settings

iwstkhr/aws-lambda-tesseract-ocr-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda Tesseract OCR Sample

Tesseract OCR Sample with AWS Lambda Container Images using AWS SAM

Please refer to How to Run Tesseract OCR + pytesseract in AWS Lambda Container Images for more details.

Requirements

  • AWS SAM
  • Python 3.9

Build

sam build

Local Invoke

sam local invoke

Deploy

Set your ECR repository URI to --image-repository.

sam deploy \
  --stack-name aws-lambda-tesseract-ocr-sample \
  --image-repository 123456789012.dkr.ecr.ap-northeast-1.amazonaws.com/tesseract-ocr-lambda \
  --capabilities CAPABILITY_IAM

Delete

sam delete --stack-name aws-lambda-tesseract-ocr-sample

About

Tesseract OCR Sample with AWS Lambda Container Images using AWS SAM

Topics

Resources

Stars

Watchers

Forks