Platforms to show: All Mac Windows Linux Cross-Platform

Back to TessPageIteratorMBS class.

TessPageIteratorMBS.BlockType as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the type of the current block.

(Read only property)

TessPageIteratorMBS.DeskewAngle as Single

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The deskew angle.

After rotating the block so the text orientation is upright, how many radians does one have to rotate the block anti-clockwise for it to be level?
-Pi/4 <= deskew_angle <= Pi/4
(Read only property)

TessPageIteratorMBS.FirstLineIndent as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The first line indent.

For LEFT aligned paragraphs, the first text line of paragraphs of this kind are indented this many pixels from the left edge of the rest of the paragraph.
for RIGHT aligned paragraphs, the first text line of paragraphs of this kind are indented this many pixels from the right edge of the rest of the paragraph.

This value may be negative.

if IsCrown is true, the first line of this paragraph is actually flush, and first_line_indent is set to the "common" first line indent for subsequent paragraphs in this block of text.
(Read only property)

TessPageIteratorMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The internal object reference.

(Read and Write property)

TessPageIteratorMBS.IsCrown as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether the current item is a crown.

True if the first line of the paragraph is aligned with the other lines of the paragraph even though subsequent paragraphs have first line indents. This typically indicates that this is the continuation of a previous paragraph or that it is the very first paragraph in the chapter.
(Read only property)

TessPageIteratorMBS.IsListItem as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Whether current item is a list item.

True if we believe this is a member of an ordered or unordered list.
(Read only property)

TessPageIteratorMBS.Justification as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries justification for current block.

LEFT if ragged right, or fully justified and script is left-to-right.
RIGHT if ragged left, or fully justified and script is right-to-left.
unknown if it looks like source code or we have very few lines.
(Read only property)

TessPageIteratorMBS.Orientation as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The orientation of the current block.

(Read only property)

TessPageIteratorMBS.TextlineOrder as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The text orientation of the current block.

(Read only property)

TessPageIteratorMBS.WritingDirection as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OCR MBS OCR Plugin 21.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The writing direction of the current block.

(Read only property)

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


The biggest plugin in space...