L_OcrWords

Summary

Gets a list of recognized words for particular zone.

Syntax

struct L_OcrWords 
{ 
   L_UINT StructSize; 
   L_OcrWord* Words; 
   L_UINT WordCount; 
}; 
typedef struct L_OcrWords L_OcrWords; 

Members

StructSize

Structure size. It should be equal to sizeof(L_OcrWords).

Words

Array of particular zone words.

WordCount

Number of words in L_OcrWords.Words.

Comments

You can get the recognized words of a zone with the L_OcrPage_GetZoneWords method. This is a helper method that iterate through the L_OcrCharacter array of the zone and constructs the words based on the L_OcrCharacter.Positions flags.

You can modify the OCR recognition results by updating page recognized characters you retrieved via a call to L_OcrPage_GetRecognizedCharacters and after you finish updating page characters you can call L_OcrPage_SetRecognizedCharacters before optionally saving the results to the final output document.

Usage

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