@jaak.ai/stamps 2.0.0-beta.5 → 2.0.0-beta.6
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 +1 -1
- package/dist/cjs/jaak-stamps.cjs.entry.js +1 -1
- package/dist/cjs/jaak-stamps.cjs.entry.js.map +1 -1
- package/dist/cjs/jaak-stamps.entry.cjs.js.map +1 -1
- package/dist/collection/components/my-component/my-component.js +2 -2
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/components/jaak-stamps.js +1 -1
- package/dist/components/jaak-stamps.js.map +1 -1
- package/dist/esm/jaak-stamps.entry.js +1 -1
- package/dist/esm/jaak-stamps.entry.js.map +1 -1
- package/dist/jaak-stamps-webcomponent/jaak-stamps-webcomponent.esm.js +1 -1
- package/dist/jaak-stamps-webcomponent/jaak-stamps.entry.esm.js.map +1 -1
- package/dist/jaak-stamps-webcomponent/{p-9ed19fa4.entry.js → p-65990bdd.entry.js} +2 -2
- package/dist/jaak-stamps-webcomponent/{p-9ed19fa4.entry.js.map → p-65990bdd.entry.js.map} +1 -1
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
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` | `
|
|
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 =
|
|
1312
|
+
maskSize = 90;
|
|
1313
1313
|
cropMargin = 20;
|
|
1314
1314
|
useDocumentClassification = false;
|
|
1315
1315
|
preferredCamera = 'auto';
|