@jaak.ai/stamps 2.0.0-beta.5 → 2.0.0-beta.7

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.
package/README.md CHANGED
@@ -59,7 +59,7 @@ yarn add @jaak.ai/stamps
59
59
  | Property | Type | Default | Description |
60
60
  |----------|------|---------|-------------|
61
61
  | `debug` | `boolean` | `false` | Enable debug mode with additional logging and overlays |
62
- | `mask-size` | `number` | `80` | Size percentage of the document detection mask |
62
+ | `mask-size` | `number` | `90` | Size percentage of the document detection mask |
63
63
  | `alignment-tolerance` | `number` | `15` | Tolerance level for document alignment detection |
64
64
  | `capture-delay` | `number` | `1500` | Delay in milliseconds before automatic capture |
65
65
  | `crop-margin` | `number` | `20` | Margin in pixels around detected document for cropping |
@@ -1309,7 +1309,7 @@ const JaakStamps = class {
1309
1309
  get el() { return index.getElement(this); }
1310
1310
  debug = false;
1311
1311
  alignmentTolerance = 15;
1312
- maskSize = 80;
1312
+ maskSize = 90;
1313
1313
  cropMargin = 20;
1314
1314
  useDocumentClassification = false;
1315
1315
  preferredCamera = 'auto';
@@ -2146,7 +2146,7 @@ const JaakStamps = class {
2146
2146
  capturedImages.metadata.backCaptureSkipped = skippedBack;
2147
2147
  this.stateManager.setCapturedImages(capturedImages);
2148
2148
  this.stopDetection();
2149
- this.updateStatus('Proceso completado', `${capturedImages.metadata.totalImages} imágenes capturadas exitosamente`, 'ready');
2149
+ this.updateStatus('Proceso completado', `Imágenes capturadas exitosamente`, 'ready');
2150
2150
  const finalImages = {
2151
2151
  ...capturedImages,
2152
2152
  timestamp: new Date().toISOString()