FaceDetectionEffect FaceDetectionEffect FaceDetectionEffect FaceDetectionEffect FaceDetectionEffect Class

Definition

Represents an effect that attempts to detect faces in a video stream.

public : sealed class FaceDetectionEffect : IFaceDetectionEffect, IMediaExtension
struct winrt::Windows::Media::Core::FaceDetectionEffect : IFaceDetectionEffect, IMediaExtension
public sealed class FaceDetectionEffect : IFaceDetectionEffect, IMediaExtension
Public NotInheritable Class FaceDetectionEffect Implements IFaceDetectionEffect, IMediaExtension
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Get an instance of this class by passing a FaceDetectionEffectDefinition object into AddVideoEffectAsync.

Properties

DesiredDetectionInterval DesiredDetectionInterval DesiredDetectionInterval DesiredDetectionInterval DesiredDetectionInterval

Gets or sets the time span for which face detection should be performed.

Enabled Enabled Enabled Enabled Enabled

Gets or sets a value indicating whether face detection is enabled.

Methods

SetProperties(IPropertySet) SetProperties(IPropertySet) SetProperties(IPropertySet) SetProperties(IPropertySet) SetProperties(IPropertySet)

Sets properties on the IMediaExtension.

Events

FaceDetected FaceDetected FaceDetected FaceDetected FaceDetected

Occurs when a face is detected. See FaceDetectedEventArgs.

See Also