VideoTrackedObjectSegment

class oci.ai_vision.models.VideoTrackedObjectSegment(**kwargs)

Bases: object

A segment of a tracked object in a video.

Methods:

__init__(**kwargs)

Initializes a new VideoTrackedObjectSegment object with values from keyword arguments.

Attributes:

confidence

[Required] Gets the confidence of this VideoTrackedObjectSegment.

frames

[Required] Gets the frames of this VideoTrackedObjectSegment.

video_segment

[Required] Gets the video_segment of this VideoTrackedObjectSegment.

__init__(**kwargs)

Initializes a new VideoTrackedObjectSegment 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 VideoTrackedObjectSegment.

  • confidence (float) – The value to assign to the confidence property of this VideoTrackedObjectSegment.

  • frames (list[oci.ai_vision.models.VideoTrackingFrame]) – The value to assign to the frames property of this VideoTrackedObjectSegment.

property confidence

[Required] Gets the confidence of this VideoTrackedObjectSegment. The confidence score, between 0 and 1.

Returns

The confidence of this VideoTrackedObjectSegment.

Return type

float

property frames

[Required] Gets the frames of this VideoTrackedObjectSegment. Frames within the segment.

Returns

The frames of this VideoTrackedObjectSegment.

Return type

list[oci.ai_vision.models.VideoTrackingFrame]

property video_segment

[Required] Gets the video_segment of this VideoTrackedObjectSegment.

Returns

The video_segment of this VideoTrackedObjectSegment.

Return type

oci.ai_vision.models.VideoSegment