|
@@ -83,8 +83,8 @@ public class FaceVerifyServiceImpl implements FaceVerifyService {
|
|
|
FaceApiType.PRIVATE_BAIDU_API == faceParam.getApiType();
|
|
|
|
|
|
Map<String, String> imageData = this.buildImageParamForBaidu(faceParam.getImages()[0], usePrivateBaiduApi);
|
|
|
- imageData.put("face_field", "spoofing,face_type,gender,age");
|
|
|
- imageData.put("liveness_control", "NORMAL");
|
|
|
+ // imageData.put("face_field", "spoofing,face_type,gender,age");
|
|
|
+ imageData.put("liveness_control", "NONE");
|
|
|
imageData.put("max_face_num", "2");
|
|
|
String params = new JsonHelper().toJson(imageData);
|
|
|
|