Cell¶
-
class
oci.ai_vision.models.
Cell
(**kwargs)¶ Bases:
object
A single cell in a table.
Methods
__init__
(**kwargs)Initializes a new Cell object with values from keyword arguments. Attributes
bounding_polygon
[Required] Gets the bounding_polygon of this Cell. column_index
[Required] Gets the column_index of this Cell. confidence
[Required] Gets the confidence of this Cell. row_index
[Required] Gets the row_index of this Cell. text
[Required] Gets the text of this Cell. word_indexes
[Required] Gets the word_indexes of this Cell. -
__init__
(**kwargs)¶ Initializes a new Cell object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - text (str) – The value to assign to the text property of this Cell.
- row_index (int) – The value to assign to the row_index property of this Cell.
- column_index (int) – The value to assign to the column_index property of this Cell.
- confidence (float) – The value to assign to the confidence property of this Cell.
- bounding_polygon (oci.ai_vision.models.BoundingPolygon) – The value to assign to the bounding_polygon property of this Cell.
- word_indexes (list[int]) – The value to assign to the word_indexes property of this Cell.
-
bounding_polygon
¶ [Required] Gets the bounding_polygon of this Cell.
Returns: The bounding_polygon of this Cell. Return type: oci.ai_vision.models.BoundingPolygon
-
column_index
¶ [Required] Gets the column_index of this Cell. The index of the cell inside the column.
Returns: The column_index of this Cell. Return type: int
-
confidence
¶ [Required] Gets the confidence of this Cell. The confidence score between 0 and 1.
Returns: The confidence of this Cell. Return type: float
-
row_index
¶ [Required] Gets the row_index of this Cell. The index of the cell inside the row.
Returns: The row_index of this Cell. Return type: int
-
text
¶ [Required] Gets the text of this Cell. The text recognized in the cell.
Returns: The text of this Cell. Return type: str
-
word_indexes
¶ [Required] Gets the word_indexes of this Cell. The words detected in the cell.
Returns: The word_indexes of this Cell. Return type: list[int]
-