master
周文涛 2 years ago
parent 575ba02918
commit 53677a8222

@ -444,6 +444,9 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
ocrResult.setInputText(inputText); ocrResult.setInputText(inputText);
ocrResult.setOcrPrecisionRate(ocrPrecisionRate == null ? 0d : ocrPrecisionRate); ocrResult.setOcrPrecisionRate(ocrPrecisionRate == null ? 0d : ocrPrecisionRate);
System.out.println("-----------------");
System.out.println(failureReason);
System.out.println("-----------------");
if (StringUtils.isNotBlank(imgPath)) { if (StringUtils.isNotBlank(imgPath)) {
SourceImage sourceImage = new SourceImage(); SourceImage sourceImage = new SourceImage();
sourceImage.setPath(imgPath); sourceImage.setPath(imgPath);

Loading…
Cancel
Save