Udostępnij za pośrednictwem


FaceDetectionEffectDefinition Class

Definition

Represents the definition of a face detection video effect.

public ref class FaceDetectionEffectDefinition sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [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 FaceDetectionEffectDefinition final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class FaceDetectionEffectDefinition final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[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 FaceDetectionEffectDefinition
[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)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class FaceDetectionEffectDefinition
function FaceDetectionEffectDefinition()
Public NotInheritable Class FaceDetectionEffectDefinition
Inheritance
Object Platform::Object IInspectable FaceDetectionEffectDefinition
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 the FaceDetectionEffect class by passing a FaceDetectionEffectDefinition object into AddVideoEffectAsync.

Constructors

FaceDetectionEffectDefinition()

Initializes a new instance of the FaceDetectionEffectDefinition class.

Properties

ActivatableClassId

Gets a string containing the activatable class ID of the face detection effect definition.

DetectionMode

Gets or sets a value that prioritizes the speed of face detection and the quality of detection results.

Properties

Gets the set of properties for configuring the FaceDetectionEffectDefinition object.

SynchronousDetectionEnabled

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

Applies to

See also