math / README.md
PeakyWillow's picture
Create README.md
507b659 verified
|
raw
history blame
222 Bytes

import boto3

client = boto3.client('textract') with open('sample.pdf', 'rb') as document: response = client.analyze_document( Document={'Bytes': document.read()}, FeatureTypes=['TABLES', 'FORMS'] )