forked from gzzfw/backEnd/gz-dyh

liyj
2024-10-21 051effad5a4885f28c4ead26e8e8c0da1b3d91d2
dyh-service/dyh-sys/src/main/java/cn/huge/module/utils/BaiduOcrUtils.java
@@ -57,6 +57,7 @@
            options.put("detect_direction", "true");
            options.put("detect_risk", "true");
            JSONObject json = client.idcard(images, idCardSide, options);
            log.info("xsd:{}",json);
            JSONObject result = json.getJSONObject("words_result");
            // 解析识别结果
            IdcardOcrResultDTO idcardOcrResultDTO = new IdcardOcrResultDTO();