Class ObjectDetail
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.ObjectDetail
- All Implemented Interfaces:
 com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ObjectDetail
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Details about an object in the collection.
- 
Constructor Summary
Constructors Constructor Description ObjectDetail() - 
Method Summary
Modifier and Type Method Description ObjectDetailLocationgetLocation()Gets the location.StringgetObject()Gets the object.FloatgetScore()Gets the score.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString 
- 
Constructor Details
- 
ObjectDetail
public ObjectDetail() 
 - 
 - 
Method Details
- 
getObject
Gets the object.The label for the object.
- Returns:
 - the object
 
 - 
getLocation
Gets the location.Defines the location of the bounding box around the object.
- Returns:
 - the location
 
 - 
getScore
Gets the score.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.
- Returns:
 - the score
 
 
 -