Last active
October 23, 2019 23:16
-
-
Save atsmith813/805bac8824598ab25295afaf596cace7 to your computer and use it in GitHub Desktop.
AWS Textract
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# continuing from above with s3_image | |
client = Aws::Textract::Client.new | |
resp = client.analyze_document({ | |
document: { s3_object: { bucket: ENV['AWS_BUCKET'], name: s3_image.key } }, | |
feature_types: ['TABLES'] | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment