VideoObjectSegment¶
- class oci.ai_vision.models.VideoObjectSegment(**kwargs)¶
Bases:
objectAn object segment in a video.
Methods:
__init__(**kwargs)Initializes a new VideoObjectSegment object with values from keyword arguments.
Attributes:
[Required] Gets the confidence of this VideoObjectSegment.
[Required] Gets the frames of this VideoObjectSegment.
[Required] Gets the video_segment of this VideoObjectSegment.
- __init__(**kwargs)¶
Initializes a new VideoObjectSegment 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 VideoObjectSegment.
confidence (float) – The value to assign to the confidence property of this VideoObjectSegment.
frames (list[oci.ai_vision.models.VideoObjectFrame]) – The value to assign to the frames property of this VideoObjectSegment.
- property confidence¶
[Required] Gets the confidence of this VideoObjectSegment. The confidence score, between 0 and 1.
- Returns
The confidence of this VideoObjectSegment.
- Return type
float
- property frames¶
[Required] Gets the frames of this VideoObjectSegment. Object frame in a segment.
- Returns
The frames of this VideoObjectSegment.
- Return type
- property video_segment¶
[Required] Gets the video_segment of this VideoObjectSegment.
- Returns
The video_segment of this VideoObjectSegment.
- Return type