FritzVisionLabel

@available(OSX 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
@objc(FritzVisionLabel)
public class FritzVisionLabel : NSObject

Represents a label for an image.

  • Human readable string of detected label.

    Declaration

    Swift

    public let label: String
  • Prediction confidence for label in range of [0, 1]

    Declaration

    Swift

    public let confidence: Double
  • Declaration

    Swift

    public override var description: String { get }
  • Declaration

    Swift

    public init(label: String, confidence: Double)