Platforms to show: All Mac Windows Linux Cross-Platform
Back to TesseractMBS class.
TesseractMBS.SetRectangle(left as Integer, top as Integer, width as Integer, height as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Call after SetImage. Each SetRectangle clears the recogntion results so multiple rectangles can be recognized with the same image.
TesseractMBS.SetResolution(Resolution as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 15.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Call this after SetImage.
TesseractMBS.SetVariable(name as string, value as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Supply the name of the parameter and the value as a string, just as you would in a config file.
Returns false if the name lookup failed.
E.g. SetVariable("tessedit_char_blacklist", "xyz"); to ignore x, y and z.
Or SetVariable("classify_bln_numeric_mode", "1"); to set numeric-only mode.
SetVariable may be used before Init, but settings will revert to defaults on End().
Note: Must be called after Init(). Only works for non-init variables (init variables should be passed to Init()).
The items on this page are in the following plugins: MBS OCR Plugin.