共用方式為


FaceDetectionEffectDefinition 類別

定義

表示臉部偵測視訊效果的定義。

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
繼承
Object Platform::Object IInspectable FaceDetectionEffectDefinition
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

將 FaceDetectionEffect 物件傳遞至AddVideoEffectAsync,以取得FaceDetectionEffect類別的實例。

建構函式

FaceDetectionEffectDefinition()

初始化 FaceDetectionEffectDefinition 類別的新實例。

屬性

ActivatableClassId

取得字串,其中包含臉部偵測效果定義的可啟用類別識別碼。

DetectionMode

取得或設定值,這個值會優先處理臉部偵測的速度和偵測結果的品質。

Properties

取得設定 FaceDetectionEffectDefinition 物件的屬性集。

SynchronousDetectionEnabled

取得或設定值,指出是否啟用同步臉部偵測。

適用於

另請參閱