@Generated(value="software.amazon.awssdk:codegen") public final class CustomLabel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomLabel.Builder,CustomLabel>
A custom label detected in an image by a call to DetectCustomLabels.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomLabel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CustomLabel.Builder |
builder() |
Float |
confidence()
The confidence that the model has in the detection of the custom label.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Geometry |
geometry()
The location of the detected object on the image that corresponds to the custom label.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the custom label.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomLabel.Builder> |
serializableBuilderClass() |
CustomLabel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the custom label.
public Float confidence()
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.
public Geometry 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.
public CustomLabel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CustomLabel.Builder,CustomLabel>public static CustomLabel.Builder builder()
public static Class<? extends CustomLabel.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.