|
|
|
@ -221,6 +221,7 @@ public class ApiController {
|
|
|
|
|
//获取已执行完的任务
|
|
|
|
|
//List<OcrIdentify> list = ocrIdentifyService.list(new LambdaQueryWrapper<OcrIdentify>());
|
|
|
|
|
List<OcrIdentifyDetail> list = ocrIdentifyDetailService.list();
|
|
|
|
|
int i=0;
|
|
|
|
|
for (OcrIdentifyDetail ocrIdentifyDetail : list) {
|
|
|
|
|
String imgPath = ocrIdentifyDetail.getImageUrl();
|
|
|
|
|
JSONObject semanticResult = JSONObject.parseObject(ocrIdentifyDetail.getSemanticResult());
|
|
|
|
@ -238,6 +239,8 @@ public class ApiController {
|
|
|
|
|
ocrIdentifyDetail.setDrawDashedImageUrl(outputImagePath);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
i++;
|
|
|
|
|
System.out.println(i);
|
|
|
|
|
}
|
|
|
|
|
ocrIdentifyDetailService.updateBatchById(list);
|
|
|
|
|
/*int i =0;
|
|
|
|
|