VideoFaceFrame

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

Bases: object

A face frame.

Methods

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

Attributes

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

Initializes a new VideoFaceFrame 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 VideoFaceFrame.
  • confidence (float) – The value to assign to the confidence property of this VideoFaceFrame.
  • quality_score (float) – The value to assign to the quality_score property of this VideoFaceFrame.
  • bounding_polygon (oci.ai_vision.models.BoundingPolygon) – The value to assign to the bounding_polygon property of this VideoFaceFrame.
  • landmarks (list[oci.ai_vision.models.Landmark]) – The value to assign to the landmarks property of this VideoFaceFrame.
bounding_polygon

[Required] Gets the bounding_polygon of this VideoFaceFrame.

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

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

Returns:The confidence of this VideoFaceFrame.
Return type:float
landmarks

Gets the landmarks of this VideoFaceFrame. Face landmarks.

Returns:The landmarks of this VideoFaceFrame.
Return type:list[oci.ai_vision.models.Landmark]
quality_score

[Required] Gets the quality_score of this VideoFaceFrame. The quality score of the face detected, between 0 and 1.

Returns:The quality_score of this VideoFaceFrame.
Return type:float
time_offset_ms

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

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