You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Rekognition::Types::CustomLabel

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

A custom label detected in an image by a call to DetectCustomLabels.

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

The confidence that the model has in the detection of the custom label. The range is 0-100. A higher value indicates a higher confidence.

Returns:

  • (Float)

    The confidence that the model has in the detection of the custom label.

#geometryTypes::Geometry

The location of the detected object on the image that corresponds to the custom label. Includes an axis aligned coarse bounding box surrounding the object and a finer grain polygon for more accurate spatial information.

Returns:

  • (Types::Geometry)

    The location of the detected object on the image that corresponds to the custom label.

#nameString

The name of the custom label.

Returns:

  • (String)

    The name of the custom label.