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.

  • A list of potential aliases for a given label.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSRekognitionLabelAlias *> *_Nullable aliases;

    Swift

    var aliases: [AWSRekognitionLabelAlias]? { get set }
  • A list of the categories associated with a given label.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSRekognitionLabelCategory *> *_Nullable categories;

    Swift

    var categories: [AWSRekognitionLabelCategory]? { get set }
  • 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 }