idmission-web-sdk 2.1.109 → 2.1.110

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.
@@ -1 +1 @@
1
- export declare const defaultDocumentDetectorModelPath = "https://websdk-cdn-dev.idmission.com/assets/models/docdetectmp20240825/model_fp16.tflite";
1
+ export declare const defaultDocumentDetectorModelPath = "https://websdk-cdn-dev.idmission.com/assets/models/DocumentDetector/DocumentDetector-20241010_134238.tflite";
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
234
234
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
235
235
  };
236
236
 
237
- var webSdkVersion = '2.1.109';
237
+ var webSdkVersion = '2.1.110';
238
238
 
239
239
  function getPlatform() {
240
240
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -2778,7 +2778,7 @@ function average(arr) {
2778
2778
 
2779
2779
  var DEFAULT_CDN_URL = 'https://websdk-cdn-dev.idmission.com/assets';
2780
2780
 
2781
- var defaultDocumentDetectorModelPath = "".concat(DEFAULT_CDN_URL, "/models/docdetectmp20240825/model_fp16.tflite");
2781
+ var defaultDocumentDetectorModelPath = "".concat(DEFAULT_CDN_URL, "/models/DocumentDetector/DocumentDetector-20241010_134238.tflite");
2782
2782
 
2783
2783
  var defaultFocusModelPath = "".concat(DEFAULT_CDN_URL, "/models/Focus/Focus-20241008_102708.tflite");
2784
2784
 
@@ -5274,7 +5274,7 @@ function processFaceDetectorPrediction(_a) {
5274
5274
  _b = _a.requireVerticalFaceCentering,
5275
5275
  requireVerticalFaceCentering = _b === void 0 ? true : _b,
5276
5276
  _c = _a.stabilityThreshold,
5277
- stabilityThreshold = _c === void 0 ? 0.9 : _c;
5277
+ stabilityThreshold = _c === void 0 ? 0.8 : _c;
5278
5278
  var face = faces[0];
5279
5279
  var faceNotDetected = faces.length === 0;
5280
5280
  var faceNotCentered = requireVerticalFaceCentering,
@@ -5613,8 +5613,7 @@ function loadDocumentDetector() {
5613
5613
  delegate: modelCapabilities.delegate
5614
5614
  },
5615
5615
  scoreThreshold: scoreThreshold,
5616
- runningMode: 'VIDEO',
5617
- maxResults: 3
5616
+ runningMode: 'VIDEO'
5618
5617
  }])];
5619
5618
  case 3:
5620
5619
  _a[_b] = _e.sent();