Add File
This commit is contained in:
94
src/main/java/org/dromara/easyai/entity/Box.java
Normal file
94
src/main/java/org/dromara/easyai/entity/Box.java
Normal file
@@ -0,0 +1,94 @@
|
||||
package org.dromara.easyai.entity;
|
||||
|
||||
import org.dromara.easyai.matrixTools.Matrix;
|
||||
|
||||
/**
|
||||
* @param
|
||||
* @DATA
|
||||
* @Author LiDaPeng
|
||||
* @Description
|
||||
*/
|
||||
public class Box {
|
||||
private int x;
|
||||
private int y;
|
||||
private int xSize;
|
||||
private int ySize;
|
||||
private float confidence;
|
||||
private int typeID;//类别id
|
||||
private Matrix featureMatrix;//特征矩阵
|
||||
//识别参数
|
||||
private int realX;//识别X
|
||||
private int realY;//识别Y
|
||||
|
||||
public Matrix getFeatureMatrix() {
|
||||
return featureMatrix;
|
||||
}
|
||||
|
||||
public void setFeatureMatrix(Matrix featureMatrix) {
|
||||
this.featureMatrix = featureMatrix;
|
||||
}
|
||||
|
||||
public int getTypeID() {
|
||||
return typeID;
|
||||
}
|
||||
|
||||
public void setTypeID(int typeID) {
|
||||
this.typeID = typeID;
|
||||
}
|
||||
|
||||
public int getRealX() {
|
||||
return realX;
|
||||
}
|
||||
|
||||
public void setRealX(int realX) {
|
||||
this.realX = realX;
|
||||
}
|
||||
|
||||
public int getRealY() {
|
||||
return realY;
|
||||
}
|
||||
|
||||
public void setRealY(int realY) {
|
||||
this.realY = realY;
|
||||
}
|
||||
|
||||
public float getConfidence() {
|
||||
return confidence;
|
||||
}
|
||||
|
||||
public void setConfidence(float confidence) {
|
||||
this.confidence = confidence;
|
||||
}
|
||||
|
||||
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 getxSize() {
|
||||
return xSize;
|
||||
}
|
||||
|
||||
public void setxSize(int xSize) {
|
||||
this.xSize = xSize;
|
||||
}
|
||||
|
||||
public int getySize() {
|
||||
return ySize;
|
||||
}
|
||||
|
||||
public void setySize(int ySize) {
|
||||
this.ySize = ySize;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user