|
|
@ -86,7 +86,7 @@ public class OcrSimulatorController{
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
semanticRequestBody.put("scenes",0);
|
|
|
|
semanticRequestBody.put("scenes",0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
log.info("ocr识别模型请求参数:{}",semanticRequestBody.toJSONString());
|
|
|
|
JSONObject semanticResponseJson = RestUtil.post(OcrConstant.api_test2_identify_url, semanticRequestBody);
|
|
|
|
JSONObject semanticResponseJson = RestUtil.post(OcrConstant.api_test2_identify_url, semanticRequestBody);
|
|
|
|
//执行时间 调整小数点
|
|
|
|
//执行时间 调整小数点
|
|
|
|
Double nluTime = semanticResponseJson.getDouble("nlu_time");
|
|
|
|
Double nluTime = semanticResponseJson.getDouble("nlu_time");
|
|
|
|