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 Details

    • ObjectDetailLocation

      public ObjectDetailLocation()
  • Method Details

    • getTop

      public Long getTop()
      Gets the top.

      Y-position of top-left pixel of the bounding box.

      Returns:
      the top
    • getLeft

      public Long getLeft()
      Gets the left.

      X-position of top-left pixel of the bounding box.

      Returns:
      the left
    • getWidth

      public Long getWidth()
      Gets the width.

      Width in pixels of of the bounding box.

      Returns:
      the width
    • getHeight

      public Long getHeight()
      Gets the height.

      Height in pixels of the bounding box.

      Returns:
      the height