feat: class name

This commit is contained in:
2025-12-02 14:37:34 +09:00
parent 60e962069d
commit 79e645e51f
2 changed files with 17 additions and 11 deletions

View File

@@ -196,11 +196,17 @@ public class InferenceResultDto {
// classification info
@Getter
@AllArgsConstructor
public static class Clazz {
private String code;
private String name;
private Double score;
public Clazz(String code, Double score) {
this.code = code;
this.score = score;
this.name = DetectionClassification.fromString(code).getDesc();
}
}
// 좌표 정보 point