L_OcrAutoRecognizeManager_CreateJob

Summary

Creates a new job.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrAutoRecognizeManager_CreateJob (autoRecognizeManager, autoRecognizeJob, jobData)

Parameters

L_OcrAutoRecognizeManager autoRecognizeManager

Handle to the OCR engine auto recognize manager.

L_OcrAutoRecognizeJob* 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.

const L_OcrAutoRecognizeJobData* jobData

The job data.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

See Also

Functions

Topics

Example

For an example, refer to L_OcrAutoRecognizeManager_RunJobAsync

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

LEADTOOLS OCR Module - LEAD Engine C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.