AWSRekognitionLabel

Objective-C

@interface AWSRekognitionLabel

Swift

class AWSRekognitionLabel

Structure containing details about the detected label, including the name, detected instances, parent labels, and level of confidence.

  • Level of confidence.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable confidence;

    Swift

    var confidence: NSNumber? { get set }
  • If Label represents an object, Instances contains the bounding boxes for each instance of the detected object. Bounding boxes are returned for common object labels such as people, cars, furniture, apparel or pets.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSRekognitionInstance *> *_Nullable instances;

    Swift

    var instances: [AWSRekognitionInstance]? { get set }
  • The name (label) of the object or scene.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }
  • The parent labels for a label. The response includes all ancestor labels.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSRekognitionParent *> *_Nullable parents;

    Swift

    var parents: [AWSRekognitionParent]? { get set }