What I do for tables is use the OCR as a step 1, where I just extract the coordinates of each textbox. Then, use one of several methods to recognize columns (Hough transform, or we search for empty areas). Then, do some clustering to recognize lines.
The problem is that there's a million of edge cases that you need to handle (split boxes that span multiple columns, in the case of tables recognize cells that span multiple columns or rows, etc.). There should be a solution for all these edge cases, but it gets tricky quickly.
https://cloud.google.com/vision/
https://cloud.google.com/vision/docs/ocr
https://cloud.google.com/vision/docs/supported-files
You have to sign up for a developer account. If you are only doing low volume requests (up to 1000 a month) it is free.
Does it exist?
I've used tesseract and its relatives, but they seem to have a hard time with any document that's not a single column. The difference between what they can achieve (which to be fair is amazing) with what I expected based on all the ML demos that only does the first 10% (numbers only, no structure), but does it in a 30-minute demo, is big. Things like affine transforms (scaling, rotation) and decorations like bold, underline, and weird fonts create even more problems.
Why isn't there a docker container with an AWS lambda function in it that takes any image format I upload (pdf, png, jpg as the most critical) and returns a UTF string of its content?
My god, I'm spoiled by technology.