|L_OcrPage page;||handle to the OCR page|
|L_OcrPage* targetPage;||newly created page|
Creates a copy of the page.
|page||Handle to the OCR page.|
|targetPage||Pointer to a handle of the newly created page.|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
This function performs the followings:
1. Creates a new OCR page with a copy of the image in the source page.
2. Copies any zones found in the source page to the newly created page.
3. Copies any recognized results to the newly created page.
The target page will have no link whatsoever to the source page and must be disposed when no longer used.
If the source page does not have area of interest, the target will be an exact copy of the page.
If the source page contain area of interest previously set through L_OcrPage_SetAreaOptions, then, only the rectangle specified in L_OcrPageAreaOptions.Area is obtained. The target page will have dimension equal to Area and only the zones and recognized characters that are included in the area are copied.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
|Functions:||L_OcrPage_Destroy, L_OcrPage_FromBitmap, L_OcrPage_GetBitmap, L_OcrPage_SetBitmap, L_OcrPage_GetOverlayBitmap, L_OcrPage_SetOverlayBitmap, L_OcrPage_SetBitmapChangedCallback, L_OcrPage_IsInverted, L_OcrPage_GetRotateAngle, L_OcrPage_GetDeskewAngle, L_OcrPage_AutoPreprocess, L_OcrPage_AutoZone, L_OcrPage_GetZoneCount, L_OcrPage_InsertZone, L_OcrPage_IndexOfZone, L_OcrPage_GetZoneAt, L_OcrPage_SetZoneAt, L_OcrPage_RemoveZone, L_OcrPage_RemoveZoneAt, L_OcrPage_ClearZones, L_OcrPage_GetZoneCells, L_OcrPage_SetZoneCells, L_OcrPage_HitTestZone, L_OcrPage_IsRecognized, L_OcrPage_Recognize, L_OcrPage_Unrecognize, L_OcrPage_GetRecognizeStatistics, L_OcrPage_SetRecognizedCharacters, L_OcrPage_GetRecognizedCharacters, L_OcrPage_FreePageCharacters, L_OcrPage_GetZoneWords, L_OcrPage_FreeWords, L_OcrPage_GetText, L_OcrPage_ExtractZoneMICRData, L_OcrPage_DetectLanguages, L_OcrPage_LoadZonesFile, L_OcrPage_SaveZonesFile, L_OcrPage_SaveXml, L_OcrPage_GetAutoPreprocessValues|
|Topics:||Programming with LEADTOOLS OCR Module - LEAD Engine|
|Recognizing OCR Pages|
|Working With OCR Pages|