@jaak.ai/stamps 2.0.0-dev.43 → 2.0.0-dev.45
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 +216 -218
- package/dist/cjs/jaak-stamps.cjs.entry.js +4 -4
- 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 +6 -6
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/components/jaak-stamps.js +4 -4
- package/dist/components/jaak-stamps.js.map +1 -1
- package/dist/esm/jaak-stamps.entry.js +4 -4
- 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-3074405d.entry.js → p-10ee2dab.entry.js} +2 -2
- package/dist/jaak-stamps-webcomponent/{p-3074405d.entry.js.map → p-10ee2dab.entry.js.map} +1 -1
- package/dist/types/components.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1153,12 +1153,12 @@ const JaakStamps = class {
|
|
|
1153
1153
|
}
|
|
1154
1154
|
get el() { return index.getElement(this); }
|
|
1155
1155
|
debug = false;
|
|
1156
|
-
alignmentTolerance =
|
|
1156
|
+
alignmentTolerance = 15;
|
|
1157
1157
|
maskSize = 80;
|
|
1158
1158
|
cropMargin = 20;
|
|
1159
1159
|
useDocumentClassification = false;
|
|
1160
1160
|
preferredCamera = 'auto';
|
|
1161
|
-
captureDelay =
|
|
1161
|
+
captureDelay = 1500;
|
|
1162
1162
|
captureCompleted;
|
|
1163
1163
|
isReady;
|
|
1164
1164
|
// State derived from services
|
|
@@ -1302,8 +1302,8 @@ const JaakStamps = class {
|
|
|
1302
1302
|
this.preferredCamera = 'auto';
|
|
1303
1303
|
}
|
|
1304
1304
|
if (this.captureDelay < 0 || this.captureDelay > 10000) {
|
|
1305
|
-
this.logger.warn(`Propiedad captureDelay inválida. Valor: ${this.captureDelay}, esperado: 0-10000. Usando valor por defecto:
|
|
1306
|
-
this.captureDelay =
|
|
1305
|
+
this.logger.warn(`Propiedad captureDelay inválida. Valor: ${this.captureDelay}, esperado: 0-10000. Usando valor por defecto: 1500`);
|
|
1306
|
+
this.captureDelay = 1500;
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
1309
|
async loadOnnxRuntime() {
|