|
@@ -221,7 +221,7 @@
|
|
|
methods: {
|
|
|
getface( val){
|
|
|
this.imgbase64 = val;
|
|
|
- let now = parseInt( Date.now()/1000 );
|
|
|
+ let now = parseInt( Date.now()/2000 );
|
|
|
if( !this.identifyFacePass && this.prevCollect != now ){
|
|
|
this.prevCollect = now
|
|
|
this.photograph("video2")
|
|
@@ -412,9 +412,9 @@
|
|
|
this.doPause()
|
|
|
}
|
|
|
// 人脸认证
|
|
|
- if (this.tickNum % 3 == 1) {
|
|
|
- this.photograph( "video2" );
|
|
|
- }
|
|
|
+ // if (this.tickNum % 3 == 1) {
|
|
|
+ // this.photograph( "video2" );
|
|
|
+ // }
|
|
|
return;
|
|
|
};
|
|
|
// 未开始
|