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