Page Summary
-
CommonObjectDetectorOptionsprovides common configurations for all types of object detectors. -
It allows enabling or disabling object classification and multiple object detection.
-
It offers a detector mode setting with a default stream mode.
-
The initializer is unavailable; use class methods in subclasses instead.
CommonObjectDetectorOptions
class CommonObjectDetectorOptions : NSObjectCommon configurations shared by all types of object detectors.
-
Indicates whether the object classification feature is enabled. The default value is
false.Declaration
Swift
var shouldEnableClassification: Bool { get set } -
Indicates whether all detected objects in the image or frame should be returned by the detector. If set to
false, the detector returns only the most prominent object detected. The default value isfalse.Declaration
Swift
var shouldEnableMultipleObjects: Bool { get set } -
The mode for the object detector. The default value is
.stream.Declaration
Swift
var detectorMode: ObjectDetectorMode { get set } -
Unavailable. Use the class methods in subclasses.