Description Usage Arguments Details Value Examples
View source: R/process_output.R
Creates a dataframe with the block bounding boxes identified by Document AI (DAI) in an asynchronous request. Rows are blocks, in the order DAI proposes to read them. Columns are location variables such as page coordinates and page numbers.
1 | build_block_df(json)
|
json |
filepath of a JSON file obtained using |
The location variables are: page number, left boundary, right boundary, top boundary, and bottom boundary.
a block data frame
1 2 3 4 | ## Not run:
block_df <- build_block_df("pdf_output.json")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.