@idscan/idvc2 2.0.2 → 2.1.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/README.md +24 -1
- package/dist/css/idvc.css +1 -1
- package/dist/index.html +21 -21
- package/dist/js/defaultConfig.ts +16 -8
- package/dist/js/environment/cssVariables.json +7 -0
- package/dist/js/environment/langs.ts +5 -2
- package/dist/js/environment/networkNames.json +10 -12
- package/dist/js/environment/stepsDescription.ts +3 -3
- package/dist/js/idvc.d.ts +1 -0
- package/dist/js/idvc.js +1 -1
- package/dist/js/idvc.js.LICENSE.txt +0 -30
- package/dist/js/image.d.ts +4 -0
- package/dist/js/index.d.ts +9 -0
- package/dist/modules/libheif2.js +433 -0
- package/dist/networks/classLocal20220112.bin +0 -0
- package/dist/networks/classLocal20220112.json +1 -0
- package/dist/networks/mrz20220531.bin +0 -0
- package/dist/networks/mrz20220531.json +1953 -0
- package/package.json +1 -1
- package/dist/networks/mrz20210831.bin +0 -0
- package/dist/networks/mrz20210831.json +0 -1
- package/dist/networks/types20220505.bin +0 -0
- package/dist/networks/types20220505.json +0 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ This component contains JS, CSS files which require the mandatory import into yo
|
|
|
34
34
|
```javascript
|
|
35
35
|
{
|
|
36
36
|
test: /\.css$/,
|
|
37
|
-
use: ["style-loader", "css-loader"]
|
|
37
|
+
use: ["style-loader", "css-loader"],
|
|
38
38
|
}
|
|
39
39
|
```
|
|
40
40
|
|
|
@@ -93,6 +93,8 @@ Available fields:
|
|
|
93
93
|
|
|
94
94
|
**useCDN** (boolean) - set to true if you prefer to load neural networks from cdn instead of your domain. Default: false
|
|
95
95
|
|
|
96
|
+
**useHeic** (boolean) - This option switches on/off the HEIC images processing (HEIC is Apple’s proprietary version of the Image File format). It’s possible to upload only via a Mac/MacBook.. Default: false
|
|
97
|
+
|
|
96
98
|
**networkUrl** (string) - path to the folder with neural networks. Specify the path on the server if you need to remove the folder to another location. The default path is 'networks'. Default: 'networks'
|
|
97
99
|
|
|
98
100
|
**language** (string) - The option sets the language used for the translation of the text in the library
|
|
@@ -219,6 +221,12 @@ To tweak the theme of the component you can redeclare variables in CSS custom pr
|
|
|
219
221
|
|
|
220
222
|
The component has the following customizable properties:
|
|
221
223
|
|
|
224
|
+
**--font-family**
|
|
225
|
+
|
|
226
|
+
*default: Arial, "Helvetica Neue", Helvetica, sans-serif*
|
|
227
|
+
|
|
228
|
+
- library's font family
|
|
229
|
+
|
|
222
230
|
**--btn-border-radius-big**
|
|
223
231
|
|
|
224
232
|
*default: 4px*
|
|
@@ -383,6 +391,21 @@ The component has the following customizable properties:
|
|
|
383
391
|
- description of capture progress
|
|
384
392
|
|
|
385
393
|
## Version history
|
|
394
|
+
- **2.1.0**
|
|
395
|
+
- removed additional fonts
|
|
396
|
+
- added step swiping if an image is uploaded
|
|
397
|
+
- changed front document capturing method
|
|
398
|
+
- improved mrz parsing
|
|
399
|
+
- fixed bubbling if an image is mirrored
|
|
400
|
+
- reduced library size
|
|
401
|
+
- added new css variable for library's font family
|
|
402
|
+
- reduced css
|
|
403
|
+
- added blur detector to front step
|
|
404
|
+
- improved MRZ location and MRZ decode speed.
|
|
405
|
+
- moved HEIC supports to distinct module and added additional config option for it.
|
|
406
|
+
- reduced first loading time.
|
|
407
|
+
- removed "parsePDF" option.
|
|
408
|
+
- added "mrzImg" field to mrz step. It's cut mrz for better MRZ recognition on DVS side.
|
|
386
409
|
- **2.0.2**
|
|
387
410
|
- fix: manual upload.
|
|
388
411
|
- **2.0.1**
|