BoundingBox Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. BoundingBox
- com.
public class BoundingBox
Bounding box that defines a region of an image.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
height()
Get the height value. |
double |
left()
Get the left value. |
double |
top()
Get the top value. |
double |
width()
Get the width value. |
Bounding |
withHeight(double height)
Set the height value. |
Bounding |
withLeft(double left)
Set the left value. |
Bounding |
withTop(double top)
Set the top value. |
Bounding |
withWidth(double width)
Set the width value. |
Method Details
height
public double height()
Get the height value.
Returns:
left
public double left()
Get the left value.
Returns:
top
public double top()
Get the top value.
Returns:
width
public double width()
Get the width value.
Returns:
withHeight
public BoundingBox withHeight(double height)
Set the height value.
Parameters:
Returns:
withLeft
public BoundingBox withLeft(double left)
Set the left value.
Parameters:
Returns:
withTop
public BoundingBox withTop(double top)
Set the top value.
Parameters:
Returns:
withWidth
public BoundingBox withWidth(double width)
Set the width value.
Parameters:
Returns:
Applies to
Azure SDK for Java