aws-samples / aws-samples/amazon-textract-textractor
Re-export edited entities to JSON
Open
- Dominant language
- Jupyter Notebook
- Stars
- 493
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Description
As a prior to the geofinder feature, we need the ability to export edited entities back into the Textract API response format.
In the image below, the customer would be able to generate re-labeled key-values and store them in the Document object but they need to be able to export the entire document JSON with the edited entities.

Along the lines of:
document.pages[1].key_values = {key: value + '_edited' for key, value in document.pages[1].key_values}
document.export("edited_kv_document.json")
Contributor guide
Assessment
This issue has not been assessed yet.