- Newest
- Most votes
- Most comments
Thank for using Amazon Textract. See below information that explains your queries:
-
Yes, you have to specify the same Queries to used in the Adapter while calling textract.start_document_analysis() and use the FeatureTypes=["Queries"]/QueriesConfig inside code/lambda in Python (3.12). For example, below link[+] explains how to detect text using AWS Lambda function and AWS Textract. Inside the step3 : Add to python code, you can find the query(textract_client.detect_document_text(Document=image)) is added to the lambda function. [+]https://docs.aws.amazon.com/textract/latest/dg/lambda.html
-
Correct, lambda will need to update everytime when the model is updated, otherwise you will face the same error from the code/lambda.
-
The response is returned in the JSON format by the service. For more details you can refer to the AWS documentation - https://docs.aws.amazon.com/textract/latest/dg/API_StartDocumentAnalysis.html#API_StartDocumentAnalysis_ResponseElements
Relevant content
- asked 2 years ago
