|
|
@@ -324,9 +324,6 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
/**
|
|
|
* 验证照片是否居中
|
|
|
* @param base
|
|
|
- * @param id
|
|
|
- * @param redisCount
|
|
|
- * @param count
|
|
|
* @return
|
|
|
*/
|
|
|
public boolean imageCenter(File base) {
|
|
|
@@ -456,7 +453,6 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
List<Face3DAngle> face3DAngleList = new ArrayList<Face3DAngle>();
|
|
|
errorCode = faceEngine.getFace3DAngle(face3DAngleList);
|
|
|
if (CollectionUtils.isEmpty(face3DAngleList)){
|
|
|
- redis.increment(redisCount);
|
|
|
return ResultCode.IMAGE_NOT_STANDARD;
|
|
|
}
|
|
|
//俯仰角
|
|
|
@@ -468,7 +464,6 @@ public class NotaryDomainImpl implements NotaryDomain {
|
|
|
if (pitch >= 10 || yaw >= 10) {
|
|
|
//照片不符合标准
|
|
|
log.info("图片不符合标准");
|
|
|
- redis.increment(redisCount);
|
|
|
return ResultCode.IMAGE_NOT_STANDARD;
|
|
|
}
|
|
|
//活体检测
|