diff --git a/src/main/java/org/dromara/easyai/yolo/OutBox.java b/src/main/java/org/dromara/easyai/yolo/OutBox.java new file mode 100644 index 0000000..214cf29 --- /dev/null +++ b/src/main/java/org/dromara/easyai/yolo/OutBox.java @@ -0,0 +1,58 @@ +package org.dromara.easyai.yolo; + +public class OutBox { + private int x;//横坐标 + private int y;//纵坐标 + private int width;//宽度 + private int height;//高度 + private String typeID;//类别id + private float trust; + + public float getTrust() { + return trust; + } + + public void setTrust(float trust) { + this.trust = trust; + } + + public int getX() { + return x; + } + + public void setX(int x) { + this.x = x; + } + + public int getY() { + return y; + } + + public void setY(int y) { + this.y = y; + } + + public int getWidth() { + return width; + } + + public void setWidth(int width) { + this.width = width; + } + + public int getHeight() { + return height; + } + + public void setHeight(int height) { + this.height = height; + } + + public String getTypeID() { + return typeID; + } + + public void setTypeID(String typeID) { + this.typeID = typeID; + } +}