googleapis/python-documentai

Is it possible to output the results similar to an input document

oakkas opened this issue · 3 comments

I am trying to get a similar format as an input document. I assume this would be possible to use bounding_poly and normalized_vertices in the response. I am just not sure how to turn vertices into actual pixel locations yet. If someone has a code snippet, that would be awesome.

Could you illustrate this with example code snippet?

Trying to do something close to this image. So structuring the output as they are found in the image/document location.

Form_Parser_analysis_–Document_AI–aas-ds-default–_Google_Cloud_Platform

Hello @oakkas , you might look at this demo/notebook.