master
周文涛 2 years ago
parent 019d2e9a25
commit a7986f6d13

@ -975,8 +975,7 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
if (StringUtils.isNotBlank(time)) {
sourceJson.add(JSONObject.parseObject(String.format("{\"tag\":\"time\", \"inputText\":\"%s\"}", time)));
}
JSONObject semanticResult = JSONObject.parseObject(semanticResultJson);
JSONObject semanticResult = JSONObject.parseObject(ocrIdentifyDetail.getSemanticResult());
File file = new File(imgPath);
//当原图片存在时.
if (file.exists()) {

Loading…
Cancel
Save