2 ms·
One of the things that Textract purports to do is also detect structured data, e.g. if the scanned images has tables, like a spreadsheet. I tested it out when
by danso 7y ago
One of the things that Textract purports to do is also detect structured data, e.g. if the scanned images has tables, like a spreadsheet.
I tested it out when it became available to the general public, and included the API call and JSON response for their default and relatively simple example:
https://gist.github.com/dannguyen/1a71c8fb98ddd1df6abdc08bc746397a https://gist.github.com/dannguyen/1a71c8fb98ddd1df6abdc08bc7...
I tried it against what I consider one of the harder real-world types of scanned tabular data, a Senate personal financial disclosure form [0], and it didn't do great. In fact, I found that it did substantially worse than ABBYY FineReader. Or rather, ABBYY did much better than I would've expected for any software, even managing to read the vertically-oriented column headers accurately [1].
[0] https://gist.github.com/dannguyen/1a71c8fb98ddd1df6abdc08bc746397a#is-textract-our-saint-and-savior-of-pdf-to-csv-data https://gist.github.com/dannguyen/1a71c8fb98ddd1df6abdc08bc7...
[1] https://github.com/dannguyen/abbyy-finereader-ocr-senate#less-simple-table https://github.com/dannguyen/abbyy-finereader-ocr-senate#les...