TextAppearance Class
An object representing the appearance of the text line.
New in version v2.1: Support for to_dict and from_dict methods
- Inheritance
-
builtins.objectTextAppearance
Constructor
TextAppearance(**kwargs: Any)
Methods
from_dict |
Converts a dict in the shape of a TextAppearance to the model itself. |
to_dict |
Returns a dict representation of TextAppearance. |
from_dict
Converts a dict in the shape of a TextAppearance to the model itself.
from_dict(data: Dict) -> TextAppearance
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of TextAppearance. |
Returns
Type | Description |
---|---|
TextAppearance |
to_dict
Returns a dict representation of TextAppearance.
to_dict() -> Dict
Returns
Type | Description |
---|---|
dict |
Attributes
style_confidence
The confidence of text line style.
style_confidence: float
style_name
The text line style name. Possible values include: "other", "handwriting".
style_name: str
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python