@pixelverse/strichjs-sdk 1.1.0 → 1.1.2
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/CHANGELOG.md +17 -0
- package/dist/strich.d.ts +19 -0
- package/dist/strich.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.2] - 2023-06-06
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Improved error handling when encountering `OverconstrainedError`, especially on Firefox desktop. Special thanks to
|
|
8
|
+
Jukka Aittokallio for reporting the issue.
|
|
9
|
+
|
|
10
|
+
## [1.1.1] - 2023-05-22
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Added hysteresis for 1D barcodes with weak checksums (EAN/UPC symbologies) to decrease misreads. This feature improves reliability for EAN/UPC barcodes at the cost of slightly slower detection, and can be deactivated by setting the new `hysteresisMinCount` engine parameter to `0`.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Fixed a memory violation in the Databar decoder, which would occasionally crash the engine.
|
|
19
|
+
|
|
3
20
|
## [1.1.0] - 2023-05-17
|
|
4
21
|
|
|
5
22
|
### Added
|
package/dist/strich.d.ts
CHANGED
|
@@ -131,6 +131,25 @@ export interface EngineConfiguration {
|
|
|
131
131
|
* It is recommended to set a low duplicateInterval as scans are metered in non-Enterprise subscriptions.
|
|
132
132
|
*/
|
|
133
133
|
duplicateInterval?: number;
|
|
134
|
+
/**
|
|
135
|
+
* Hysteresis parameterization for 1D barcodes with weak checksums.
|
|
136
|
+
*
|
|
137
|
+
* This parameter sets the minimum threshold for the number of detections of a barcode in the hysteresis
|
|
138
|
+
* window for it to be accepted.
|
|
139
|
+
*
|
|
140
|
+
* Setting this parameter to 0 disables hysteresis (default behavior for versions <= 1.1.0)
|
|
141
|
+
*
|
|
142
|
+
* @default 3
|
|
143
|
+
*/
|
|
144
|
+
hysteresisMinCount?: number;
|
|
145
|
+
/**
|
|
146
|
+
* Hysteresis parameterization for 1D barcodes with weak checksums.
|
|
147
|
+
*
|
|
148
|
+
* This parameter sets the size of the hysteresis window in milliseconds.
|
|
149
|
+
*
|
|
150
|
+
* @default 250
|
|
151
|
+
*/
|
|
152
|
+
hysteresisInterval?: number;
|
|
134
153
|
}
|
|
135
154
|
/**
|
|
136
155
|
* Overlay configuration
|