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