diff --git a/src/main/java/com/aisip/OnO/backend/Dto/Process/ImageProcessRegisterDto.java b/src/main/java/com/aisip/OnO/backend/Dto/Process/ImageProcessRegisterDto.java index 182e354..082746c 100644 --- a/src/main/java/com/aisip/OnO/backend/Dto/Process/ImageProcessRegisterDto.java +++ b/src/main/java/com/aisip/OnO/backend/Dto/Process/ImageProcessRegisterDto.java @@ -16,5 +16,6 @@ public class ImageProcessRegisterDto { private String fullUrl; private List> colorsList; private List> points; + private List labels; private int intensity; } diff --git a/src/main/java/com/aisip/OnO/backend/service/FileUploadServiceImpl.java b/src/main/java/com/aisip/OnO/backend/service/FileUploadServiceImpl.java index d761bd7..63270a8 100644 --- a/src/main/java/com/aisip/OnO/backend/service/FileUploadServiceImpl.java +++ b/src/main/java/com/aisip/OnO/backend/service/FileUploadServiceImpl.java @@ -84,7 +84,8 @@ public String getProcessImage(ImageProcessRegisterDto imageProcessRegisterDto) { String url = fastApiUrl; if(imageProcessRegisterDto.getColorsList() != null){ - log.info("color list: " + imageProcessRegisterDto.getColorsList()); + log.info("intensity: " + imageProcessRegisterDto.getIntensity()); + log.info("remove colors on problemImage by colors: " + imageProcessRegisterDto.getColorsList()); url += "/process-color"; } else if (imageProcessRegisterDto.getPoints() != null){ log.info("point list: " + imageProcessRegisterDto.getPoints().toString()); @@ -98,9 +99,6 @@ public String getProcessImage(ImageProcessRegisterDto imageProcessRegisterDto) { HttpEntity request = new HttpEntity<>(imageProcessRegisterDto, headers); - log.info("intensity: " + imageProcessRegisterDto.getIntensity()); - log.info("remove colors on problemImage by colors: " + imageProcessRegisterDto.getColorsList()); - try { ResponseEntity response = restTemplate.postForEntity(url, request, String.class); diff --git a/src/main/resources/templates/problems.html b/src/main/resources/templates/problems.html index e1b42e6..db786f9 100644 --- a/src/main/resources/templates/problems.html +++ b/src/main/resources/templates/problems.html @@ -38,7 +38,9 @@

전체 문제 목록

ID + 템플릿 타입 폴더 ID 출처 @@ -57,7 +59,7 @@

전체 문제 목록

problemId - userName + templateType folderId Reference diff --git a/src/main/resources/templates/user.html b/src/main/resources/templates/user.html index ea8e77c..357ac37 100644 --- a/src/main/resources/templates/user.html +++ b/src/main/resources/templates/user.html @@ -41,9 +41,10 @@

유저 상세 정보

- + + diff --git a/src/main/resources/templates/users.html b/src/main/resources/templates/users.html index 919c016..ec4f38a 100644 --- a/src/main/resources/templates/users.html +++ b/src/main/resources/templates/users.html @@ -17,9 +17,11 @@

전체 유저 목록

IDUser ID 1
식별자 identifier
- + + @@ -30,8 +32,10 @@

전체 유저 목록

+
IDUser ID 식별자 유저 유형 문제 수
1 identifier GUEST