Bagikan melalui


FaceDetectionEffectDefinition Kelas

Definisi

Mewakili definisi efek video deteksi wajah.

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
Warisan
Object Platform::Object IInspectable FaceDetectionEffectDefinition
Atribut
Penerapan

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Keterangan

Dapatkan instans kelas FaceDetectionEffect dengan meneruskan objek FaceDetectionEffectDefinition ke addVideoEffectAsync.

Konstruktor

FaceDetectionEffectDefinition()

Menginisialisasi instans baru kelas FaceDetectionEffectDefinition .

Properti

ActivatableClassId

Mendapatkan string yang berisi ID kelas yang dapat diaktifkan dari definisi efek deteksi wajah.

DetectionMode

Mendapatkan atau menetapkan nilai yang memprioritaskan kecepatan deteksi wajah dan kualitas hasil deteksi.

Properties

Mendapatkan set properti untuk mengonfigurasi objek FaceDetectionEffectDefinition .

SynchronousDetectionEnabled

Mendapatkan atau menetapkan nilai yang menunjukkan apakah deteksi wajah sinkron diaktifkan.

Berlaku untuk

Lihat juga