Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

TesseractMBS.SetRectangle(left as Integer, top as Integer, width as Integer, height as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method OCR MBS Images Plugin 12.3 Yes Yes Yes Yes No
Function: Restrict recognition to a sub-rectangle of the image.
Notes: Call after SetImage. Each SetRectangle clears the recogntion results so multiple rectangles can be recognized with the same image.

Feedback, Comments & Corrections

TesseractMBS.SetResolution(Resolution as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method OCR MBS Images Plugin 15.1 Yes Yes Yes Yes No
Function: Set the resolution of the source image in pixels per inch so font size information can be calculated in results.
Notes: Call this after SetImage.

Feedback, Comments & Corrections

TesseractMBS.SetVariable(name as string, value as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method OCR MBS Images Plugin 12.3 Yes Yes Yes Yes No
Function: Set the value of an internal "parameter."
Notes:
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()).

Feedback, Comments & Corrections

Previous items

The items on this page are in the following plugins: MBS Images Plugin.




Links
MBS Xojo Chart Plugins