ImageLabel
class ImageLabel : NSObject
Represents a label for an image.
-
The text of the label returned by the classifier model.
Declaration
Swift
var text: String { get }
-
The index of the label.
Declaration
Swift
var index: Int { get }
-
The confidence of the label. Its range depends on the classifier model used, but by convention it should be [0, 1]. For an
ImageLabeler
created withImageLabelerOptions
, the range is [0, 1].Declaration
Swift
var confidence: Float { get }
-
Unavailable.