How to Use AWS Textract to Extract Text from Scanned Documents in S3 Buckets

A Quick Start Guide for Amazon’s New OCR Service that Uses Python SDK Boto3

This article demonstrates how to use AWS Textract to extract text from scanned documents in an S3 bucket.

This goes beyond Amazon’s documentation — where they only use examples involving one image. Included in this blog is a sample code snippet using AWS Python SDK Boto3 to help you quickly get started.

Definitions

  • Amazon Textract is a service that automatically extracts text and data from scanned documents.
  • Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance.

Code

Closing

Textract is an amazing OCR (optical character recognition) tool. It can save your team countless man hours by automating the tedious and error-prone task of manual data entry.

Thanks for reading — and please follow me here on Medium for more interesting software engineering articles!

read original article here