PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV, WEBDEV and WINDEV Mobile 26 feature!
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 modified using different WLanguage properties.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
// Creation of options
MyOCROptions is ocrOption
 
// Detect only numbers when reading an image
MyOCROptions.OnlyDigit = True
 
OCRParameter(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
WithSpellingCheckerBoolean
  • True (default value) to enable the spelling checker,
  • False to disable it.
ListWordArray of strings
iPhone/iPad List of words to add to the model.
OnlyDigitBoolean
  • True if the OCR system must return Arabic numerals only,
  • False otherwise.
iPhone/iPad This property is not available.
AccuracyInteger constant
iPhone/iPad Accuracy mode to use:
  • ocrAccurate: Reading accuracy is preferred.
  • ocrFast: Reading speed is preferred.
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment