FaceTracker Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Detects faces in VideoFrame objects and tracks faces across subsequent video frames.
public ref class FaceTracker sealed
/// [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 FaceTracker final
[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 FaceTracker
Public NotInheritable Class FaceTracker
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Properties
IsSupported |
Gets a value indicating whether the FaceTracker class is supported on the current device. |
MaxDetectableFaceSize |
Gets or sets the maximum detectable face size, in pixels. |
MinDetectableFaceSize |
Gets or sets the minimum detectable face size, in pixels. |
Methods
CreateAsync() |
Creates a new instance of the FaceTracker class. |
GetSupportedBitmapPixelFormats() |
Returns a list of the bitmap pixels formats supported by the FaceTracker on the current device. |
IsBitmapPixelFormatSupported(BitmapPixelFormat) |
Queries whether the specified bitmap pixel format is supported by the FaceTracker on the current device. |
ProcessNextFrameAsync(VideoFrame) |
Asynchronously processes a VideoFrame for face detection. |