From 94792e4e3153763eaa3e412c2d37e7b51d3d67bb Mon Sep 17 00:00:00 2001 From: inter Date: Thu, 4 Sep 2025 14:09:14 +0800 Subject: [PATCH] Add File --- .../org/dromara/easyai/yolo/YoloBody.java | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/main/java/org/dromara/easyai/yolo/YoloBody.java diff --git a/src/main/java/org/dromara/easyai/yolo/YoloBody.java b/src/main/java/org/dromara/easyai/yolo/YoloBody.java new file mode 100644 index 0000000..9dfec5b --- /dev/null +++ b/src/main/java/org/dromara/easyai/yolo/YoloBody.java @@ -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; + } +}