类 DetectionRectangle
- java.lang.Object
-
- cn.smartjavaai.common.entity.DetectionRectangle
-
public class DetectionRectangle extends Object
检测结果-矩形区域- 作者:
- dwj
-
-
构造器概要
构造器 构造器 说明 DetectionRectangle()DetectionRectangle(int x, int y, int width, int height, float score)DetectionRectangle(int x, int y, int width, int height, float score, String className)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetClassName()intgetHeight()List<Point>getKeyPoints()floatgetScore()intgetWidth()intgetX()intgetY()voidsetClassName(String className)voidsetHeight(int height)voidsetKeyPoints(List<Point> keyPoints)voidsetScore(float score)voidsetWidth(int width)voidsetX(int x)voidsetY(int y)
-
-
-
字段详细资料
-
x
public int x
-
y
public int y
-
width
public int width
-
height
public int height
-
score
public float score
-
className
public String className
-
-
构造器详细资料
-
DetectionRectangle
public DetectionRectangle()
-
DetectionRectangle
public DetectionRectangle(int x, int y, int width, int height, float score)
-
DetectionRectangle
public DetectionRectangle(int x, int y, int width, int height, float score, String className)
-
-
方法详细资料
-
getX
public int getX()
-
setX
public void setX(int x)
-
getY
public int getY()
-
setY
public void setY(int y)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
getScore
public float getScore()
-
setScore
public void setScore(float score)
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
-