VideoText

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

Bases: object

Detected text in a video.

Methods

__init__(**kwargs) Initializes a new VideoText object with values from keyword arguments.

Attributes

segments [Required] Gets the segments of this VideoText.
text [Required] Gets the text of this VideoText.
__init__(**kwargs)

Initializes a new VideoText 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 VideoText.
  • segments (list[oci.ai_vision.models.VideoTextSegment]) – The value to assign to the segments property of this VideoText.
segments

[Required] Gets the segments of this VideoText. Text segments in a video.

Returns:The segments of this VideoText.
Return type:list[oci.ai_vision.models.VideoTextSegment]
text

[Required] Gets the text of this VideoText. Detected text.

Returns:The text of this VideoText.
Return type:str