FritzVisionPetSegmentationModelSmall

@available(iOS 12.0, *)
@objc(FritzVisionPetSegmentationModelSmall)
public final class FritzVisionPetSegmentationModelSmall: FritzVisionPetSegmentationPredictor,
  DownloadableModel

Image segmentation model to detect 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 (FritzVisionPetSegmentationModelSmall?, Error?) -> Void
    )

    Parameters

    completionHandler

    CompletionHandler called after fetchModel request finishes.