public class ObjectDetectionBoundingBox extends Object
Constructor and Description |
---|
ObjectDetectionBoundingBox() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Double |
getBottomRightX()
Horizontal position of the bottom right corner, given as a fraction of the frame width
|
Double |
getBottomRightY()
Vertical position of the bottom right corner, given as a fraction of the frame height
|
Double |
getTopLeftX()
Horizontal position of the top left corner, given as a fraction of the frame width
|
Double |
getTopLeftY()
Vertical position of the top left corner, given as a fraction of the frame height
|
int |
hashCode() |
void |
setBottomRightX(Double bottomRightX)
Horizontal position of the bottom right corner, given as a fraction of the frame width
|
void |
setBottomRightY(Double bottomRightY)
Vertical position of the bottom right corner, given as a fraction of the frame height
|
void |
setTopLeftX(Double topLeftX)
Horizontal position of the top left corner, given as a fraction of the frame width
|
void |
setTopLeftY(Double topLeftY)
Vertical position of the top left corner, given as a fraction of the frame height
|
String |
toString() |
public Double getTopLeftX()
public void setTopLeftX(Double topLeftX)
topLeftX
- Horizontal position of the top left corner, given as a fraction of the frame widthpublic Double getTopLeftY()
public void setTopLeftY(Double topLeftY)
topLeftY
- Vertical position of the top left corner, given as a fraction of the frame heightpublic Double getBottomRightX()
public void setBottomRightX(Double bottomRightX)
bottomRightX
- Horizontal position of the bottom right corner, given as a fraction of the frame widthpublic Double getBottomRightY()
public void setBottomRightY(Double bottomRightY)
bottomRightY
- Vertical position of the bottom right corner, given as a fraction of the frame heightCopyright © 2022. All rights reserved.