Module Output¶
各モジュールの出力について説明します。
Document Analyzer¶
Document Analyzer モジュールは以下の変数を tuple で出力します。
| 変数名 | 型 | 説明 |
|---|---|---|
| results | DocumentAnalyzerSchema |
モジュールの出力結果 |
| ocr_vis | np.ndarray | None |
AI-OCR の出力可視化画像(visualize=True の時のみ) |
| layout_vis | np.ndarray | None |
Layout Analyzer の出力可視化画像(visualize=True の時のみ) |
results 変数の準拠するスキーマ DocumentAnalyzerSchema の仕様は以下の通りです。
DocumentAnalyzerSchema
No Additional Propsobject
#
DocumentAnalyzerSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
preprocess
Preprocessing information of the document
RequiredanyOf
#
preprocess
Preprocessing information of the document
RequiredanyOf
Preprocessing information of the document
paragraphs
List of detected paragraphs
Requiredarray
#
paragraphs
List of detected paragraphs
Requiredarray
List of detected paragraphs
Nested fields
ParagraphSchema
No Additional Propsobject
#
ParagraphSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the paragraph in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the paragraph in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the paragraph in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
direction
Text direction, e.g., ['horizontal' or 'vertical']
RequiredanyOf
#
direction
Text direction, e.g., ['horizontal' or 'vertical']
RequiredanyOf
Text direction, e.g., ['horizontal' or 'vertical']
role
Role of the paragraph, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index',])
RequiredanyOf
#
role
Role of the paragraph, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index',])
RequiredanyOf
Role of the paragraph, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index',])
indent_level
Indentation level of the list_item
anyOf
#
indent_level
Indentation level of the list_item
anyOf
Indentation level of the list_item
Constraints
- Default:
None
tables
List of detected tables
Requiredarray
#
tables
List of detected tables
Requiredarray
List of detected tables
Nested fields
TableStructureRecognizerSchema
No Additional Propsobject
#
TableStructureRecognizerSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
rows
List of table lines representing rows
Requiredarray
#
rows
List of table lines representing rows
Requiredarray
List of table lines representing rows
Nested fields
TableLineSchema
No Additional Propsobject
#
TableLineSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table line in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the table line detection
Requirednumber
#
score
Confidence score of the table line detection
Requirednumber
Confidence score of the table line detection
cols
List of table lines representing columns
Requiredarray
#
cols
List of table lines representing columns
Requiredarray
List of table lines representing columns
Nested fields
TableLineSchema
No Additional Propsobject
#
TableLineSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table line in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the table line detection
Requirednumber
#
score
Confidence score of the table line detection
Requirednumber
Confidence score of the table line detection
spans
List of table lines representing spans
Requiredarray
#
spans
List of table lines representing spans
Requiredarray
List of table lines representing spans
Nested fields
TableLineSchema
No Additional Propsobject
#
TableLineSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table line in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the table line detection
Requirednumber
#
score
Confidence score of the table line detection
Requirednumber
Confidence score of the table line detection
cells
List of table cells
Requiredarray
#
cells
List of table cells
Requiredarray
List of table cells
Nested fields
TableCellSchema
No Additional Propsobject
#
TableCellSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
col_span
Number of columns spanned by the cell
Requiredinteger
#
col_span
Number of columns spanned by the cell
Requiredinteger
DocumentAnalyzerSchema › tables › TableStructureRecognizerSchema › cells › TableCellSchema › col_span
Number of columns spanned by the cell
row_span
Number of rows spanned by the cell
Requiredinteger
#
row_span
Number of rows spanned by the cell
Requiredinteger
DocumentAnalyzerSchema › tables › TableStructureRecognizerSchema › cells › TableCellSchema › row_span
Number of rows spanned by the cell
box
Bounding box of the cell in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the cell in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the cell in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
contents
Text content of the cell
RequiredanyOf
#
contents
Text content of the cell
RequiredanyOf
DocumentAnalyzerSchema › tables › TableStructureRecognizerSchema › cells › TableCellSchema › contents
Text content of the cell
words
List of recognized words
Requiredarray
#
words
List of recognized words
Requiredarray
List of recognized words
Nested fields
WordPrediction
No Additional Propsobject
#
WordPrediction
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
points
Bounding box of the word in the format [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]
Requiredarray
#
points
Bounding box of the word in the format [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]
Requiredarray
direction
Text direction, e.g., 'horizontal' or 'vertical'
Requiredstring
#
direction
Text direction, e.g., 'horizontal' or 'vertical'
Requiredstring
Text direction, e.g., 'horizontal' or 'vertical'
rec_score
Confidence score of the word recognition
Requirednumber
#
rec_score
Confidence score of the word recognition
Requirednumber
Confidence score of the word recognition
det_score
Confidence score of the word detection
Requirednumber
#
det_score
Confidence score of the word detection
Requirednumber
Confidence score of the word detection
figures
List of detected figures
Requiredarray
#
figures
List of detected figures
Requiredarray
List of detected figures
Nested fields
FigureSchema
No Additional Propsobject
#
FigureSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the figure in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the figure in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the figure in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
paragraphs
List of paragraphs associated with the figure
Requiredarray
#
paragraphs
List of paragraphs associated with the figure
Requiredarray
List of paragraphs associated with the figure
Nested fields
ParagraphSchema
No Additional Propsobject
#
ParagraphSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the paragraph in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the paragraph in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the paragraph in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
direction
Text direction, e.g., ['horizontal' or 'vertical']
RequiredanyOf
#
direction
Text direction, e.g., ['horizontal' or 'vertical']
RequiredanyOf
Text direction, e.g., ['horizontal' or 'vertical']
role
Role of the paragraph, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index',])
RequiredanyOf
#
role
Role of the paragraph, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index',])
RequiredanyOf
Role of the paragraph, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index',])
indent_level
Indentation level of the list_item
anyOf
#
indent_level
Indentation level of the list_item
anyOf
Indentation level of the list_item
Constraints
- Default:
None
role
Role of the figure, e.g., ['picture', 'logo', 'code', 'seal']
RequiredanyOf
#
role
Role of the figure, e.g., ['picture', 'logo', 'code', 'seal']
RequiredanyOf
Role of the figure, e.g., ['picture', 'logo', 'code', 'seal']
direction
Text direction, e.g., ['horizontal' or 'vertical']
RequiredanyOf
#
direction
Text direction, e.g., ['horizontal' or 'vertical']
RequiredanyOf
Text direction, e.g., ['horizontal' or 'vertical']
decode
Decoded contents of the code, if applicable
anyOf
#
decode
Decoded contents of the code, if applicable
anyOf
Decoded contents of the code, if applicable
Constraints
- Default:
None
AI-OCR¶
AI-OCR モジュールは以下の変数を tuple で出力します。
| 変数名 | 型 | 説明 |
|---|---|---|
| results | OCRSchema |
モジュールの出力結果 |
| ocr_vis | np.ndarray | None |
AI-OCR の出力可視化画像(visualize=Trueの時のみ) |
results 変数の準拠するスキーマ OCRSchema の仕様は以下の通りです。
OCRSchema
No Additional Propsobject
#
OCRSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
words
List of recognized words with their bounding boxes, content, direction, and scores
Requiredarray
#
words
List of recognized words with their bounding boxes, content, direction, and scores
Requiredarray
List of recognized words with their bounding boxes, content, direction, and scores
Nested fields
WordPrediction
No Additional Propsobject
#
WordPrediction
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
points
Bounding box of the word in the format [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]
Requiredarray
#
points
Bounding box of the word in the format [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]
Requiredarray
Bounding box of the word in the format [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]
Constraints
- Minimum items:
4 - Maximum items:
4
direction
Text direction, e.g., 'horizontal' or 'vertical'
Requiredstring
#
direction
Text direction, e.g., 'horizontal' or 'vertical'
Requiredstring
Text direction, e.g., 'horizontal' or 'vertical'
rec_score
Confidence score of the word recognition
Requirednumber
#
rec_score
Confidence score of the word recognition
Requirednumber
Confidence score of the word recognition
det_score
Confidence score of the word detection
Requirednumber
#
det_score
Confidence score of the word detection
Requirednumber
Confidence score of the word detection
Layout Analyzer¶
Layout Analyzer モジュールは以下の変数を tuple で出力します。
| 変数名 | 型 | 説明 |
|---|---|---|
| results | LayoutAnalyzerSchema |
モジュールの出力結果 |
| layout_vis | np.ndarray | None |
Layout Analyzer の出力可視化画像(visualize=Trueの時のみ) |
results 変数の準拠するスキーマ LayoutAnalyzerSchema の仕様は以下の通りです。
LayoutAnalyzerSchema
No Additional Propsobject
#
LayoutAnalyzerSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
paragraphs
List of detected paragraphs
Requiredarray
#
paragraphs
List of detected paragraphs
Requiredarray
List of detected paragraphs
Nested fields
Element
No Additional Propsobject
#
Element
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the layout element in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the layout element in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the layout element in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the layout element detection
Requirednumber
#
score
Confidence score of the layout element detection
Requirednumber
Confidence score of the layout element detection
role
Role of the element, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index']
RequiredanyOf
#
role
Role of the element, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index']
RequiredanyOf
Role of the element, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index']
tables
List of detected tables
Requiredarray
#
tables
List of detected tables
Requiredarray
List of detected tables
Nested fields
TableStructureRecognizerSchema
No Additional Propsobject
#
TableStructureRecognizerSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
rows
List of table lines representing rows
Requiredarray
#
rows
List of table lines representing rows
Requiredarray
List of table lines representing rows
Nested fields
TableLineSchema
No Additional Propsobject
#
TableLineSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table line in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the table line detection
Requirednumber
#
score
Confidence score of the table line detection
Requirednumber
Confidence score of the table line detection
cols
List of table lines representing columns
Requiredarray
#
cols
List of table lines representing columns
Requiredarray
List of table lines representing columns
Nested fields
TableLineSchema
No Additional Propsobject
#
TableLineSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table line in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the table line detection
Requirednumber
#
score
Confidence score of the table line detection
Requirednumber
Confidence score of the table line detection
spans
List of table lines representing spans
Requiredarray
#
spans
List of table lines representing spans
Requiredarray
List of table lines representing spans
Nested fields
TableLineSchema
No Additional Propsobject
#
TableLineSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table line in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table line in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the table line detection
Requirednumber
#
score
Confidence score of the table line detection
Requirednumber
Confidence score of the table line detection
cells
List of table cells
Requiredarray
#
cells
List of table cells
Requiredarray
List of table cells
Nested fields
TableCellSchema
No Additional Propsobject
#
TableCellSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
col_span
Number of columns spanned by the cell
Requiredinteger
#
col_span
Number of columns spanned by the cell
Requiredinteger
Number of columns spanned by the cell
box
Bounding box of the cell in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the cell in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the cell in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
figures
List of detected figures
Requiredarray
#
figures
List of detected figures
Requiredarray
List of detected figures
Nested fields
Element
No Additional Propsobject
#
Element
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
id
Unique identifier of the layout element
RequiredanyOf
#
id
Unique identifier of the layout element
RequiredanyOf
box
Bounding box of the layout element in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the layout element in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the layout element in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the layout element detection
Requirednumber
#
score
Confidence score of the layout element detection
Requirednumber
Confidence score of the layout element detection
role
Role of the element, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index']
RequiredanyOf
#
role
Role of the element, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index']
RequiredanyOf
Table Semantic Parser¶
Table Semantic Parser モジュールは以下の変数を tuple で出力します。
| 変数名 | 型 | 説明 |
|---|---|---|
| results | TableSemanticParserSchema |
モジュールの出力結果 |
| vis_layout | np.ndarray | None |
TableSemanticParser の出力可視化画像(visualize=True の時のみ) |
| vis_ocr | np.ndarray | None |
AI-OCR の出力可視化画像(visualize=True の時のみ) |
results 変数の準拠するスキーマ TableSemanticParserSchema の仕様は以下の通りです。
TableSemanticParserSchema
No Additional Propsobject
#
TableSemanticParserSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
tables
List of tables with semantic information
Requiredarray
#
tables
List of tables with semantic information
Requiredarray
List of tables with semantic information
Nested fields
TableSemanticContentsSchema
No Additional Propsobject
#
TableSemanticContentsSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
style
Border style of the table, e.g., ['border', 'borderless']
Requiredstring
#
style
Border style of the table, e.g., ['border', 'borderless']
Requiredstring
Border style of the table, e.g., ['border', 'borderless']
box
Bounding box [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box [x1, y1, x2, y2]
Requiredarray
Bounding box [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
cells
Cells keyed by cell_id
Requiredobject
#
cells
Cells keyed by cell_id
Requiredobject
Cells keyed by cell_id
Constraints
- Additional properties must match the nested schema
Nested fields
Additional property
No Additional Propsobject
#
Additional property
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
role
Role of the cell, e.g., ['cell', 'header', 'empty', 'group']
RequiredanyOf
#
role
Role of the cell, e.g., ['cell', 'header', 'empty', 'group']
RequiredanyOf
Role of the cell, e.g., ['cell', 'header', 'empty', 'group']
box
Bounding box of the cell in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the cell in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the cell in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
col_span
Number of columns spanned by the cell
RequiredanyOf
#
col_span
Number of columns spanned by the cell
RequiredanyOf
Number of columns spanned by the cell
kv_items
Key-value items extracted from the table
Requiredarray
#
kv_items
Key-value items extracted from the table
Requiredarray
Key-value items extracted from the table
Nested fields
KvItemSchema
No Additional Propsobject
#
KvItemSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the key-value item in the format [x1, y1, x2, y2]
anyOf
#
box
Bounding box of the key-value item in the format [x1, y1, x2, y2]
anyOf
Bounding box of the key-value item in the format [x1, y1, x2, y2]
Constraints
- Default:
None
grids
Grid representation of the table
Requiredarray
#
grids
Grid representation of the table
Requiredarray
Grid representation of the table
Nested fields
TableGridSchema
No Additional Propsobject
#
TableGridSchema
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the table grid in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the table grid in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the table grid in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
col_headers
2D array representing the column header cell ids
Requiredarray
#
col_headers
2D array representing the column header cell ids
Requiredarray
TableSemanticParserSchema › tables › TableSemanticContentsSchema › grids › TableGridSchema › col_headers
2D array representing the column header cell ids
Nested fields
ArrayItem
array
#
ArrayItem
array
TableSemanticParserSchema › tables › TableSemanticContentsSchema › grids › TableGridSchema › col_headers › ArrayItem
Nested fields
Item
string
data
2D array representing the table grid data with cell ids
Requiredarray
#
data
2D array representing the table grid data with cell ids
Requiredarray
2D array representing the table grid data with cell ids
Nested fields
ArrayItem
array
#
ArrayItem
array
TableSemanticParserSchema › tables › TableSemanticContentsSchema › grids › TableGridSchema › data › ArrayItem
Nested fields
Item
anyOf
paragraphs
List of recognized paragraphs in the document
Requiredarray
#
paragraphs
List of recognized paragraphs in the document
Requiredarray
List of recognized paragraphs in the document
Nested fields
Element
No Additional Propsobject
#
Element
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
box
Bounding box of the layout element in the format [x1, y1, x2, y2]
Requiredarray
#
box
Bounding box of the layout element in the format [x1, y1, x2, y2]
Requiredarray
Bounding box of the layout element in the format [x1, y1, x2, y2]
Constraints
- Minimum items:
4 - Maximum items:
4
Nested fields
Item
integer
score
Confidence score of the layout element detection
Requirednumber
#
score
Confidence score of the layout element detection
Requirednumber
Confidence score of the layout element detection
role
Role of the element, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index']
RequiredanyOf
#
role
Role of the element, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index']
RequiredanyOf
Role of the element, e.g., ['section_headings', 'page_header', 'page_footer', 'list_item', 'caption', 'inline_formula', 'display_formula', 'index']
words
List of recognized words in the document
Requiredarray
#
words
List of recognized words in the document
Requiredarray
List of recognized words in the document
Nested fields
WordPrediction
No Additional Propsobject
#
WordPrediction
No Additional Propsobject
Constraints
- Additional properties are not allowed
Nested fields
points
Bounding box of the word in the format [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]
Requiredarray
#
points
Bounding box of the word in the format [[x1, y1], [x2, y2], [x3, y3], [x4, y4]]
Requiredarray
direction
Text direction, e.g., 'horizontal' or 'vertical'
Requiredstring
#
direction
Text direction, e.g., 'horizontal' or 'vertical'
Requiredstring
Text direction, e.g., 'horizontal' or 'vertical'
rec_score
Confidence score of the word recognition
Requirednumber
#
rec_score
Confidence score of the word recognition
Requirednumber
Confidence score of the word recognition
det_score
Confidence score of the word detection
Requirednumber
#
det_score
Confidence score of the word detection
Requirednumber
Confidence score of the word detection
Auto-generated from JSON Schema files.