配置文件修改

dev
郭向斌 2 years ago
parent 52e71d8b89
commit 1a4c517d95

@ -78,7 +78,7 @@ public class OcrSimulatorController{
ocrIdentifyDetail.setImageUrl(uploadFilePath + "/" + image);//图片地址 ocrIdentifyDetail.setImageUrl(uploadFilePath + "/" + image);//图片地址
semanticRequestBody.put("img_path", uploadFilePath + "/" + image); semanticRequestBody.put("img_path", uploadFilePath + "/" + image);
} }
if(ocrIdentify.getTaskType()!=null&&ocrIdentify.equals("1699246961812586497")){ if(ocrIdentify.getTaskType()!=null&&ocrIdentify.getTaskType().equals("1699246961812586497")){
semanticRequestBody.put("scenes",1); semanticRequestBody.put("scenes",1);
List<String> schema=new ArrayList<>(); List<String> schema=new ArrayList<>();
schema.add("姓名");schema.add("年龄");schema.add("主要症状");schema.add("体征");schema.add("入院时主要症状和体征"); schema.add("姓名");schema.add("年龄");schema.add("主要症状");schema.add("体征");schema.add("入院时主要症状和体征");

Loading…
Cancel
Save