|
@@ -577,6 +577,7 @@ export default {
|
|
|
);
|
|
|
if (result && result.length >= 2) {
|
|
|
this.corFinalResult.result = false;
|
|
|
+ this.corFinalResult.stranger = true;
|
|
|
this.corFinalResult.errorMsg = "检测过程中多人脸失败";
|
|
|
console.log("检测过程中多人脸失败");
|
|
|
this.failedTest("检测到多张人脸!活体检测失败!");
|
|
@@ -592,6 +593,7 @@ export default {
|
|
|
this.singleFaceFailedTimes / this.totalDetectTimes >= 0.2
|
|
|
) {
|
|
|
this.corFinalResult.result = false;
|
|
|
+ this.corFinalResult.waggleOutCamera = true;
|
|
|
this.corFinalResult.errorMsg = "检测过程人脸晃出摄像头";
|
|
|
console.log("检测过程人脸晃出摄像头");
|
|
|
this.failedTest("活检过程中没有检测到人脸!活体检测失败!");
|