Gets the a pointer to OcrAutoRecognizeRunJobCallback function that was set by calling L_OcrAutoRecognizeManager_SetRunJobCallback.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrAutoRecognizeManager_GetRunJobCallback(autoRecognizeManager, callback, userData)
Handle to the OCR engine auto recognize manager.
Address to L_OcrAutoRecognizeRunJobCallback variable to be updated with the auto recognize manager RunJob callback.
Same user data pointer that was passed when L_OcrAutoRecognizeManager_SetRunJobCallback was called.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets the a pointer to OcrAutoRecognizeRunJobCallback function that was set by calling L_OcrAutoRecognizeManager_SetRunJobCallback.
You can set the L_OcrAutoRecognizeRunJobCallback by calling L_OcrAutoRecognizeManager_SetRunJobCallback to get notified for OCR job start and complete phases.
This callback occurs when a job is about to start or when a job is completed or aborted. For more information about the kind of information you will get during this callback, refer to L_OcrAutoRecognizeRunJobCallbackData.
For an example, refer to L_OcrAutoRecognizeManager_SetRunJobCallback