@ekyc_qoobiss/qbs-ect-cmp 1.12.8 → 1.12.9

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.
@@ -1938,9 +1938,6 @@ class IDML5Detector {
1938
1938
  this.stream.verificationReady();
1939
1939
  }
1940
1940
  }
1941
- if (this.full == 1 && this.tilted == 0) {
1942
- this.stream.autoCapturing();
1943
- }
1944
1941
  if (Date.now() - this.initTime >= this.MAX_DETECTION) {
1945
1942
  this.continue = false;
1946
1943
  this.stream.timeElapsed();
@@ -1956,6 +1953,7 @@ class IDML5Detector {
1956
1953
  }
1957
1954
  if (results[0].label == 'full' && results[0].confidence > 0.9 && this.full == 0) {
1958
1955
  this.full = 1;
1956
+ this.stream.autoCapturing();
1959
1957
  await this.drawFrame('green');
1960
1958
  this.stream.changeIDPose(IDPose.Tilted);
1961
1959
  await this.delay(GlobalValues.VideoLenght);
@@ -43,9 +43,6 @@ export class IDML5Detector {
43
43
  this.stream.verificationReady();
44
44
  }
45
45
  }
46
- if (this.full == 1 && this.tilted == 0) {
47
- this.stream.autoCapturing();
48
- }
49
46
  if (Date.now() - this.initTime >= this.MAX_DETECTION) {
50
47
  this.continue = false;
51
48
  this.stream.timeElapsed();
@@ -61,6 +58,7 @@ export class IDML5Detector {
61
58
  }
62
59
  if (results[0].label == 'full' && results[0].confidence > 0.9 && this.full == 0) {
63
60
  this.full = 1;
61
+ this.stream.autoCapturing();
64
62
  await this.drawFrame('green');
65
63
  this.stream.changeIDPose(IDPose.Tilted);
66
64
  await this.delay(GlobalValues.VideoLenght);
@@ -1934,9 +1934,6 @@ class IDML5Detector {
1934
1934
  this.stream.verificationReady();
1935
1935
  }
1936
1936
  }
1937
- if (this.full == 1 && this.tilted == 0) {
1938
- this.stream.autoCapturing();
1939
- }
1940
1937
  if (Date.now() - this.initTime >= this.MAX_DETECTION) {
1941
1938
  this.continue = false;
1942
1939
  this.stream.timeElapsed();
@@ -1952,6 +1949,7 @@ class IDML5Detector {
1952
1949
  }
1953
1950
  if (results[0].label == 'full' && results[0].confidence > 0.9 && this.full == 0) {
1954
1951
  this.full = 1;
1952
+ this.stream.autoCapturing();
1955
1953
  await this.drawFrame('green');
1956
1954
  this.stream.changeIDPose(IDPose.Tilted);
1957
1955
  await this.delay(GlobalValues.VideoLenght);