AWSRekognitionDetectLabelsResponse

Objective-C

@interface AWSRekognitionDetectLabelsResponse

Swift

class AWSRekognitionDetectLabelsResponse
  • Version number of the label detection model that was used to detect labels.

    Declaration

    Objective-C

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

    Swift

    var labelModelVersion: String? { get set }
  • An array of labels for the real-world objects detected.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSRekognitionLabel *> *_Nullable labels;

    Swift

    var labels: [AWSRekognitionLabel]? { get set }
  • The value of OrientationCorrection is always null.

    If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image’s orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don’t contain Exif metadata.

    Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren’t translated and represent the object locations before the image is rotated.

    Declaration

    Objective-C

    @property (nonatomic) AWSRekognitionOrientationCorrection orientationCorrection;

    Swift

    var orientationCorrection: AWSRekognitionOrientationCorrection { get set }