@exige/web-scanner-sdk 0.2.24 → 0.2.25
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/{finder-B3kHQ2Jh.js → finder-B3t_3g6Z.js} +244 -190
- package/dist/finder-B3t_3g6Z.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/react.js +24 -24
- package/dist/scanner-sdk.js +256 -256
- package/dist/scanner-sdk.js.map +1 -1
- package/dist/sdk/camera.d.ts +26 -1
- package/dist/sdk/ocr.d.ts +1 -1
- package/dist/sdk/scan.d.ts +2 -0
- package/package.json +1 -1
- package/dist/finder-B3kHQ2Jh.js.map +0 -1
package/README.md
CHANGED
|
@@ -138,7 +138,7 @@ The demo hosts a trained checkpoint at `/models/id-fields-yolox-nano.onnx`. **Se
|
|
|
138
138
|
|
|
139
139
|
`detectDocument` runs DocAligner and returns an ordered `DocumentQuad` with `topLeft`, `topRight`, `bottomRight`, `bottomLeft`, plus typed `top`, `right`, `bottom`, and `left` line segments. Outcomes are `success`, `no-document`, `low-confidence`, or `low-quality`. `scanDocument` uses that same quad for a projective perspective warp and includes the quad in its result.
|
|
140
140
|
|
|
141
|
-
On touch/mobile-class devices, analysis defaults to a 560px working image (1280px on the long edge when the page is tall) and runs in a module Worker when supported. Perspective output is capped at
|
|
141
|
+
On touch/mobile-class devices, analysis defaults to a 560px working image (1280px on the long edge when the page is tall) and runs in a module Worker when supported. Perspective output is capped at 4096px by default, the same long-edge memory cap as `capturePhoto()`. Override `maxAnalysisDimension`, `maxOutputDimension`, or `useWorker` in `ScanOptions` when needed. Chrome `takePhoto()` cannot match the Android Camera app (no HDR+ / OEM ISP). Hosts that need that JPEG can call `pickNativeCameraStill()`.
|
|
142
142
|
|
|
143
143
|
## Live finder and auto-capture
|
|
144
144
|
|