Browse Source

/*模拟红外结果类型设置为infra_yu3*/

master
htjcAdmin 8 months ago
parent
commit
85bd3cf5e9
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/main/java/com/inspect/simulator/service/impl/AlgorithmServiceImpl.java

+ 3
- 2
src/main/java/com/inspect/simulator/service/impl/AlgorithmServiceImpl.java View File

@ -57,7 +57,7 @@ public class AlgorithmServiceImpl implements AlgorithmService {
analyseResPoint.setValue("0");
analyseResPoint.setConf("0.85");
analyseResPoint.setCode("2000");
analyseResPoint.setType("meter");
analyseResPoint.setType("infra_yu3");
analyseResPoint.setResImageUrl(analyseRequest.getObjectList().get(0).getImageUrlList()[0]);
List<AnalyseResPoint> analyseResPoints = new ArrayList<>();
analyseResPoints.add(analyseResPoint);
@ -93,6 +93,7 @@ public class AlgorithmServiceImpl implements AlgorithmService {
analyseResPoint.setValue("1");
analyseResPoint.setConf("0.95");
analyseResPoint.setCode("2000");
analyseResPoint.setType("infra_yu3");
analyseResPoint.setResImageUrl(analyseRequest.getObjectList().get(0).getImageUrlList()[0]);
List<AnalyseResPoint> analyseResPoints = new ArrayList<>();
analyseResPoints.add(analyseResPoint);
@ -201,7 +202,7 @@ public class AlgorithmServiceImpl implements AlgorithmService {
}
analyseResPoint.setConf(String.format("%.2f", (double) infraredInfo.getFrameMax()));
analyseResPoint.setResImageUrl(infraredInfo.getOutPath());
analyseResPoint.setType("infra_yu3");
analyseResPoint.setCode("2000");
// analyseResPoint.setResImageUrl(analyseRequest.getObjectList().get(0).getImageUrlList()[0]);
List<AnalyseResPoint> analyseResPoints = new ArrayList<>();


Loading…
Cancel
Save