Learn R Programming

abbyyR (version 0.5.5)

getResults: Get Results

Description

Get data from all the processed images.

Usage

getResults(output = "", save_to_file = TRUE)

Arguments

output

Optional; folder to which you want to save the data from the processed images; Default is same folder as the script

save_to_file

Required; Default is TRUE; If true, it saves to file. Otherwise returns a data frame with results + other attributes from Abbyy

Value

data frame returned by listFinishedTasks plus either a column that contains paths to local files (when writing to disk), or actual results returned.

Details

The function calls listFinishedTasks, goes through the finishedTasks data frame and downloads all the files in resultsUrl Results can be stored in memory or written to the hard disk. By default, the function writes to the disk. If the user wants the results to be written to disk, a data frame with paths to local file paths is returned. If the user wants to store the results in memory, data frame with a column carrying the results is returned.

References

http://ocrsdk.com/documentation/apireference/getTaskStatus/

Examples

Run this code
# NOT RUN {
getResults(save_to_file = FALSE)
# }

Run the code above in your browser using DataLab