Package deepnetts.util
Class BoundingBox
java.lang.Object
deepnetts.util.BoundingBox
-
Constructor Summary
ConstructorsConstructorDescriptionBoundingBox
(int xCenter, int yCenter, int width, int height) BoundingBox
(int id, int xCenter, int yCenter, int width, int height) BoundingBox
(int id, int xCenter, int yCenter, int width, int height, float score) BoundingBox
(int id, int xCenter, int yCenter, int width, int height, String label, float score) -
Method Summary
Modifier and TypeMethodDescriptionint
int
getId()
getLabel()
float
getScore()
int
getWidth()
int
getXMin()
int
int
getYMax()
int
getYMin()
void
setId
(int id) void
void
setScore
(float score) void
setXMax
(int xMax) void
setXMin
(int xMin) void
setYCenter
(int yCenter) void
setYMax
(int yMax) void
setYMin
(int yMin) toString()
-
Constructor Details
-
BoundingBox
public BoundingBox(int id, int xCenter, int yCenter, int width, int height, float score) -
BoundingBox
public BoundingBox(int xCenter, int yCenter, int width, int height) -
BoundingBox
public BoundingBox(int id, int xCenter, int yCenter, int width, int height) -
BoundingBox
public BoundingBox(int id, int xCenter, int yCenter, int width, int height, String label, float score)
-
-
Method Details
-
getYCenter
public int getYCenter() -
setYCenter
public void setYCenter(int yCenter) -
getXMin
public int getXMin() -
setXMin
public void setXMin(int xMin) -
getYMin
public int getYMin() -
setYMin
public void setYMin(int yMin) -
getYMax
public int getYMax() -
setXMax
public void setXMax(int xMax) -
setYMax
public void setYMax(int yMax) -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getScore
public float getScore() -
setLabel
-
getLabel
-
setScore
public void setScore(float score) -
setId
public void setId(int id) -
getId
public int getId() -
toString
-