Dela via


FaceDetectionMode Enum

Definition

Specifies the mode used for face detection.

public enum class FaceDetectionMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class FaceDetectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum FaceDetectionMode
var value = Windows.Media.Core.FaceDetectionMode.highPerformance
Public Enum FaceDetectionMode
Inheritance
FaceDetectionMode
Attributes

Windows requirements

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

Fields

Name Value Description
HighPerformance 0

The speed of face detection is prioritized over the accuracy of the face detection results.

Balanced 1

The prioritization of detection speed and result quality are balanced.

HighQuality 2

The accuracy of face detection results is prioritized over the speed of face detection.

Applies to