MPPDetection
@interface MPPDetection : NSObjectRepresents one detected object in the results of ObjectDetector.
- 
                  
                  An array of Categoryobjects containing the predicted categories.DeclarationObjective-C @property (nonatomic, readonly) NSArray<MPPCategory *> *_Nonnull categories;
- 
                  
                  The bounding box of the detected object. DeclarationObjective-C @property (nonatomic, readonly) CGRect boundingBox;
- 
                  
                  An optional array of NormalizedKeypointobjects associated with the detection. Keypoints represent interesting points related to the detection. For example, the keypoints represent the eyes, ear and mouth from the from detection model. In template matching detection, e.g. KNIFT, they can instead represent the feature points for template matching.DeclarationObjective-C @property (nonatomic, readonly, nullable) NSArray<MPPNormalizedKeypoint *> *keypoints;
- 
                  
                  Initializes a new Detectionobject with the given array of categories, bounding box and optional array of keypoints;DeclarationObjective-C - (nonnull instancetype) initWithCategories:(nonnull NSArray<MPPCategory *> *)categories boundingBox:(CGRect)boundingBox keypoints:(nullable NSArray<MPPNormalizedKeypoint *> *)keypoints;ParameterscategoriesA list of Categoryobjects that contain category name, display name, score, and the label index.boundingBoxA CGRectthat represents the bounding box.keypoints:An optional array of NormalizedKeypointobjects associated with the detection. Keypoints represent interesting points related to the detection. For example, the keypoints represent the eyes, ear and mouth from the face detection model. In template matching detection, e.g. KNIFT, they can instead represent the feature points for template matching.Return ValueAn instance of Detectioninitialized with the given array of categories, bounding box andnilkeypoints.
- 
                  
                  Undocumented DeclarationObjective-C - (instancetype)init NS_UNAVAILABLE;
- 
                  
                  Undocumented DeclarationObjective-C + (instancetype)new NS_UNAVAILABLE;