Page Summary
-
CommonImageLabelerOptionsprovides configuration settings for customizing image labeler behavior. -
The
confidenceThresholdproperty, ranging from 0 to 1, determines the minimum confidence level for labels returned by the image labeler. -
By default, the
confidenceThresholdis not set, and specific behavior depends on the image labeler subclass being used. -
You cannot directly initialize
CommonImageLabelerOptions; instead, use class methods provided by its subclasses to create instances.
CommonImageLabelerOptions
class CommonImageLabelerOptions : NSObjectOptions for an image labeler.
-
The confidence threshold for labels returned by the image labeler. Labels returned by the image labeler will have a confidence level higher or equal to the given threshold. The value must be a floating-point value in the range [0, 1]. This property does not need to be set. For details on behavior if the
confidenceThresholdis unset, please refer to documentation in subclass header files. The default value isnil.Declaration
Swift
var confidenceThreshold: NSNumber? { get set } -
Unavailable. Use the class methods in subclasses.