I have been working on a project of my own, building OCR using AWS. My Main idea is to use node & express , I have successfully created upload page, I had kept a trigger whenever a POST request(File upload) to my S3 bucket comes I am sending a trigger notification to lambda and invoking it.....
I am not sure how to send my file to Amazon text extract … I would be very grateful if anyone give solution to my problem..
My use case:
User-> upload File(S3)->Amazon Text Extract -> SentimentAnalysis/KeyPhrasaes ->Logic ->Result.
This asynchronous flow will work for your case.
Browser/Express backend -> S3(file upload) -> Lambda(Get S3 bucket & key) -> AWS Textract -> SNS -> AWS Lambda -> Your logic goes on after pulling textract result.
https://docs.aws.amazon.com/textract/latest/dg/API_StartDocumentAnalysis.html https://docs.aws.amazon.com/textract/latest/dg/API_StartDocumentTextDetection.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.