VideoTextFrame

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

Bases: object

A text frame.

Methods

__init__(**kwargs) Initializes a new VideoTextFrame object with values from keyword arguments.

Attributes

bounding_polygon [Required] Gets the bounding_polygon of this VideoTextFrame.
confidence [Required] Gets the confidence of this VideoTextFrame.
time_offset_ms [Required] Gets the time_offset_ms of this VideoTextFrame.
__init__(**kwargs)

Initializes a new VideoTextFrame 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 VideoTextFrame.
  • confidence (float) – The value to assign to the confidence property of this VideoTextFrame.
  • bounding_polygon (oci.ai_vision.models.BoundingPolygon) – The value to assign to the bounding_polygon property of this VideoTextFrame.
bounding_polygon

[Required] Gets the bounding_polygon of this VideoTextFrame.

Returns:The bounding_polygon of this VideoTextFrame.
Return type:oci.ai_vision.models.BoundingPolygon
confidence

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

Returns:The confidence of this VideoTextFrame.
Return type:float
time_offset_ms

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

Returns:The time_offset_ms of this VideoTextFrame.
Return type:int