VideoTextSegment¶
- class oci.ai_vision.models.VideoTextSegment(**kwargs)¶
Bases:
objectA text segment in a video.
Methods:
__init__(**kwargs)Initializes a new VideoTextSegment object with values from keyword arguments.
Attributes:
[Required] Gets the confidence of this VideoTextSegment.
[Required] Gets the frames of this VideoTextSegment.
[Required] Gets the video_segment of this VideoTextSegment.
- __init__(**kwargs)¶
Initializes a new VideoTextSegment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
video_segment (oci.ai_vision.models.VideoSegment) – The value to assign to the video_segment property of this VideoTextSegment.
confidence (float) – The value to assign to the confidence property of this VideoTextSegment.
frames (list[oci.ai_vision.models.VideoTextFrame]) – The value to assign to the frames property of this VideoTextSegment.
- property confidence¶
[Required] Gets the confidence of this VideoTextSegment. The confidence score, between 0 and 1.
- Returns
The confidence of this VideoTextSegment.
- Return type
float
- property frames¶
[Required] Gets the frames of this VideoTextSegment. Text frame in a segment.
- Returns
The frames of this VideoTextSegment.
- Return type
- property video_segment¶
[Required] Gets the video_segment of this VideoTextSegment.
- Returns
The video_segment of this VideoTextSegment.
- Return type