aws-samples / aws-samples/amazon-textract-textractor

Support integrity in text spacing with prettyprint

Open
#172 0 comments 0 reactions 1 assignee Claimed by @rasrivid View on GitHub
Dominant language
Jupyter Notebook
Stars
493
Forks
163
PR merge metrics
No merged PRs in 30d

Description

Image shows multi-column text for which the Textract returns words with bounding box information.
Screenshot 2023-02-15 at 11 37 41 AM

Aim: Support export/pretty print retaining the spaces shown in the document i.e print digital text in multi-column format.
Example:
![image](https://user-images.githubusercontent.com/125311192/219135728-330e92d6-be9f-4fbe-baf5-d5f65176897f.png)

Conversion of text to the following format:

```
1 First chapter 3
1.1 Section One 3
1.2 Section Two 3
1.3 Section Three 3

2 Last chapter 5
2.1 Section One 5
22 Section Two 5
2.3 Section Three 5
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.