2023-01-31 23:51:50 +01:00
|
|
|
# AWS image recognition with Textract
|
2023-01-31 12:14:02 +01:00
|
|
|
|
2023-01-31 23:51:50 +01:00
|
|
|
|
|
|
|
### To deploy:
|
|
|
|
- clone lambda.py code into your lambda trigger
|
|
|
|
- Add S3 bucket to your Lambda Trigger
|
|
|
|
- Add invoice to your bucket
|
2023-02-05 19:26:53 +01:00
|
|
|
- Enjoy!
|
|
|
|
|
|
|
|
|
|
|
|
## Application based on double requests:
|
|
|
|
- PUT https://9kpwan8769.execute-api.us-east-1.amazonaws.com/textract/{bucket-name}/{file-name} to send file to S3 and trigger serverless Textract
|
|
|
|
- GET https://gp1q182wu2.execute-api.us-east-1.amazonaws.com/read to read textract result from database
|