master
周文涛 2 years ago
parent b758bd4f87
commit e38f4b4aa1

@ -718,7 +718,7 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
ocrIdentifyDetail.setThumbnailImageUrl(outputImagePath); ocrIdentifyDetail.setThumbnailImageUrl(outputImagePath);
}*/ }*/
//绘制虚线 //绘制虚线
/*if (true) { if (true) {
JSONObject semanticResult2 = semanticResult.getJSONObject("semantic_result"); JSONObject semanticResult2 = semanticResult.getJSONObject("semantic_result");
String fileUrl = "/data/ocrImage/drawDashed" + imgPath.substring(0, i); String fileUrl = "/data/ocrImage/drawDashed" + imgPath.substring(0, i);
@ -733,7 +733,7 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
imgPath = outputImagePath; imgPath = outputImagePath;
} }
} }
}*/ }
} }
OcrRuleCheckDTO ocrRuleCheckVo = ocrRuleCheckService.findById(simulateChecksVO.getRuleCheckId()); OcrRuleCheckDTO ocrRuleCheckVo = ocrRuleCheckService.findById(simulateChecksVO.getRuleCheckId());
@ -873,7 +873,6 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
} }
responseBody.put("min",min); responseBody.put("min",min);
responseBody.put("max",max); responseBody.put("max",max);
responseBody.put("detailList", ocrResultDTOList); responseBody.put("detailList", ocrResultDTOList);
//============ //============
return responseBody; return responseBody;

Loading…
Cancel
Save