海康的人脸评分100%成功

This commit is contained in:
guoshengxiong 2024-05-20 14:45:37 +08:00
parent 8e1325c9e5
commit a19da3d721

View File

@ -124,7 +124,8 @@ public class UfaceRecognitionController {
//base64可能卡
//param.put("facePicBinaryData", Base64Util.convertFileToBase64(PathUtil.reviseSlash(basePath + "/" + fileUrl)));
param.put("facePicUrl", PathUtil.reviseSlash(imageUrlPrefix + "/" + fileUrl));
boolean b = hikvisionCall.faceScore(project, param);
//boolean b = hikvisionCall.faceScore(project, param);
boolean b = true;
if (b) {
data.put("checkType", "1");
data.put("message", "成功");