|
|
|
|
- Properties specific to the description of ocrTextBlock variables
ocrTextBlock (Type of variable) In french: ocrBlocTexte
The ocrTextBlock type is used to define and identify all the advanced characteristics of a text block read by the native OCR system. The characteristics of this text block can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. MyOCRTextBlock is ocrTextBlock arrTextBlocks is array of ocrTextBlock arrTextBlocks = OCRExtractTextBlock(MyImage) Trace("Blocks extracted successfully") FOR i = 1 _TO_ arrTextBlocks.Count MyOCRTextBlock = arrTextBlocks[i] let sString = MyOCRTextBlock.Text let nLevel = MyOCRTextBlock.ConfidenceLevel Trace(sString) Trace("Confidence level: " + nLevel) Trace("----------------------------------------") END
Remarks Properties specific to the description of ocrTextBlock variables The following properties can be used to handle a text block read by the native OCR system: | | | Property name | Type used | Effect |
---|
ConfidenceLevel | Integer | Confidence level. | Polygon | Polygon variable | Text outline polygon. Remark: For OCR, the polygon must be a 4-point polygon. | Text | Character string | Text contained in the polygon. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|