MBS Xojo Developer Conference and Training
Join us from 11th to 14th September 2013 in Koblenz.
Join us from 11th to 14th September 2013 in Koblenz.
Platforms to show: All Mac Windows Linux Cross-Platform
TesseractMBS.Clear
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Free up recognition results and any stored image data, without actually freeing any recognition data that would be time-consuming to reload.
Notes: Afterwards, you must call SetImage or TesseractRect before doing any Recognize or Get* operation.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Free up recognition results and any stored image data, without actually freeing any recognition data that would be time-consuming to reload.
Notes: Afterwards, you must call SetImage or TesseractRect before doing any Recognize or Get* operation.
TesseractMBS.ClearAdaptiveClassifier
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Call between pages or documents etc to free up memory and forget adaptive data.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Call between pages or documents etc to free up memory and forget adaptive data.
TesseractMBS.Constructor
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Constructor which calls only InitForAnalysePage.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Constructor which calls only InitForAnalysePage.
See also:
TesseractMBS.Constructor(folder as folderitem, lang as string)
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Initializes tesseract.
Notes:
Same as Init method.
Pass folderitem to parent folder of tessdata folder and language you need.
Instances are now mostly thread-safe and totally independent, but some global parameters remain. Basically it is safe to use multiple TessBaseAPIs in different threads in parallel, UNLESS: you use SetVariable on some of the Params in classify and textord. If you do, then the effect will be to change it for all your instances.
Note that the only members that may be called before Init are: SetInputName, SetOutputName, SetVariable, Get*Variable and PrintVariables.
The language is (usually) an ISO 639-3 string or "" will default to eng.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Initializes tesseract.
Notes:
Same as Init method.
Pass folderitem to parent folder of tessdata folder and language you need.
Instances are now mostly thread-safe and totally independent, but some global parameters remain. Basically it is safe to use multiple TessBaseAPIs in different threads in parallel, UNLESS: you use SetVariable on some of the Params in classify and textord. If you do, then the effect will be to change it for all your instances.
Note that the only members that may be called before Init are: SetInputName, SetOutputName, SetVariable, Get*Variable and PrintVariables.
The language is (usually) an ISO 639-3 string or "" will default to eng.
See also:
TesseractMBS.Constructor(path as string, lang as string)
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Initializes tesseract.
Notes:
Same as Init method.
Pass path to parent folder of tessdata folder and language you need.
Instances are now mostly thread-safe and totally independent, but some global parameters remain. Basically it is safe to use multiple TessBaseAPIs in different threads in parallel, UNLESS: you use SetVariable on some of the Params in classify and textord. If you do, then the effect will be to change it for all your instances.
Note that the only members that may be called before Init are: SetInputName, SetOutputName, SetVariable, Get*Variable and PrintVariables.
The language is (usually) an ISO 639-3 string or "" will default to eng.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Initializes tesseract.
Notes:
Same as Init method.
Pass path to parent folder of tessdata folder and language you need.
Instances are now mostly thread-safe and totally independent, but some global parameters remain. Basically it is safe to use multiple TessBaseAPIs in different threads in parallel, UNLESS: you use SetVariable on some of the Params in classify and textord. If you do, then the effect will be to change it for all your instances.
Note that the only members that may be called before Init are: SetInputName, SetOutputName, SetVariable, Get*Variable and PrintVariables.
The language is (usually) an ISO 639-3 string or "" will default to eng.
See also:
TesseractMBS.GetBoolVariable(name as string, byref value as boolean) as boolean
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Queries a variable as boolean value.
Notes:
Returns true if the parameter was found among Tesseract parameters.
Fills in value with the value of the parameter.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Queries a variable as boolean value.
Notes:
Returns true if the parameter was found among Tesseract parameters.
Fills in value with the value of the parameter.
TesseractMBS.GetBoxText(page as integer) as string
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: The recognized text is returned as a char* which is coded in the same format as a box file used in training.
Notes: Constructs coordinates in the original image - not just the rectangle. page is a 0-based page index that will appear in the box file.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: The recognized text is returned as a char* which is coded in the same format as a box file used in training.
Notes: Constructs coordinates in the original image - not just the rectangle. page is a 0-based page index that will appear in the box file.
TesseractMBS.GetDoubleVariable(name as string, byref value as double) as boolean
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Queries a variable as double value.
Notes:
Returns true if the parameter was found among Tesseract parameters.
Fills in value with the value of the parameter.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Queries a variable as double value.
Notes:
Returns true if the parameter was found among Tesseract parameters.
Fills in value with the value of the parameter.
TesseractMBS.GetHOCRText(page as integer) as string
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Make a HTML-formatted string with hOCR markup from the internal data structures.
Notes: Page is 0-based but will appear in the output as 1-based.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Make a HTML-formatted string with hOCR markup from the internal data structures.
Notes: Page is 0-based but will appear in the output as 1-based.
TesseractMBS.GetIntVariable(name as string, byref value as integer) as boolean
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Queries a variable as integer value.
Notes:
Returns true if the parameter was found among Tesseract parameters.
Fills in value with the value of the parameter.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Queries a variable as integer value.
Notes:
Returns true if the parameter was found among Tesseract parameters.
Fills in value with the value of the parameter.
TesseractMBS.GetLastInitLanguage as string
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Return the language used in the last valid initialization.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Return the language used in the last valid initialization.
TesseractMBS.GetStringVariable(name as string) as string
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Queries variable's value as string.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Queries variable's value as string.
TesseractMBS.GetText as string
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Returns recognized text.
Notes: Calls Recognize if needed internally.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Returns recognized text.
Notes: Calls Recognize if needed internally.
TesseractMBS.GetVariableAsString(name as string) as string
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Get value of named variable as a string, if it exists.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Get value of named variable as a string, if it exists.
TesseractMBS.Init(folder as folderitem, lang as string)
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Initializes tesseract.
Notes:
Pass folderitem to parent folder of tessdata folder and language you need.
Instances are now mostly thread-safe and totally independent, but some global parameters remain. Basically it is safe to use multiple TessBaseAPIs in different threads in parallel, UNLESS: you use SetVariable on some of the Params in classify and textord. If you do, then the effect will be to change it for all your instances.
Start tesseract. Returns zero on success and -1 on failure.
Note that the only members that may be called before Init are: SetInputName, SetOutputName, SetVariable, Get*Variable and PrintVariables.
The language is (usually) an ISO 639-3 string or "" will default to eng.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Initializes tesseract.
Notes:
Pass folderitem to parent folder of tessdata folder and language you need.
Instances are now mostly thread-safe and totally independent, but some global parameters remain. Basically it is safe to use multiple TessBaseAPIs in different threads in parallel, UNLESS: you use SetVariable on some of the Params in classify and textord. If you do, then the effect will be to change it for all your instances.
Start tesseract. Returns zero on success and -1 on failure.
Note that the only members that may be called before Init are: SetInputName, SetOutputName, SetVariable, Get*Variable and PrintVariables.
The language is (usually) an ISO 639-3 string or "" will default to eng.
See also:
TesseractMBS.Init(path as string, lang as string)
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Initializes tesseract.
Notes:
Pass path to parent folder of tessdata folder and language you need.
Instances are now mostly thread-safe and totally independent, but some global parameters remain. Basically it is safe to use multiple TessBaseAPIs in different threads in parallel, UNLESS: you use SetVariable on some of the Params in classify and textord. If you do, then the effect will be to change it for all your instances.
Start tesseract. Returns zero on success and -1 on failure.
Note that the only members that may be called before Init are: SetInputName, SetOutputName, SetVariable, Get*Variable and PrintVariables.
The language is (usually) an ISO 639-3 string or "" will default to eng.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Initializes tesseract.
Notes:
Pass path to parent folder of tessdata folder and language you need.
Instances are now mostly thread-safe and totally independent, but some global parameters remain. Basically it is safe to use multiple TessBaseAPIs in different threads in parallel, UNLESS: you use SetVariable on some of the Params in classify and textord. If you do, then the effect will be to change it for all your instances.
Start tesseract. Returns zero on success and -1 on failure.
Note that the only members that may be called before Init are: SetInputName, SetOutputName, SetVariable, Get*Variable and PrintVariables.
The language is (usually) an ISO 639-3 string or "" will default to eng.
See also:
TesseractMBS.InitForAnalysePage
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Init only for page layout analysis.
Notes: Use only for calls to SetImage and AnalysePage. Calls that attempt recognition will generate an error.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Init only for page layout analysis.
Notes: Use only for calls to SetImage and AnalysePage. Calls that attempt recognition will generate an error.
TesseractMBS.MeanTextConf as integer
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Returns the (average) confidence value between 0 and 100.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Returns the (average) confidence value between 0 and 100.
TesseractMBS.NumDawgs as integer
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Return the number of dawgs loaded.
Notes: Should be bigger than 0 if data files have been loaded.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Return the number of dawgs loaded.
Notes: Should be bigger than 0 if data files have been loaded.
TesseractMBS.PageSegMode as integer
property, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: The current page segmentation mode.
Notes:
Defaults to kPageSegModeSingleBlock.
The mode is stored as an IntParam so it can also be modified by ReadConfigFile or SetVariable("tessedit_pageseg_mode", mode as string).
(Read and Write computed property)
property, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: The current page segmentation mode.
Notes:
Defaults to kPageSegModeSingleBlock.
The mode is stored as an IntParam so it can also be modified by ReadConfigFile or SetVariable("tessedit_pageseg_mode", mode as string).
(Read and Write computed property)
TesseractMBS.PrintVariablesToStdErr
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Print Tesseract parameters to standard error.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Print Tesseract parameters to standard error.
TesseractMBS.PrintVariablesToStdOut
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Print Tesseract parameters to standard output.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Print Tesseract parameters to standard output.
TesseractMBS.Recognize as integer
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Recognize the image.
Notes:
Returns 0 on success.
Optional. The Get*Text functions below will call Recognize if needed. After Recognize, the output is kept internally until the next SetImage.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Recognize the image.
Notes:
Returns 0 on success.
Optional. The Get*Text functions below will call Recognize if needed. After Recognize, the output is kept internally until the next SetImage.
TesseractMBS.ResultIterator as TesseractResultIteratorMBS
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Get an iterator to the results of LayoutAnalysis and/or Recognize.
Notes: This object points to data held within the TesseractMBS class, and therefore can only be used while the TesseractMBS class still exists and has not been subjected to a call of Init, SetImage, Recognize, Clear, End, DetectOS, or anything else that changes the internal PAGE_RES.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Get an iterator to the results of LayoutAnalysis and/or Recognize.
Notes: This object points to data held within the TesseractMBS class, and therefore can only be used while the TesseractMBS class still exists and has not been subjected to a call of Init, SetImage, Recognize, Clear, End, DetectOS, or anything else that changes the internal PAGE_RES.
TesseractMBS.SetImage(buffer as memoryblock, width as integer, height as integer, BytesPerPixel as integer, BytesPerLine as Integer) as boolean
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Provide an image for Tesseract to recognize as a memoryblock.
Notes: Returns true on success and false on failure.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Provide an image for Tesseract to recognize as a memoryblock.
Notes: Returns true on success and false on failure.
See also:
TesseractMBS.SetImage(Pic as Picture) as boolean
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: No, Feedback.
Function: Provide an image for Tesseract to recognize.
Notes:
The plugin makes a copy of the picture.
Returns true on success and false on failure.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: No, Feedback.
Function: Provide an image for Tesseract to recognize.
Notes:
The plugin makes a copy of the picture.
Returns true on success and false on failure.
See also:
TesseractMBS.SetInputName(name as string)
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Set the name of the input file. Needed only for training and reading a UNLV zone file.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Set the name of the input file. Needed only for training and reading a UNLV zone file.
TesseractMBS.SetOutputName(name as string)
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Set the name of the bonus output files. Needed only for debugging.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Set the name of the bonus output files. Needed only for debugging.
TesseractMBS.SetRectangle(left as integer, top as integer, width as integer, height as integer)
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
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.
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
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.
TesseractMBS.SetVariable(name as string, value as string) as boolean
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
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()).
method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
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()).
TesseractMBS.Version as string
shared method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Returns the version identifier.
shared method, OCR, MBS Real Studio OCR Plugin (tesseract3), class TesseractMBS,
Plugin version: 12.3, Mac: Yes, Win: Yes, Linux: Yes, Console & Web: Yes, Feedback.
Function: Returns the version identifier.
The items on this page are in the following plugins: MBS Real Studio OCR Plugin.
Links
MBS Xojo Plugins