@jaak.ai/stamps 2.3.0 → 2.4.0
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/dist/cjs/jaak-stamps-webcomponent.cjs.js +1 -1
- package/dist/cjs/jaak-stamps.cjs.entry.js +6132 -6022
- package/dist/cjs/jaak-stamps.cjs.entry.js.map +1 -1
- package/dist/cjs/jaak-stamps.entry.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/my-component/my-component.js +117 -21
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/collection/services/DetectionService.js +65 -12
- package/dist/collection/services/DetectionService.js.map +1 -1
- package/dist/components/jaak-stamps.js +6133 -6022
- package/dist/components/jaak-stamps.js.map +1 -1
- package/dist/esm/jaak-stamps-webcomponent.js +1 -1
- package/dist/esm/jaak-stamps.entry.js +6132 -6022
- package/dist/esm/jaak-stamps.entry.js.map +1 -1
- package/dist/esm/loader.js +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-1c233242.entry.js +7 -0
- package/dist/jaak-stamps-webcomponent/p-1c233242.entry.js.map +1 -0
- package/dist/types/components/my-component/my-component.d.ts +2 -0
- package/dist/types/services/DetectionService.d.ts +3 -0
- package/package.json +2 -2
- package/dist/jaak-stamps-webcomponent/p-e91f65fd.entry.js +0 -7
- package/dist/jaak-stamps-webcomponent/p-e91f65fd.entry.js.map +0 -1
|
@@ -84,6 +84,7 @@ export declare class JaakStamps {
|
|
|
84
84
|
processingButton: 'capture-front' | 'capture-back' | 'skip-back' | null;
|
|
85
85
|
licenseValid: boolean;
|
|
86
86
|
licenseError: string | null;
|
|
87
|
+
classificationDisabled: boolean;
|
|
87
88
|
private licenseValidationService;
|
|
88
89
|
private serviceContainer;
|
|
89
90
|
private eventBus;
|
|
@@ -120,6 +121,7 @@ export declare class JaakStamps {
|
|
|
120
121
|
private slowFrameCount;
|
|
121
122
|
private processedFramesCount;
|
|
122
123
|
private hasAutoSwitchedToManual;
|
|
124
|
+
private _manualModeLoggedOnce;
|
|
123
125
|
private canvasPool;
|
|
124
126
|
private readonly MAX_CANVAS_POOL_SIZE;
|
|
125
127
|
componentWillLoad(): Promise<void>;
|
|
@@ -9,10 +9,12 @@ export declare class DetectionService implements IDetectionService {
|
|
|
9
9
|
private modelLoaded;
|
|
10
10
|
private deviceStrategy;
|
|
11
11
|
private readonly MODEL_PATH;
|
|
12
|
+
private readonly MODEL_PATH_FP32;
|
|
12
13
|
private readonly MOBILENET_MODEL_PATH;
|
|
13
14
|
private readonly MOBILENET_CLASSES_PATH;
|
|
14
15
|
private readonly INPUT_SIZE;
|
|
15
16
|
private readonly CONFIDENCE_THRESHOLD;
|
|
17
|
+
private useFloat16;
|
|
16
18
|
private preprocessCanvas?;
|
|
17
19
|
private preprocessCtx?;
|
|
18
20
|
private captureCanvas?;
|
|
@@ -31,6 +33,7 @@ export declare class DetectionService implements IDetectionService {
|
|
|
31
33
|
cleanup(): void;
|
|
32
34
|
private initializeCanvasPool;
|
|
33
35
|
private cleanupCanvasPool;
|
|
36
|
+
private detectFloat16Support;
|
|
34
37
|
private float32ToFloat16;
|
|
35
38
|
private preprocessMobileNet;
|
|
36
39
|
private getCanvas;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaak.ai/stamps",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Jaak Document Identifier",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@opentelemetry/instrumentation-xml-http-request": "^0.208.0",
|
|
62
62
|
"@opentelemetry/propagator-b3": "^2.2.0",
|
|
63
63
|
"@opentelemetry/resources": "^2.2.0",
|
|
64
|
-
"@opentelemetry/sdk-metrics": "^2.
|
|
64
|
+
"@opentelemetry/sdk-metrics": "^2.6.0",
|
|
65
65
|
"@opentelemetry/sdk-trace-base": "^2.2.0",
|
|
66
66
|
"@opentelemetry/sdk-trace-web": "^2.2.0",
|
|
67
67
|
"@opentelemetry/semantic-conventions": "^1.38.0",
|