ImageText¶
- class oci.ai_vision.models.ImageText(**kwargs)¶
Bases:
objectThe detected text.
Methods:
__init__(**kwargs)Initializes a new ImageText object with values from keyword arguments.
Attributes:
[Required] Gets the lines of this ImageText.
[Required] Gets the words of this ImageText.
- __init__(**kwargs)¶
Initializes a new ImageText object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
words (list[oci.ai_vision.models.Word]) – The value to assign to the words property of this ImageText.
lines (list[oci.ai_vision.models.Line]) – The value to assign to the lines property of this ImageText.
- property lines¶
[Required] Gets the lines of this ImageText. The lines of text recognized in an image.
- Returns
The lines of this ImageText.
- Return type
- property words¶
[Required] Gets the words of this ImageText. The words recognized in an image.
- Returns
The words of this ImageText.
- Return type