public class ObjectDetail
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected Location |
location |
protected java.lang.String |
object |
protected java.lang.Float |
score |
Constructor and Description |
---|
ObjectDetail() |
Modifier and Type | Method and Description |
---|---|
Location |
getLocation()
Gets the location.
|
java.lang.String |
getObject()
Gets the object.
|
java.lang.Float |
getScore()
Gets the score.
|
protected java.lang.String object
protected Location location
protected java.lang.Float score
public java.lang.String getObject()
The label for the object.
public Location getLocation()
Defines the location of the bounding box around the object.
public java.lang.Float getScore()
Confidence score for the object in the range of 0 to 1. A higher score indicates greater likelihood that the object is depicted at this location in the image.