FaceDetector クラス

定義

SoftwareBitmap 内の顔を検出します。

public ref class FaceDetector 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 FaceDetector 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 FaceDetector
Public NotInheritable Class FaceDetector
継承
Object Platform::Object IInspectable FaceDetector
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

プロパティ

IsSupported

現在のデバイスで FaceDetector クラスがサポートされているかどうかを示す値を取得します。

MaxDetectableFaceSize

検出可能な顔の最大サイズをピクセル単位で取得または設定します。

MinDetectableFaceSize

検出可能な顔の最小サイズをピクセル単位で取得または設定します。

メソッド

CreateAsync()

FaceDetector クラスの新しいインスタンスを作成します。

DetectFacesAsync(SoftwareBitmap)

指定された SoftwareBitmap 内の顔を非同期的に検出します。

DetectFacesAsync(SoftwareBitmap, BitmapBounds)

指定された検索領域内の指定された SoftwareBitmap 内の顔を非同期的に検出します。

GetSupportedBitmapPixelFormats()

現在のデバイスの FaceDetector でサポートされているビットマップ ピクセル形式の一覧を返します。

IsBitmapPixelFormatSupported(BitmapPixelFormat)

指定したビットマップ ピクセル形式が現在のデバイスの FaceDetector でサポートされているかどうかを照会します。

適用対象

こちらもご覧ください