Gets a value that indicates whether this page has been recognized.
#include "ltocr.h"
L_LTOCR_API L_INT EXT_FUNCTION L_OcrPage_IsRecognized(page, value)
Handle to the OCR page.
Address to L_BOOL variable to be updated.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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.
For an example, refer to L_OcrPage_Recognize