DocumentSelectionMark Class
A selection mark object representing check boxes, radio buttons, and other elements indicating a selection.
- Inheritance
-
builtins.objectDocumentSelectionMark
Constructor
DocumentSelectionMark(**kwargs: Any)
Methods
from_dict |
Converts a dict in the shape of a DocumentSelectionMark to the model itself. |
to_dict |
Returns a dict representation of DocumentSelectionMark. |
from_dict
Converts a dict in the shape of a DocumentSelectionMark to the model itself.
from_dict(data: Dict) -> DocumentSelectionMark
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of DocumentSelectionMark. |
Returns
Type | Description |
---|---|
DocumentSelectionMark |
to_dict
Returns a dict representation of DocumentSelectionMark.
to_dict() -> Dict
Returns
Type | Description |
---|---|
dict |
Attributes
confidence
Confidence of correctly extracting the selection mark.
confidence: float
polygon
Bounding polygon of the selection mark.
polygon: Sequence[Point]
span
Location of the selection mark in the reading order concatenated content.
span: DocumentSpan
state
"selected", "unselected".
state: str
Azure SDK for Python