Page Summary
-
This documentation outlines globally available type definitions for object detection.
-
Three main types are defined:
ObjectDetectorMode,DetectedObjectLabel, andDetectedObjectLabelIndex. -
These types are used to specify detector modes, object labels, and label indices respectively within the object detection framework.
-
Each type is further detailed with its respective declaration in Swift, highlighting its properties and functionalities.
Type Definitions
The following type definitions are available globally.
-
@enum ObjectDetectorMode Object detector modes.
Declaration
Swift
struct ObjectDetectorMode : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
Labels of objects detected by the detector.
Declaration
Swift
struct DetectedObjectLabel : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable -
Label indices of objects detected by the detector.
Declaration
Swift
struct DetectedObjectLabelIndex : _ObjectiveCBridgeable, Hashable, Equatable, _SwiftNewtypeWrapper, RawRepresentable