VideoText¶
- class oci.ai_vision.models.VideoText(**kwargs)¶
Bases:
objectDetected text in a video.
Methods:
__init__(**kwargs)Initializes a new VideoText object with values from keyword arguments.
Attributes:
[Required] Gets the segments of this VideoText.
[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.
- property segments¶
[Required] Gets the segments of this VideoText. Text segments in a video.
- Returns
The segments of this VideoText.
- Return type
- property text¶
[Required] Gets the text of this VideoText. Detected text.
- Returns
The text of this VideoText.
- Return type
str