ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / OCR functions
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
Adds a language to the native OCR system.
Remarks:
  • OCRLoadLanguage is used to add a ".traineddata" model.
  • For iOS, use OCRAddLanguage to add a language.
Example
MyModelName is string = "eng"
OCRLoadLanguage(MyModelName)
Syntax

Adding a language Hide the details

OCRLoadLanguage(<Model file>)
<Model file>: Character string
Short name of the model to be added.
WEBDEV - Server code

Adding multiple languages Hide the details

OCRLoadLanguage(<Array of model files>)
<Array of model files>: Array of character strings
Array containing the short names of the models to be added.
Remarks
Related Examples:
OCR functions Unit examples (WINDEV): OCR functions
[ + ] This example shows how to use OCR functions in WINDEV.
Business / UI classification: Business Logic
Component: wd290ocr.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help