VideoObjectFrame

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

Bases: object

An object frame.

Methods:

__init__(**kwargs)

Initializes a new VideoObjectFrame object with values from keyword arguments.

Attributes:

bounding_polygon

[Required] Gets the bounding_polygon of this VideoObjectFrame.

confidence

[Required] Gets the confidence of this VideoObjectFrame.

time_offset_ms

[Required] Gets the time_offset_ms of this VideoObjectFrame.

__init__(**kwargs)

Initializes a new VideoObjectFrame object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • time_offset_ms (int) – The value to assign to the time_offset_ms property of this VideoObjectFrame.

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

  • bounding_polygon (oci.ai_vision.models.BoundingPolygon) – The value to assign to the bounding_polygon property of this VideoObjectFrame.

property bounding_polygon

[Required] Gets the bounding_polygon of this VideoObjectFrame.

Returns

The bounding_polygon of this VideoObjectFrame.

Return type

oci.ai_vision.models.BoundingPolygon

property confidence

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

Returns

The confidence of this VideoObjectFrame.

Return type

float

property time_offset_ms

[Required] Gets the time_offset_ms of this VideoObjectFrame. Time offset(Milliseconds) in the video.

Returns

The time_offset_ms of this VideoObjectFrame.

Return type

int