This commit is contained in:
2025-09-04 14:09:14 +08:00
parent c3d52a71f1
commit 94792e4e31

View File

@@ -0,0 +1,49 @@
package org.dromara.easyai.yolo;
public class YoloBody {
private int x;//目标框左上角x的值
private int y;//目标框左上角得y的值
private int width;//框的宽度
private int height;//框的高度
private int typeID;//类别id
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 int getTypeID() {
return typeID;
}
public void setTypeID(int typeID) {
this.typeID = typeID;
}
}