L_OcrPage_IsRecognized

#include "ltocr.h"

L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_IsRecognized(page, value)

L_OcrPage page; handle to the OCR page
L_BOOL* value; address to L_BOOL variable to be updated

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

Parameter Description
page Handle to the OCR page.
value Address to L_BOOL variable to be updated.

Returns

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

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.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Advantage OCR C API Help