Class: Aws::Rekognition::Types::DetectLabelsResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::Rekognition::Types::DetectLabelsResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rekognition/types.rb
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#image_properties ⇒ Types::DetectLabelsImageProperties
Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.
-
#label_model_version ⇒ String
Version number of the label detection model that was used to detect labels.
-
#labels ⇒ Array<Types::Label>
An array of labels for the real-world objects detected.
-
#orientation_correction ⇒ String
The value of ‘OrientationCorrection` is always null.
Instance Attribute Details
#image_properties ⇒ Types::DetectLabelsImageProperties
Information about the properties of the input image, such as brightness, sharpness, contrast, and dominant colors.
2343 2344 2345 2346 2347 2348 2349 2350 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2343 class DetectLabelsResponse < Struct.new( :labels, :orientation_correction, :label_model_version, :image_properties) SENSITIVE = [] include Aws::Structure end |
#label_model_version ⇒ String
Version number of the label detection model that was used to detect labels.
2343 2344 2345 2346 2347 2348 2349 2350 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2343 class DetectLabelsResponse < Struct.new( :labels, :orientation_correction, :label_model_version, :image_properties) SENSITIVE = [] include Aws::Structure end |
#labels ⇒ Array<Types::Label>
An array of labels for the real-world objects detected.
2343 2344 2345 2346 2347 2348 2349 2350 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2343 class DetectLabelsResponse < Struct.new( :labels, :orientation_correction, :label_model_version, :image_properties) SENSITIVE = [] include Aws::Structure end |
#orientation_correction ⇒ String
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.
2343 2344 2345 2346 2347 2348 2349 2350 |
# File 'lib/aws-sdk-rekognition/types.rb', line 2343 class DetectLabelsResponse < Struct.new( :labels, :orientation_correction, :label_model_version, :image_properties) SENSITIVE = [] include Aws::Structure end |