<< Click to Display Table of Contents >> Navigation: OCR Module > High-Level Functions |
The High-Level Functions are as follows:
•OCR_Init initializes the library and sets up a new PXODocument in order to run OCR.
•OCR_Delete deletes the PDF object that OCR_Init created.
•OCR_LoadW loads the specified file into the PXODocument object’s input layer.
•OCR_LoadA loads the specified file into the PXODocument object’s input layer.
•OCR_SaveW saves the PXODocument output layer to the specified file.
•OCR_SaveA saves the PXODocument output layer to the specified file.
•OCR_GetNumInputPages returns the number of pages in the input layer of the PXODocument.
•OCR_MakeSearchable processes the input PXODocument and generates a new output layer that contains searchable PDF results.
•OCR_GetText processes the input document then formats and returns the plain text.
•OCR_GetField uses the region and parameters specified to perform OCR.
•OCR_GetFields uses the regions and parameters specified to perform OCR.
•OCR_SetCallBack sets the callback function for the PDF rasterization process.