FaceTracker.ProcessNextFrameAsync(VideoFrame) FaceTracker.ProcessNextFrameAsync(VideoFrame) FaceTracker.ProcessNextFrameAsync(VideoFrame) FaceTracker.ProcessNextFrameAsync(VideoFrame) FaceTracker.ProcessNextFrameAsync(VideoFrame) Method

Definition

Asynchronously processes a VideoFrame for face detection.

public : IAsyncOperation<IVector<DetectedFace>> ProcessNextFrameAsync(VideoFrame videoFrame)
IAsyncOperation<IVector<DetectedFace>> ProcessNextFrameAsync(VideoFrame videoFrame) const;
public IAsyncOperation<IList<DetectedFace>> ProcessNextFrameAsync(VideoFrame videoFrame)
Public Function ProcessNextFrameAsync(videoFrame As VideoFrame) As IAsyncOperation<IList<DetectedFace>>(Of IVector)
Windows.Media.FaceAnalysis.FaceTracker.processNextFrameAsync(videoFrame).done( /* Your success and error handlers */ );

Parameters

videoFrame
VideoFrame VideoFrame VideoFrame

The VideoFrame in which faces are detected or tracked.

Returns

IAsyncOperation<IList<DetectedFace>> IAsyncOperation<IList<DetectedFace>> IAsyncOperation<IList<DetectedFace>>

An asynchronous operation that returns a list of DetectedFace objects upon successful completion.

Remarks

The provided SoftwareBitmap must be in a supported pixel format. Use GetSupportedBitmapPixelFormats to retrieve a list of supported pixel formats for the current device. Use IsBitmapPixelFormatSupported to test whether a given pixel format is supported.