|
|
@ -127,6 +127,7 @@ public class OcrIdentifyController extends JeecgController<OcrIdentify, IOcrIden
|
|
|
|
}
|
|
|
|
}
|
|
|
|
AssertUtils.hasSize(fileList, "图片目录下未获取到可使用的图片格式文件");
|
|
|
|
AssertUtils.hasSize(fileList, "图片目录下未获取到可使用的图片格式文件");
|
|
|
|
ocrIdentify.setTaskSource("平台");
|
|
|
|
ocrIdentify.setTaskSource("平台");
|
|
|
|
|
|
|
|
ocrIdentify.setStatus("0");
|
|
|
|
ocrIdentifyService.save(ocrIdentify);
|
|
|
|
ocrIdentifyService.save(ocrIdentify);
|
|
|
|
//3.请求python ocr识别,异步执行
|
|
|
|
//3.请求python ocr识别,异步执行
|
|
|
|
ocrIdentifyService.postSemantic(ocrIdentify, fileList);
|
|
|
|
ocrIdentifyService.postSemantic(ocrIdentify, fileList);
|
|
|
|