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

OCR.SetVariable

Sets a variable.

Component Version macOS Windows Linux Server iOS SDK
OCR 7.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "OCR.SetVariable"; Name; Value )   More

Parameters

Parameter Description Example
Name The name of the variable. "test"
Value The text value for this variable. "123"

Result

Returns OK or error.

Description

Sets a variable.

Examples

Set variable for white list characters:

MBS( "OCR.SetVariable"; "tessedit_char_whitelist"; "0123456789" )

Set variable for black list characters:

MBS( "OCR.SetVariable"; "tessedit_char_blacklist"; "xyz" )

See also

Release notes

Blog Entries

This function is free to use.

Created 2nd November 2017, last changed 2nd November 2017


OCR.SetResolution - OCR.Version