L_OcrAutoRecognizeManagerJobErrorMode

enum L_OcrAutoRecognizeManagerJobErrorMode 
{ 
   L_OcrAutoRecognizeManagerJobErrorMode_Abort, 
   L_OcrAutoRecognizeManagerJobErrorMode_Continue, 
}; 
typedef enum L_OcrAutoRecognizeManagerJobErrorMode L_OcrAutoRecognizeManagerJobErrorMode; 

Defines values for the L_OcrAutoRecognizeManagerOptions.JobErrorMode property.

Value Meaning
L_OcrAutoRecognizeManagerJobErrorMode_Abort Abort the recognition process.
L_OcrAutoRecognizeManagerJobErrorMode_Continue Continue on none critical errors.

Comments

If L_OcrAutoRecognizeManagerOptions.JobErrorMode is L_OcrAutoRecognizeManagerJobErrorMode_Continue, then the L_OcrAutoRecognizeManager will perform the following actions depending on the current operation:

Operation Action
L_OcrAutoRecognizeManagerJobOperation_Other Non-recoverable. The recognition will fail.
L_OcrAutoRecognizeManagerJobOperation_CreateDocument Non-recoverable. The recognition will fail.
L_OcrAutoRecognizeManagerJobOperation_LoadPage Non-recoverable. The recognition will fail.
L_OcrAutoRecognizeManagerJobOperation_PreprocessPage Ignore the error and continue to zoning the page.
L_OcrAutoRecognizeManagerJobOperation_ZonePage If an error occurred during loading of a zone data from a file, the engine will try to auto-zone the page instead. If an error occurs during the auto-zone operation, the engine will skip recognition of the page and save it as a graphics data in the file document. This is useful when PDF with image over text option is used.
L_OcrAutoRecognizeManagerJobOperation_RecognizePage The engine will skip recognition of the page and save it as a graphics data in the file document. This is useful when PDF with image over text option is used.
L_OcrAutoRecognizeManagerJobOperation_SavePage Non-recoverable. The recognition will fail.
L_OcrAutoRecognizeManagerJobOperation_Append Non-recoverable. The recognition will fail.
L_OcrAutoRecognizeManagerJobOperation_ConvertDocument Non-recoverable. The recognition will fail.

For more information, refer to L_OcrAutoRecognizeManagerOptions.JobErrorMode.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - LEAD Engine C API Help