VideoFaceSegment¶
- class oci.ai_vision.models.VideoFaceSegment(**kwargs)¶
Bases:
objectA face segment in a video.
Methods:
__init__(**kwargs)Initializes a new VideoFaceSegment object with values from keyword arguments.
Attributes:
[Required] Gets the confidence of this VideoFaceSegment.
[Required] Gets the frames of this VideoFaceSegment.
[Required] Gets the video_segment of this VideoFaceSegment.
- __init__(**kwargs)¶
Initializes a new VideoFaceSegment 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 VideoFaceSegment.
confidence (float) – The value to assign to the confidence property of this VideoFaceSegment.
frames (list[oci.ai_vision.models.VideoFaceFrame]) – The value to assign to the frames property of this VideoFaceSegment.
- property confidence¶
[Required] Gets the confidence of this VideoFaceSegment. The confidence score, between 0 and 1.
- Returns
The confidence of this VideoFaceSegment.
- Return type
float
- property frames¶
[Required] Gets the frames of this VideoFaceSegment. Face frames in a segment.
- Returns
The frames of this VideoFaceSegment.
- Return type
- property video_segment¶
[Required] Gets the video_segment of this VideoFaceSegment.
- Returns
The video_segment of this VideoFaceSegment.
- Return type