Class ObjectDetailLocation
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.ObjectDetailLocation
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ObjectDetailLocation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Defines the location of the bounding box around the object.
-
Constructor Summary
Constructors Constructor Description ObjectDetailLocation()
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ObjectDetailLocation
public ObjectDetailLocation()
-
-
Method Details
-
getTop
Gets the top.Y-position of top-left pixel of the bounding box.
- Returns:
- the top
-
getLeft
Gets the left.X-position of top-left pixel of the bounding box.
- Returns:
- the left
-
getWidth
Gets the width.Width in pixels of of the bounding box.
- Returns:
- the width
-
getHeight
Gets the height.Height in pixels of the bounding box.
- Returns:
- the height
-