# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.10

import datetime
import sys
import types
import typing

import winsdk.system
import winsdk.windows.foundation
import winsdk.windows.foundation.collections
import winsdk.windows.graphics.imaging
import winsdk.windows.media

Self = typing.TypeVar('Self')

class DetectedFace(winsdk.system.Object):
    face_box: winsdk.windows.graphics.imaging.BitmapBounds
    @staticmethod
    def _from(obj: winsdk.system.Object, /) -> DetectedFace: ...

class FaceDetector(winsdk.system.Object):
    min_detectable_face_size: winsdk.windows.graphics.imaging.BitmapSize
    max_detectable_face_size: winsdk.windows.graphics.imaging.BitmapSize
    is_supported: typing.ClassVar[winsdk.system.Boolean]
    @staticmethod
    def _from(obj: winsdk.system.Object, /) -> FaceDetector: ...
    @staticmethod
    def create_async() -> winsdk.windows.foundation.IAsyncOperation[FaceDetector]: ...
    @typing.overload
    def detect_faces_async(self, image: typing.Optional[winsdk.windows.graphics.imaging.SoftwareBitmap], /) -> winsdk.windows.foundation.IAsyncOperation[winsdk.windows.foundation.collections.IVector[DetectedFace]]: ...
    @typing.overload
    def detect_faces_async(self, image: typing.Optional[winsdk.windows.graphics.imaging.SoftwareBitmap], search_area: winsdk.windows.graphics.imaging.BitmapBounds, /) -> winsdk.windows.foundation.IAsyncOperation[winsdk.windows.foundation.collections.IVector[DetectedFace]]: ...
    @staticmethod
    def get_supported_bitmap_pixel_formats() -> typing.Optional[winsdk.windows.foundation.collections.IVectorView[winsdk.windows.graphics.imaging.BitmapPixelFormat]]: ...
    @staticmethod
    def is_bitmap_pixel_format_supported(bitmap_pixel_format: winsdk.windows.graphics.imaging.BitmapPixelFormat, /) -> winsdk.system.Boolean: ...

class FaceTracker(winsdk.system.Object):
    min_detectable_face_size: winsdk.windows.graphics.imaging.BitmapSize
    max_detectable_face_size: winsdk.windows.graphics.imaging.BitmapSize
    is_supported: typing.ClassVar[winsdk.system.Boolean]
    @staticmethod
    def _from(obj: winsdk.system.Object, /) -> FaceTracker: ...
    @staticmethod
    def create_async() -> winsdk.windows.foundation.IAsyncOperation[FaceTracker]: ...
    @staticmethod
    def get_supported_bitmap_pixel_formats() -> typing.Optional[winsdk.windows.foundation.collections.IVectorView[winsdk.windows.graphics.imaging.BitmapPixelFormat]]: ...
    @staticmethod
    def is_bitmap_pixel_format_supported(bitmap_pixel_format: winsdk.windows.graphics.imaging.BitmapPixelFormat, /) -> winsdk.system.Boolean: ...
    def process_next_frame_async(self, video_frame: typing.Optional[winsdk.windows.media.VideoFrame], /) -> winsdk.windows.foundation.IAsyncOperation[winsdk.windows.foundation.collections.IVector[DetectedFace]]: ...

