text_from_dai_file: Get text from output file

Description Usage Arguments Value Examples

View source: R/inspect_output.R

Description

Extracts the text OCRed by Document AI (DAI) in an asynchronous processing request.

Usage

1

Arguments

file

filepath of a JSON file obtained using dai_async()

Value

a string

Examples

1
2
3
4
## Not run: 
text <- text_from_dai_file("output.json")

## End(Not run)

daiR documentation built on June 11, 2021, 5:16 p.m.