ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / OCR functions
  • Properties specific to the description of ocrOption variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The ocrOption type is used to define all the general options of the native OCR (Optical Character Recognition) system. The characteristics of these options 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.
Example
// Creation of options
MyOCROptions is ocrOption
 
// Detect only numbers when reading an image
MyOCROptions.OnlyDigit = True
 
OCRConfigure(MyOCROptions)
Remarks

Properties specific to the description of ocrOption variables

The following properties can be used to handle the advanced options of the native OCR system:
Property nameType usedEffect
AccuracyInteger constant
ListWordArray of strings
OnlyDigitBoolean
  • True if the OCR system must return Arabic numerals only,
  • False otherwise.
WithSpellingCheckerBoolean
  • True (default value) to enable the spelling checker,
  • False to disable it.
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help