@ekyc_qoobiss/qbs-ect-cmp 3.6.21 → 3.6.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2166,10 +2166,10 @@ class FaceML5Detector {
2166
2166
  delay(2000).then(() => this.detectFaces());
2167
2167
  }
2168
2168
  detectFaces() {
2169
- if (this.validFaceFound) {
2169
+ if (this.validFaceFound || this.validFacePose) {
2170
2170
  if (this.start == null)
2171
2171
  this.start = Date.now();
2172
- if (Date.now() > this.start + 3000) {
2172
+ if (Date.now() > this.start + 2000) {
2173
2173
  this.continue = false;
2174
2174
  this.stream.verificationReady();
2175
2175
  }
@@ -5835,7 +5835,7 @@ function v4(options, buf, offset) {
5835
5835
  }
5836
5836
 
5837
5837
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5838
- const version$1 = "3.6.21";
5838
+ const version$1 = "3.6.22";
5839
5839
  const description = "Person Identification Component";
5840
5840
  const main = "./dist/index.cjs.js";
5841
5841
  const module$1 = "./dist/index.js";
@@ -54,10 +54,10 @@ export class FaceML5Detector {
54
54
  delay(2000).then(() => this.detectFaces());
55
55
  }
56
56
  detectFaces() {
57
- if (this.validFaceFound) {
57
+ if (this.validFaceFound || this.validFacePose) {
58
58
  if (this.start == null)
59
59
  this.start = Date.now();
60
- if (Date.now() > this.start + 3000) {
60
+ if (Date.now() > this.start + 2000) {
61
61
  this.continue = false;
62
62
  this.stream.verificationReady();
63
63
  }
@@ -2162,10 +2162,10 @@ class FaceML5Detector {
2162
2162
  delay(2000).then(() => this.detectFaces());
2163
2163
  }
2164
2164
  detectFaces() {
2165
- if (this.validFaceFound) {
2165
+ if (this.validFaceFound || this.validFacePose) {
2166
2166
  if (this.start == null)
2167
2167
  this.start = Date.now();
2168
- if (Date.now() > this.start + 3000) {
2168
+ if (Date.now() > this.start + 2000) {
2169
2169
  this.continue = false;
2170
2170
  this.stream.verificationReady();
2171
2171
  }
@@ -5831,7 +5831,7 @@ function v4(options, buf, offset) {
5831
5831
  }
5832
5832
 
5833
5833
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5834
- const version$1 = "3.6.21";
5834
+ const version$1 = "3.6.22";
5835
5835
  const description = "Person Identification Component";
5836
5836
  const main = "./dist/index.cjs.js";
5837
5837
  const module = "./dist/index.js";