L_OcrPage_IsRecognized

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_IsRecognized(page, value)

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

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

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

LEADTOOLS OCR Module - LEAD Engine C API Help