|
@@ -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");
|
|
String parametersPath = dataSource.concat(File.separator).concat("capture").concat(File.separator).concat("images/parameters.json");
|
|
if(!FileUtil.exist(parametersPath)){
|
|
if(!FileUtil.exist(parametersPath)){
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_4001.code(), ErrorCode.FAILURE_CODE_4001.formatMessage("parameters.json"));
|
|
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)){
|
|
if(!FileUtil.exist(sfmDataBinPath)){
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_4001.code(), ErrorCode.FAILURE_CODE_4001.formatMessage("sfm_data.bin"));
|
|
throw new BusinessException(ErrorCode.FAILURE_CODE_4001.code(), ErrorCode.FAILURE_CODE_4001.formatMessage("sfm_data.bin"));
|
|
}
|
|
}
|