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.
- AWS SAM
- Python 3.9
sam build
sam local invoke
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
sam delete --stack-name aws-lambda-tesseract-ocr-sample