FritzVisionPeopleSegmentationModelAccurate

@available(iOS 11.0, *)
@objc(FritzVisionPeopleSegmentationModelAccurate)
public final class FritzVisionPeopleSegmentationModelAccurate: FritzVisionPeopleSegmentationPredictor,
  DownloadableModel

Image segmentation model to detect people.

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

    Parameters

    completionHandler

    CompletionHandler called after fetchModel request finishes.