FaceDetector FaceDetector FaceDetector FaceDetector FaceDetector Class

Definition

Detects faces in a SoftwareBitmap.

public : sealed class FaceDetector : IFaceDetector
struct winrt::Windows::Media::FaceAnalysis::FaceDetector : IFaceDetector
public sealed class FaceDetector : IFaceDetector
Public NotInheritable Class FaceDetector Implements IFaceDetector
// 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)

Properties

IsSupported IsSupported IsSupported IsSupported IsSupported

Gets a value indicating whether the FaceDetector class is supported on the current device.

MaxDetectableFaceSize MaxDetectableFaceSize MaxDetectableFaceSize MaxDetectableFaceSize MaxDetectableFaceSize

Gets or sets the maximum detectable face size, in pixels.

MinDetectableFaceSize MinDetectableFaceSize MinDetectableFaceSize MinDetectableFaceSize MinDetectableFaceSize

Gets or sets the minimum detectable face size, in pixels.

Methods

CreateAsync() CreateAsync() CreateAsync() CreateAsync() CreateAsync()

Creates a new instance of the FaceDetector class.

DetectFacesAsync(SoftwareBitmap) DetectFacesAsync(SoftwareBitmap) DetectFacesAsync(SoftwareBitmap) DetectFacesAsync(SoftwareBitmap) DetectFacesAsync(SoftwareBitmap)

Asynchronously detects faces in the provided SoftwareBitmap.

DetectFacesAsync(SoftwareBitmap, BitmapBounds) DetectFacesAsync(SoftwareBitmap, BitmapBounds) DetectFacesAsync(SoftwareBitmap, BitmapBounds) DetectFacesAsync(SoftwareBitmap, BitmapBounds) DetectFacesAsync(SoftwareBitmap, BitmapBounds)

Asynchronously detects faces in the provided SoftwareBitmap within the specified search area.

GetSupportedBitmapPixelFormats() GetSupportedBitmapPixelFormats() GetSupportedBitmapPixelFormats() GetSupportedBitmapPixelFormats() GetSupportedBitmapPixelFormats()

Returns a list of the bitmap pixels formats supported by the FaceDetector on the current device.

IsBitmapPixelFormatSupported(BitmapPixelFormat) IsBitmapPixelFormatSupported(BitmapPixelFormat) IsBitmapPixelFormatSupported(BitmapPixelFormat) IsBitmapPixelFormatSupported(BitmapPixelFormat) IsBitmapPixelFormatSupported(BitmapPixelFormat)

Queries whether the specified bitmap pixel format is supported by the FaceDetector on the current device.

See Also