|
|
@ -91,10 +91,9 @@ public class OcrSimulatorController{
|
|
|
|
ocrIdentifyDetailService.saveBatch(ocrIdentifyDetailList);
|
|
|
|
ocrIdentifyDetailService.saveBatch(ocrIdentifyDetailList);
|
|
|
|
|
|
|
|
|
|
|
|
//返回前端的json
|
|
|
|
//返回前端的json
|
|
|
|
JSONObject responseObject=new JSONObject();
|
|
|
|
responseBody.put("ocrTime",ocrTimeSum);
|
|
|
|
responseObject.put("ocrTime",ocrTimeSum);
|
|
|
|
responseBody.put("nluTime",nluTimeSum);
|
|
|
|
responseObject.put("nluTime",nluTimeSum);
|
|
|
|
responseBody.put("detailList",ocrIdentifyDetailList);
|
|
|
|
responseObject.put("detailList",ocrIdentifyDetailList);
|
|
|
|
|
|
|
|
return Result.OK(responseBody);
|
|
|
|
return Result.OK(responseBody);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|