@exige/web-scanner-sdk 0.2.40 → 0.2.42
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/{driver-license-BV2-PjpZ.js → driver-license-D9y7PQn4.js} +504 -546
- package/dist/driver-license-D9y7PQn4.js.map +1 -0
- package/dist/react/parts.d.ts +1 -1
- package/dist/react/types.d.ts +4 -2
- package/dist/react.js +443 -454
- package/dist/react.js.map +1 -1
- package/dist/scanner-sdk.js +3 -3
- package/dist/sdk/driver-license.d.ts +2 -2
- package/dist/sdk/finder.d.ts +13 -6
- package/package.json +1 -1
- package/dist/driver-license-BV2-PjpZ.js.map +0 -1
package/README.md
CHANGED
|
@@ -167,7 +167,7 @@ const finder = await startFinder({
|
|
|
167
167
|
})
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
Auto-capture modes are exactly `defaultOn`, `defaultOff`, `alwaysOn`, `alwaysOff`, and `only`. Default modes expose a mutable end-user checkbox; always modes hide it. `only` forces auto-capture on, hides that checkbox, and hides the manual capture button. `alwaysOn` still shows the manual capture button. `setAutoCapture()` returns false for `only`. High confidence, stable raw corners, 72% fill on the limiting axis, 1.5% edge clearance, and acceptable perspective are required before an automatic snap. After that the finder still waits
|
|
170
|
+
Auto-capture modes are exactly `defaultOn`, `defaultOff`, `alwaysOn`, `alwaysOff`, and `only`. Default modes expose a mutable end-user checkbox; always modes hide it. `only` forces auto-capture on, hides that checkbox, and hides the manual capture button. `alwaysOn` still shows the manual capture button. `setAutoCapture()` returns false for `only`. High confidence, stable raw corners, 72% fill on the limiting axis, 1.5% edge clearance, and acceptable perspective are required before an automatic snap. After that the finder still waits one second (`holdStillMs`, default 1000ms) so a just-found page is not captured while the user is still adjusting. Lost or unstable quads reset the timer. The overlay chip above the shutter says **Hold still** (no 3–2–1); the box uses `readyColorHex` during the hold. Manual capture does not wait. The Android system-camera path has no live box. Fill is the larger of the quad's width and height fill, so a tall receipt or wide boarding pass that already fills its long axis is ready instead of being told to move closer; high-aspect documents are asked for 80% of that long side. Separate, lower exit thresholds keep ready stable through ordinary hand motion. `FinderStatus.guidance` exposes one end-user hint—place the document, move closer, move farther away, hold the camera straight, or hold still—plus its typed reason, limiting-axis fill ratio, and the per-axis `fill` breakdown. Manual capture is always available through `finder.capture()`.
|
|
171
171
|
|
|
172
172
|
### ML corner detection
|
|
173
173
|
|