Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


OCR.SetResolution - OCR.Version

Feedback: Report problem or ask question.