#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrAutoRecognizeManager_CreateJob(autoRecognizeManager, autoRecognizeJob, jobData)
Parameter | Description |
---|---|
autoRecognizeManager; | handle to the OCR auto recognize manager |
autoRecognizeJob; | address to L_OcrAutoRecognizeJob variable to be updated |
jobData; | the job data |
Creates a new job.
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.
Required DLLs and Libraries
For an example, refer to L_OcrAutoRecognizeManager_RunJobAsync