MLKitFaceDetection Çerçevesi Referansı

Tür Tanımları

Aşağıdaki tür tanımları tüm dünyada kullanılabilir.

  • Yüz konturları.

    Bildirim

    Swift

    struct FaceContourType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • Yüz dizisi içeren blok veya hata varsa nil.

    Bildirim

    Swift

    typealias FaceDetectionCallback = ([MLKFace]?, Error?) -> Void

    Parametreler

    faces

    Resimde algılanan yüz dizisi veya hata varsa nil.

    error

    Hata veya nil.

  • @enum FaceDetectorClassificationMode Yüz algılama için sınıflandırma modu.

    Bildirim

    Swift

    struct FaceDetectorClassificationMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum FaceDetectorPerformanceMode Yüz algılamanın doğruluğu veya hızı için performans tercihi.

    Bildirim

    Swift

    struct FaceDetectorPerformanceMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum FaceDetectorLandmarkMode Yüz algılama için önemli nokta algılama modu.

    Bildirim

    Swift

    struct FaceDetectorLandmarkMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • @enum FaceDetectorContourMode Yüz algılama için Kontur algılama modu.

    Bildirim

    Swift

    struct FaceDetectorContourMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable
  • Yüz bölgeleri.

    Bildirim

    Swift

    struct FaceLandmarkType : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable