@regulaforensics/document-reader-webclient 7.5.200-rc → 7.5.201-rc
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 +46 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -8134,6 +8134,45 @@ export interface Healthcheck {
|
|
|
8134
8134
|
* https://openapi-generator.tech
|
|
8135
8135
|
* Do not edit the class manually.
|
|
8136
8136
|
*/
|
|
8137
|
+
/**
|
|
8138
|
+
* Input image quality checks for the document processing
|
|
8139
|
+
* @export
|
|
8140
|
+
* @enum {string}
|
|
8141
|
+
*/
|
|
8142
|
+
export enum InputImageQualityChecks {
|
|
8143
|
+
/**
|
|
8144
|
+
* Signals glare presence on the image
|
|
8145
|
+
*/
|
|
8146
|
+
Glares = "glaresCheck",
|
|
8147
|
+
/**
|
|
8148
|
+
* Signals whether image is in focus
|
|
8149
|
+
*/
|
|
8150
|
+
Focus = "focusCheck",
|
|
8151
|
+
/**
|
|
8152
|
+
* Signals if image resolution is below threshold
|
|
8153
|
+
*/
|
|
8154
|
+
Resolution = "dpiThreshold",
|
|
8155
|
+
/**
|
|
8156
|
+
* Signals if image is colorless
|
|
8157
|
+
*/
|
|
8158
|
+
Colorness = "colornessCheck",
|
|
8159
|
+
/**
|
|
8160
|
+
* Signals if document in the image has prespective distortion above threshold
|
|
8161
|
+
*/
|
|
8162
|
+
Perspective = "perspectiveCheck",
|
|
8163
|
+
/**
|
|
8164
|
+
* Signals if document is not fully present in the image
|
|
8165
|
+
*/
|
|
8166
|
+
Bounds = "documentPosition",
|
|
8167
|
+
/**
|
|
8168
|
+
* Signals if the portrait is present
|
|
8169
|
+
*/
|
|
8170
|
+
Portrait = "portraitCheck",
|
|
8171
|
+
/**
|
|
8172
|
+
* Signals if the document image is bright enough
|
|
8173
|
+
*/
|
|
8174
|
+
Brightness = "brightnessCheck"
|
|
8175
|
+
}
|
|
8137
8176
|
/**
|
|
8138
8177
|
*
|
|
8139
8178
|
* @export
|
|
@@ -8182,6 +8221,12 @@ export interface ImageQA {
|
|
|
8182
8221
|
* @memberof ImageQA
|
|
8183
8222
|
*/
|
|
8184
8223
|
documentPositionIndent?: number;
|
|
8224
|
+
/**
|
|
8225
|
+
* This parameter controls the quality checks that the image should pass to be considered a valid input during the scanning process.
|
|
8226
|
+
* @type {Array<InputImageQualityChecks>}
|
|
8227
|
+
* @memberof ImageQA
|
|
8228
|
+
*/
|
|
8229
|
+
expectedPass?: Array<InputImageQualityChecks>;
|
|
8185
8230
|
}
|
|
8186
8231
|
/**
|
|
8187
8232
|
*
|
|
@@ -10235,7 +10280,7 @@ export interface ProcessRequestImage {
|
|
|
10235
10280
|
* @type {ImageData}
|
|
10236
10281
|
* @memberof ProcessRequestImage
|
|
10237
10282
|
*/
|
|
10238
|
-
ImageData
|
|
10283
|
+
ImageData?: ImageData;
|
|
10239
10284
|
/**
|
|
10240
10285
|
*
|
|
10241
10286
|
* @type {Light}
|