VideoTextSegment¶
-
class
oci.ai_vision.models.
VideoTextSegment
(**kwargs)¶ Bases:
object
A text segment in a video.
Methods
__init__
(**kwargs)Initializes a new VideoTextSegment object with values from keyword arguments. Attributes
confidence
[Required] Gets the confidence of this VideoTextSegment. frames
[Required] Gets the frames of this VideoTextSegment. video_segment
[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.
-
confidence
¶ [Required] Gets the confidence of this VideoTextSegment. The confidence score, between 0 and 1.
Returns: The confidence of this VideoTextSegment. Return type: float
-
frames
¶ [Required] Gets the frames of this VideoTextSegment. Text frame in a segment.
Returns: The frames of this VideoTextSegment. Return type: list[oci.ai_vision.models.VideoTextFrame]
-
video_segment
¶ [Required] Gets the video_segment of this VideoTextSegment.
Returns: The video_segment of this VideoTextSegment. Return type: oci.ai_vision.models.VideoSegment
-