Creates a new job.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrAutoRecognizeManager_CreateJob (autoRecognizeManager, autoRecognizeJob, jobData)
Handle to the OCR engine auto recognize manager.
Address to L_OcrAutoRecognizeJob variable to be updated with the job handle. You must call L_OcrAutoRecognizeJob_Destroy to free the job handle and its memory.
The job data.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Use this method to create an OCR job that is ready to run. When this method returns, you can use L_OcrAutoRecognizeManager_Run, L_OcrAutoRecognizeManager_RunJob or L_OcrAutoRecognizeManager_RunJobAsync to start this job.
Note: You must call L_OcrAutoRecognizeJob_Destroy to free the job handle and its memory.
For an example, refer to L_OcrAutoRecognizeManager_RunJobAsync