ImageText

class oci.ai_vision.models.ImageText(**kwargs)

Bases: object

The detected text.

Methods:

__init__(**kwargs)

Initializes a new ImageText object with values from keyword arguments.

Attributes:

lines

[Required] Gets the lines of this ImageText.

words

[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
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

list[oci.ai_vision.models.Line]

property words

[Required] Gets the words of this ImageText. The words recognized in an image.

Returns

The words of this ImageText.

Return type

list[oci.ai_vision.models.Word]