L_OcrPage_IsRecognized

Summary

Gets a value that indicates whether this page has been recognized.

Syntax

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_IsRecognized(page, value)

Parameters

L_OcrPage page

Handle to the OCR page.

L_BOOL* value

Address to L_BOOL variable to be updated.

Returns

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

Comments

Gets a value that indicates whether this page has been recognized.

You can recognize a page with the L_OcrPage_Recognize method. The OCR recognition data is collected and stored internally in the page.

Once a page is recognized, you can call the L_OcrPage_GetRecognizedCharacters and L_OcrPage_SetRecognizedCharacters methods to examine and manipulate the recognition data.

You can call the L_OcrPage_Unrecognize method to clear the recognition data stored inside the page. Calling this method after the page is recognized will have the same effect as having a page that never been recognized. The value of L_OcrPage_IsRecognized will be set back to L_FALSE after calling L_OcrPage_Unrecognize.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_OcrPage_Recognize

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.