|
|
|
|
|
- Properties specific to ocrTextBlock variables
ocrTextBlock (Variable type) 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. You can define and change the characteristics of this text block using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. MonOCRBlocTexte is ocrTextBlock
tabBlocsTexte is array of ocrTextBlock
tabBlocsTexte = OCRExtractTextBlock(MonImage)
Trace("Fin de l'extraction des blocs")
FOR i = 1 _TO_ tabBlocsTexte.Count
MonOCRBlocTexte = tabBlocsTexte[i]
let sChaîne = MonOCRBlocTexte.Text
let nIndice = MonOCRBlocTexte.ConfidenceLevel
Trace(sChaîne)
Trace("Indice de confiance : " + nIndice)
Trace("----------------------------------------")
END
Properties Properties specific to 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. Note: For OCR, the polygon must be a 4-point polygon. | Text | Character string | Text contained in the polygon. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|