FritzVisionPeopleAndPetSegmentationModelAccurate

@available(iOS 11.0, *)
@objc(FritzVisionPeopleAndPetSegmentationModelAccurate)
public final class FritzVisionPeopleAndPetSegmentationModelAccurate: FritzVisionPeopleAndPetSegmentationPredictor,
  DownloadableModel

Image segmentation model to detect people and pets.

  • 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 (FritzVisionPeopleAndPetSegmentationModelAccurate?, Error?) -> Void
    )

    Parameters

    completionHandler

    CompletionHandler called after fetchModel request finishes.