forked from gzzfw/backEnd/gz-dyh

wangwh
2024-10-25 0d514ca5405b42b3d31e2e68d7a1e9e834cae706
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();