Add File
This commit is contained in:
49
src/main/java/org/dromara/easyai/yolo/YoloBody.java
Normal file
49
src/main/java/org/dromara/easyai/yolo/YoloBody.java
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user