Created
September 11, 2021 00:30
-
-
Save sergiolucero/d57b74dc9323ceba0dcc4abace810695 to your computer and use it in GitHub Desktop.
Textract AWS boto3
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
| import boto3 | |
| client = boto3.client('textract') | |
| response = client.analyze_document( | |
| Document={ | |
| 'Bytes': b'bytes', | |
| 'S3Object': { | |
| 'Bucket': 'string', | |
| 'Name': 'string', | |
| 'Version': 'string' | |
| } | |
| }, | |
| FeatureTypes=[ | |
| 'TABLES'|'FORMS', | |
| ], | |
| HumanLoopConfig={ | |
| 'HumanLoopName': 'string', | |
| 'FlowDefinitionArn': 'string', | |
| 'DataAttributes': { | |
| 'ContentClassifiers': [ | |
| 'FreeOfPersonallyIdentifiableInformation'|'FreeOfAdultContent', | |
| ] | |
| } | |
| } | |
| ) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
03 ,"01 ","","","PATENTES Y TASAS POR DERECHOS ","2,655,460 ",
03 ,"02 ","","","PERMISOS Y LICENCIAS ","2,846,259 ",
03 ,"03 ","","","PARTICIPACION EN IMPUESTO TERRITORIAL (ART. 37 DL 3063) ","4,575,000 ",