Table¶
-
class
oci.ai_document.models.Table(**kwargs)¶ Bases:
objectThe table extracted from a document.
Methods
__init__(**kwargs)Initializes a new Table object with values from keyword arguments. Attributes
body_rows[Required] Gets the body_rows of this Table. bounding_polygon[Required] Gets the bounding_polygon of this Table. column_count[Required] Gets the column_count of this Table. confidence[Required] Gets the confidence of this Table. footer_rows[Required] Gets the footer_rows of this Table. header_rows[Required] Gets the header_rows of this Table. row_count[Required] Gets the row_count of this Table. -
__init__(**kwargs)¶ Initializes a new Table object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - row_count (int) – The value to assign to the row_count property of this Table.
- column_count (int) – The value to assign to the column_count property of this Table.
- header_rows (list[oci.ai_document.models.TableRow]) – The value to assign to the header_rows property of this Table.
- body_rows (list[oci.ai_document.models.TableRow]) – The value to assign to the body_rows property of this Table.
- footer_rows (list[oci.ai_document.models.TableRow]) – The value to assign to the footer_rows property of this Table.
- confidence (float) – The value to assign to the confidence property of this Table.
- bounding_polygon (oci.ai_document.models.BoundingPolygon) – The value to assign to the bounding_polygon property of this Table.
-
body_rows¶ [Required] Gets the body_rows of this Table. The body rows.
Returns: The body_rows of this Table. Return type: list[oci.ai_document.models.TableRow]
-
bounding_polygon¶ [Required] Gets the bounding_polygon of this Table.
Returns: The bounding_polygon of this Table. Return type: oci.ai_document.models.BoundingPolygon
-
column_count¶ [Required] Gets the column_count of this Table. The number of columns.
Returns: The column_count of this Table. Return type: int
-
confidence¶ [Required] Gets the confidence of this Table. The confidence score between 0 and 1.
Returns: The confidence of this Table. Return type: float
[Required] Gets the footer_rows of this Table. the footer rows.
Returns: The footer_rows of this Table. Return type: list[oci.ai_document.models.TableRow]
-
header_rows¶ [Required] Gets the header_rows of this Table. The header rows.
Returns: The header_rows of this Table. Return type: list[oci.ai_document.models.TableRow]
-
row_count¶ [Required] Gets the row_count of this Table. The number of rows.
Returns: The row_count of this Table. Return type: int
-