Platforms to show: All Mac Windows Linux Cross-Platform
Back to TessPageIteratorMBS class.
TessPageIteratorMBS.Baseline(Level as Integer, byref x1 as Integer, byref y1 as Integer, byref x2 as Integer, byref y2 as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The baseline is the line that passes through (x1, y1) and (x2, y2).
Warning: with vertical text, baselines may be vertical!
Returns false if there is no baseline at the current position.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
TessPageIteratorMBS.BinaryImage(Level as Integer) as PIcture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The position and size match the return from BoundingBoxInternal, and so this could be upscaled with respect to the original input image.
TessPageIteratorMBS.BoundingBox(Level as Integer, byref Left as Integer, byref Top as Integer, byref Right as Integer, byref Bottom as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns false if there is no such object at the current position.
The returned bounding box is guaranteed to match the size and position of the image returned by GetBinaryImage, but may clip foreground pixels from a grey image. The padding argument to GetImage can be used to expand the image to include more foreground pixels. See BinaryImage below.
TessPageIteratorMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
TessPageIteratorMBS.CopyIterator as TessPageIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
TessPageIteratorMBS.IsAtBeginningOf(Level as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
TessPageIteratorMBS.IsAtFinalElement(Level as Integer, element as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
TessPageIteratorMBS.MoveNext(Level as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | OCR | MBS OCR Plugin | 21.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
NOTE that symbol will skip non-text blocks, but all other PageIteratorLevel level values will visit each non-text block once. Think of non text blocks as containing a single paragraph, with a single line, with a single imaginary word. Calls to Next with different levels may be freely intermixed. This function iterates words in right-to-left scripts correctly, if the appropriate language has been loaded into Tesseract.
The items on this page are in the following plugins: MBS OCR Plugin.