dengsixing 1 月之前
父节点
当前提交
fb269e8ade
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/fdkankan/contro/service/impl/JmgaServiceImpl.java

+ 2 - 2
src/main/java/com/fdkankan/contro/service/impl/JmgaServiceImpl.java

@@ -134,13 +134,13 @@ public class JmgaServiceImpl implements IJmgaService {
                 }
             }
         }
-        if(camType == 6){
+        if(camType == 5){
             String parametersPath = dataSource.concat(File.separator).concat("capture").concat(File.separator).concat("images/parameters.json");
             if(!FileUtil.exist(parametersPath)){
                 throw new BusinessException(ErrorCode.FAILURE_CODE_4001.code(), ErrorCode.FAILURE_CODE_4001.formatMessage("parameters.json"));
             }
 
-            String sfmDataBinPath = dataSource.concat(File.separator).concat("capture").concat(File.separator).concat("result/reconstructio/sfm_data.bin");
+            String sfmDataBinPath = dataSource.concat(File.separator).concat("capture").concat(File.separator).concat("result/reconstruction/sfm_data.bin");
             if(!FileUtil.exist(sfmDataBinPath)){
                 throw new BusinessException(ErrorCode.FAILURE_CODE_4001.code(), ErrorCode.FAILURE_CODE_4001.formatMessage("sfm_data.bin"));
             }