Compare commits
2 Commits
5a82a9507a
...
deba2b84f0
| Author | SHA1 | Date | |
|---|---|---|---|
| deba2b84f0 | |||
| 85d8efc493 |
@@ -36,6 +36,7 @@ import com.kamco.cd.kamcoback.scheduler.dto.JobStatusDto;
|
|||||||
import jakarta.persistence.EntityManager;
|
import jakarta.persistence.EntityManager;
|
||||||
import jakarta.persistence.EntityNotFoundException;
|
import jakarta.persistence.EntityNotFoundException;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
import java.time.ZonedDateTime;
|
import java.time.ZonedDateTime;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
@@ -453,12 +454,18 @@ public class InferenceResultCoreService {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public AnalResultInfo getInferenceResultInfo(UUID uuid) {
|
public AnalResultInfo getInferenceResultInfo(UUID uuid) {
|
||||||
|
|
||||||
// 추론 결과 정보조회
|
// 추론 결과 정보조회
|
||||||
|
log.info("get inference result info start time = {}", LocalDateTime.now());
|
||||||
AnalResultInfo resultInfo = mapSheetLearnRepository.getInferenceResultInfo(uuid);
|
AnalResultInfo resultInfo = mapSheetLearnRepository.getInferenceResultInfo(uuid);
|
||||||
|
log.info("get inference result info end time = {}", LocalDateTime.now());
|
||||||
// bbox, point 조회
|
// bbox, point 조회
|
||||||
|
log.info("get inference result info bbox start time = {}", LocalDateTime.now());
|
||||||
BboxPointDto bboxPointDto = mapSheetLearnRepository.getBboxPoint(uuid);
|
BboxPointDto bboxPointDto = mapSheetLearnRepository.getBboxPoint(uuid);
|
||||||
|
log.info("get inference result info bbox end time = {}", LocalDateTime.now());
|
||||||
resultInfo.setBboxGeom(bboxPointDto.getBboxGeom());
|
resultInfo.setBboxGeom(bboxPointDto.getBboxGeom());
|
||||||
resultInfo.setBboxCenterPoint(bboxPointDto.getBboxCenterPoint());
|
resultInfo.setBboxCenterPoint(bboxPointDto.getBboxCenterPoint());
|
||||||
|
|
||||||
return resultInfo;
|
return resultInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -469,7 +476,10 @@ public class InferenceResultCoreService {
|
|||||||
* @return 분류별 탐지건수 정보
|
* @return 분류별 탐지건수 정보
|
||||||
*/
|
*/
|
||||||
public List<Dashboard> getInferenceClassCountList(UUID uuid) {
|
public List<Dashboard> getInferenceClassCountList(UUID uuid) {
|
||||||
return mapSheetLearnRepository.getInferenceClassCountList(uuid);
|
log.info("get inference class count list start time = {}", LocalDateTime.now());
|
||||||
|
List<Dashboard> classCountList = mapSheetLearnRepository.getInferenceClassCountList(uuid);
|
||||||
|
log.info("get inference class count list end time = {}", LocalDateTime.now());
|
||||||
|
return classCountList;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -478,7 +488,11 @@ public class InferenceResultCoreService {
|
|||||||
* @return geom 목록 정보
|
* @return geom 목록 정보
|
||||||
*/
|
*/
|
||||||
public Page<Geom> getInferenceGeomList(UUID uuid, SearchGeoReq searchGeoReq) {
|
public Page<Geom> getInferenceGeomList(UUID uuid, SearchGeoReq searchGeoReq) {
|
||||||
return mapSheetLearnRepository.getInferenceGeomList(uuid, searchGeoReq);
|
log.info("get Inference Geom List start time = {}", LocalDateTime.now());
|
||||||
|
Page<Geom> geom = mapSheetLearnRepository.getInferenceGeomList(uuid, searchGeoReq);
|
||||||
|
log.info("get Inference Geom List end time = {}", LocalDateTime.now());
|
||||||
|
|
||||||
|
return geom;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import com.kamco.cd.kamcoback.scheduler.service.GukYuinApiStbltJobService;
|
|||||||
import com.kamco.cd.kamcoback.scheduler.service.MemberInactiveJobService;
|
import com.kamco.cd.kamcoback.scheduler.service.MemberInactiveJobService;
|
||||||
import com.kamco.cd.kamcoback.scheduler.service.TrainingDataLabelJobService;
|
import com.kamco.cd.kamcoback.scheduler.service.TrainingDataLabelJobService;
|
||||||
import com.kamco.cd.kamcoback.scheduler.service.TrainingDataReviewJobService;
|
import com.kamco.cd.kamcoback.scheduler.service.TrainingDataReviewJobService;
|
||||||
|
import io.swagger.v3.oas.annotations.Hidden;
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.Parameter;
|
import io.swagger.v3.oas.annotations.Parameter;
|
||||||
import io.swagger.v3.oas.annotations.media.Content;
|
import io.swagger.v3.oas.annotations.media.Content;
|
||||||
@@ -143,6 +144,7 @@ public class SchedulerApiController {
|
|||||||
return ApiResponseDto.createOK("OK");
|
return ApiResponseDto.createOK("OK");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Hidden
|
||||||
@Operation(summary = "추론결과 데이터 저장", description = "추론결과 데이터 저장")
|
@Operation(summary = "추론결과 데이터 저장", description = "추론결과 데이터 저장")
|
||||||
@ApiResponses(
|
@ApiResponses(
|
||||||
value = {
|
value = {
|
||||||
|
|||||||
Reference in New Issue
Block a user