ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / OCR functions
  • Properties specific to ocrOption variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The ocrOption type is used to define all the general options of the native OCR (Optical Character Recognition) system. You can define and change the characteristics of these options 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.
Example
// Création des options
MesOCROptions is ocrOption

// Ne souhaite que les nombres lors de la lecture d'une image
MesOCROptions.OnlyDigit = True

OCRConfigure(MesOCROptions)
Properties

Properties specific to ocrOption variables

The following properties can be used to handle the advanced options of the native OCR system:
Property nameType usedEffect
AccuracyInteger constant
iPhone/iPad Accuracy mode to use:
  • ocrPrecise: Precise reading is a priority.
  • ocrRapid: Speed of reading is the priority.
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.
WithSpellingCheckerBoolean
  • True (default) 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: 03/27/2025

Send a report | Local help