Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

WindowsOCR.New

Creates a new OCR engine.

Component Version macOS Windows Linux Server iOS SDK
WindowsOCR 13.1 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WindowsOCR.New" { ; LanguageTag } )   More

Parameters

Parameter Description Example Flags
LanguageTag The language specification.
Can be language tag, display name or localized name of the language.

If empty, we use the current user’s language as returned by WindowsOCR.CurrentInputMethodLanguageTag function.
"de-DE" Optional

Result

Returns reference number or error.

Description

Creates a new OCR engine.
If LanguageTag is empty, we try to use current language from the current user on Windows.
If the language can be resolved to any of the OCR languages available on the device, we return a reference number for the OCR engine.
Please use WindowsOCR.Release later to free the object.

See also

Example Databases

Blog Entries

This function checks for a license.

Created 22nd January 2023, last changed 31st October 2023


WindowsOCR.MaxImageDimension - WindowsOCR.Recognize