#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrAutoRecognizeManager_CreateJob(autoRecognizeManager, autoRecognizeJob, jobData)
L_OcrAutoRecognizeManager autoRecognizeManager; | handle to the OCR auto recognize manager |
L_OcrAutoRecognizeJob* autoRecognizeJob; | address to L_OcrAutoRecognizeJob variable to be updated |
const L_OcrAutoRecognizeJobData* jobData; | the job data |
Creates a new job.
Parameter | Description |
---|---|
autoRecognizeManager | Handle to the OCR engine auto recognize manager. |
autoRecognizeJob | 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. |
jobData | The job data. |
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
LTOCR For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
For an example, refer to L_OcrAutoRecognizeManager_RunJobAsync.