FritzVisionHairSegmentationModelAccurate

@objc(FritzVisionHairSegmentationModelAccurate)
public final class FritzVisionHairSegmentationModelAccurate: FritzVisionHairSegmentationPredictor,
  DownloadableModel
  • Declaration

    Swift

    @objc
    public static let modelConfig: FritzModelConfiguration
  • Declaration

    Swift

    @objc
    public static var managedModel: FritzManagedModel { get }
  • Declaration

    Swift

    @objc
    public static var wifiRequiredForModelDownload: Bool
  • Fetch model. Downloads model if model has not been downloaded before.

    Declaration

    Swift

    @objc(fetchModelWithCompletionHandler:)
    public static func fetchModel(
      completionHandler: @escaping (FritzVisionHairSegmentationModelAccurate?, Error?) -> Void
    )

    Parameters

    completionHandler

    CompletionHandler called after fetchModel request finishes.