FaceTracker FaceTracker FaceTracker FaceTracker FaceTracker Class

Definition

Detects faces in VideoFrame objects and tracks faces across subsequent video frames.

public : sealed class FaceTracker : IFaceTracker
struct winrt::Windows::Media::FaceAnalysis::FaceTracker : IFaceTracker
public sealed class FaceTracker : IFaceTracker
Public NotInheritable Class FaceTracker Implements IFaceTracker
// 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 FaceTracker 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 FaceTracker class.

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

Returns a list of the bitmap pixels formats supported by the FaceTracker 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 FaceTracker on the current device.

ProcessNextFrameAsync(VideoFrame) ProcessNextFrameAsync(VideoFrame) ProcessNextFrameAsync(VideoFrame) ProcessNextFrameAsync(VideoFrame) ProcessNextFrameAsync(VideoFrame)

Asynchronously processes a VideoFrame for face detection.

See Also