@regulaforensics/document-reader-webclient 6.9.5 → 7.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/dist/main/index.cjs +1 -1
- package/dist/module/index.js +1 -1
- package/lib/index.d.ts +51 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3061,7 +3061,8 @@ export enum ImageQualityCheckType {
|
|
|
3061
3061
|
/**
|
|
3062
3062
|
* Signals if the portrait is present
|
|
3063
3063
|
*/
|
|
3064
|
-
Portrait = 7
|
|
3064
|
+
Portrait = 7,
|
|
3065
|
+
Brightness = 8
|
|
3065
3066
|
}
|
|
3066
3067
|
/**
|
|
3067
3068
|
*
|
|
@@ -3479,6 +3480,10 @@ export enum LCID {
|
|
|
3479
3480
|
*/
|
|
3480
3481
|
BULGARIAN = 1026,
|
|
3481
3482
|
/**
|
|
3483
|
+
* Burmese
|
|
3484
|
+
*/
|
|
3485
|
+
BURMESE = 1109,
|
|
3486
|
+
/**
|
|
3482
3487
|
* Catalan
|
|
3483
3488
|
*/
|
|
3484
3489
|
CATALAN = 1027,
|
|
@@ -3699,6 +3704,10 @@ export enum LCID {
|
|
|
3699
3704
|
*/
|
|
3700
3705
|
KAZAKH = 1087,
|
|
3701
3706
|
/**
|
|
3707
|
+
* Khmer
|
|
3708
|
+
*/
|
|
3709
|
+
KHMER = 1107,
|
|
3710
|
+
/**
|
|
3702
3711
|
* Konkani
|
|
3703
3712
|
*/
|
|
3704
3713
|
KONKANI = 1111,
|
|
@@ -3727,6 +3736,10 @@ export enum LCID {
|
|
|
3727
3736
|
*/
|
|
3728
3737
|
MALAY_BRUNEI_DARUSSALAM = 2110,
|
|
3729
3738
|
/**
|
|
3739
|
+
* Maltese
|
|
3740
|
+
*/
|
|
3741
|
+
MALTESE = 1082,
|
|
3742
|
+
/**
|
|
3730
3743
|
* Marathi
|
|
3731
3744
|
*/
|
|
3732
3745
|
MARATHI = 1102,
|
|
@@ -3941,7 +3954,19 @@ export enum LCID {
|
|
|
3941
3954
|
/**
|
|
3942
3955
|
* CTC Traditional
|
|
3943
3956
|
*/
|
|
3944
|
-
CTC_TRADITIONAL = 50002
|
|
3957
|
+
CTC_TRADITIONAL = 50002,
|
|
3958
|
+
/**
|
|
3959
|
+
* Bengali (Bangladesh)
|
|
3960
|
+
*/
|
|
3961
|
+
BengaliBangladesh = 2117,
|
|
3962
|
+
/**
|
|
3963
|
+
* BengaliIndia
|
|
3964
|
+
*/
|
|
3965
|
+
BengaliIndia = 1093,
|
|
3966
|
+
/**
|
|
3967
|
+
* Assamese
|
|
3968
|
+
*/
|
|
3969
|
+
Assamese = 1101
|
|
3945
3970
|
}
|
|
3946
3971
|
/**
|
|
3947
3972
|
* Regula Document Reader Web API
|
|
@@ -7584,6 +7609,12 @@ export interface FaceApi {
|
|
|
7584
7609
|
* @interface ImageQA
|
|
7585
7610
|
*/
|
|
7586
7611
|
export interface ImageQA {
|
|
7612
|
+
/**
|
|
7613
|
+
* Set the threshold for an actual document brightness below which the check fails
|
|
7614
|
+
* @type {number}
|
|
7615
|
+
* @memberof ImageQA
|
|
7616
|
+
*/
|
|
7617
|
+
brightnessThreshold?: number;
|
|
7587
7618
|
/**
|
|
7588
7619
|
* This parameter sets threshold for Image QA check of the presented document physical dpi. If actual document dpi is below this threshold, check will fail.
|
|
7589
7620
|
* @type {number}
|
|
@@ -8914,6 +8945,24 @@ export enum TextPostProcessing {
|
|
|
8914
8945
|
* @interface ProcessParams
|
|
8915
8946
|
*/
|
|
8916
8947
|
export interface ProcessParams {
|
|
8948
|
+
/**
|
|
8949
|
+
* The list of LCID types to recognize. If empty, values with all LCID types will be extracted. Empty by default.
|
|
8950
|
+
* @type {Array<number>}
|
|
8951
|
+
* @memberof ProcessParams
|
|
8952
|
+
*/
|
|
8953
|
+
lcidFilter?: Array<number>;
|
|
8954
|
+
/**
|
|
8955
|
+
* This parameter is used to enable document liveness check.
|
|
8956
|
+
* @type {boolean}
|
|
8957
|
+
* @memberof ProcessParams
|
|
8958
|
+
*/
|
|
8959
|
+
checkLiveness?: boolean;
|
|
8960
|
+
/**
|
|
8961
|
+
* The list of LCID types to ignore during the recognition. If empty, values with all LCID types will be extracted. Narrowing down the list can reduce processing time. Empty by default.
|
|
8962
|
+
* @type {Array<number>}
|
|
8963
|
+
* @memberof ProcessParams
|
|
8964
|
+
*/
|
|
8965
|
+
lcidIgnoreFilter?: Array<number>;
|
|
8917
8966
|
/**
|
|
8918
8967
|
* This parameter allows processing an image that contains a person and a document and compare the portrait photo from the document with the person\'s face
|
|
8919
8968
|
* @type {boolean}
|