Questions tagged [amazon-textract]

Amazon Textract enables document text detection and analysis in applications. The Amazon Textract Text Detection API can detect text in a variety of documents including financial reports, medical records, and tax forms. For documents with structured data, you can use the Amazon Textract Document Analysis API to detect linked text, tables, option buttons (radio buttons), and check boxes.

Amazon Textract documentation

226 questions
0
votes
1 answer

Reading multiple invoices from an image using OCR/computer vision

I wish to extract key-value pairs from the following image that consists of 2 invoices. Image example I am using AWS Textract to achieve this however I'd like to be able to map the key-value pairs back to the invoices. For ex- 'Cornbread SVC'…
0
votes
1 answer

Nodejs AWS Textract does not work on lambda

I am using NodeJS AWS SDK textract for detecting image (image file dot PNG/JPG). It was working on AWS EC2. But it does not work in an AWS Lambda function. There is response I get: { "err": { "message": "Request has…
0
votes
1 answer

Saving print output as dict or JSON

I have the following code which utilises boto3 for AWS. import boto3 from trp import Document # Document s3BucketName = "bucket" documentName = "doc.png" # Amazon Textract client textract = boto3.client('textract') # Call Amazon Textract response…
Greation
  • 73
  • 1
  • 2
  • 12
0
votes
0 answers

Is there a way to save Key-Value pairs in AWS Textract as a JSON or CSV to an S3 Bucket?

I am slowly learning things on AWS and Python, and I have been following this example in here: https://aws.amazon.com/blogs/machine-learning/automatically-extract-text-and-structured-data-from-documents-with-amazon-textract/ More specifically, the…
0
votes
1 answer

How to solve "AmazonTextractException: The security token included in the request is invalid" error?

I have a small piece of .NET Core code written to interact with the Amazon Textract API. The code itself is small and is working fine on one of my development machines. The code doesn't do anything with credentials, everything is configured through…
DerekD
  • 1
0
votes
1 answer

How to retrieve form data ( key-value pair) in PDF using python and amazon-textract?

I have tried using Analyze Document to retrieve data but this function allowed only image file. So how can I get form data (key-value pair) in PDF file?
0
votes
1 answer

Calling AWS Textract from another region

I am currently using AWS Textract for some OCR service, which is available in some regions. https://aws.amazon.com/about-aws/whats-new/2019/05/amazon-textract-now-generally-available/ My EC2 servers however, are in Singapore. Just would like to…
lppier
  • 1,927
  • 3
  • 24
  • 62
0
votes
1 answer

Restful API for Amazon Textract - example

I'm looking for an example of a RESTFUL API request for Amazon Textract service. I've been able to find the endpoint: https://textract.us-west-2.amazonaws.com, but no help on Headers and not much on how the Body should look like.
reginashGina
  • 11
  • 1
  • 1
0
votes
1 answer

Unable to import module Error in AWS Lambda Nodejs

I am working on an AWS Lambda where I need to use AWS Textract, for this, I have used AWS-SDK, with AWS-SDK I was able to import s3, but AWS Textract is not working, when I deploy and test it shows, Unable to import module…
0
votes
1 answer

How to pass the image converted in bytes to request in detectdocumenttextresult and detectdocumenttextresponse using .Net?

Not able to pass the image which is converted to bytes to request. Due to which i am unable to use detectdocumenttextresult and detectdocumenttextresponse This is the java code i have tried to convert in c# string document =…
0
votes
1 answer

VueJS - WEBPACK_IMPORTED_MODULE_0___default.a.Textract is not a constructor

I've been trying to use Textract in VueJs, and I'm getting the following error "aws_sdk__WEBPACK_IMPORTED_MODULE_0___default.a.Textract is not a constructor", i'm using aws-sdk version 2.450.0 and i don't know how to solve it... I made some tests to…
kojji
  • 1
  • 1
-1
votes
2 answers

Lambda function is not detecting tables correctly

I'm trying to complete lab in Machine Learning path in AWS Cloud Quest, but get an error "Your Lambda function is not detecting tables correctly" I tried a few other ways, but it's not working, it seems I need only uncomment few lines of code and…
Artur Uvarov
  • 75
  • 1
  • 1
  • 9
-1
votes
1 answer

OCR - Issue with reading checkbox and radiobuttons from documents

I have an use case where i need to parse an image or PDF to read a survey form with all the values like Name, Age, Address etc as a key value pair and load the data to the table for each of the column. Right now we are using AWS Textract and we are…
Anish Raju
  • 24
  • 3
-1
votes
1 answer

Upload PDF File and analyze by Textract without uploading the file in S3 Bucket

Im Planning to create a program from laravel where in you can upload your pdf file and analyze it with Textract OCR. I want the user to upload the pdf file and analyze it with textract without uploading the PDF in S3 bucket. My Question is, Is that…
Albert
  • 327
  • 1
  • 3
  • 16
-1
votes
1 answer

Amazon Textract, Elastic Beanstalk -assumed-role/aws-elasticbeanstalk-ec2-role/... is not authorized to perform textract:AnalyzeDocument

Hi I have build an app in spring boot that uses amazon textract for getting table data from a pdf file. This app works correctly when it is installed on my localhost. Now i have created a new Elastic Beanstalk app on the AWS environment and uploaded…
1 2 3
14
15