Share via


FaceDetectionEffectFrame Class

Definition

Represents a video frame that includes a list of faces detected by the FaceDetectionEffect.

public ref class FaceDetectionEffectFrame sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class FaceDetectionEffectFrame final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class FaceDetectionEffectFrame : System.IDisposable
Public NotInheritable Class FaceDetectionEffectFrame
Implements IDisposable
Inheritance
Object Platform::Object IInspectable FaceDetectionEffectFrame
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

Get an instance of this class by accessing the FaceDetectedEventArgs.ResultFrame.

Properties

DetectedFaces

Gets the list of objects representing the faces detected in the frame.

Duration

Gets or sets the duration of the face detection effect frame.

ExtendedProperties

Gets the extended property set which enables getting and setting properties on the media frame.

IsDiscontinuous

Gets or sets a value that indicates whether a video frame is the first frame after a gap in the stream.

IsReadOnly

Gets a value indicating whether the frame is read-only.

RelativeTime

Gets or sets the relative time of the frame within the video stream.

SystemRelativeTime

Gets or sets a timestamp that is relative to the system and is correlatable across multiple media sources on the same device.

Type

Gets a string indicating the type of data the frame contains.

Methods

Close()

Disposes of the object and associated resources.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to

See also