Skip to content

Commit ca0e964

Browse files
authored
Merge pull request #84 from regulaforensics/SP-5569-update_params
[SP-5569] Add new params. Update descriptions
2 parents b7a83e0 + f95cec5 commit ca0e964

File tree

2 files changed

+39
-4
lines changed

2 files changed

+39
-4
lines changed

authenticity/e-result-type.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ components:
2121
- 65536
2222
- 131072
2323
- 262144
24+
- 524288
25+
- 1048576
26+
- 2097152
27+
- 8388608
2428
x-enum-description:
2529
- "Document luminescence check in UV light"
2630
- "B900 ink MRZ contrast check in IR light"
@@ -37,6 +41,10 @@ components:
3741
- "Barcode format check (code metadata, data format, contents format, etc.)"
3842
- "Kinegram check"
3943
- "LetterScreen check"
44+
- "Hologram detection and validation check"
45+
- "Fingerprint comparison check"
46+
- "Document liveness check"
47+
- "MRZ extended check"
4048
x-enum-varnames:
4149
- "UV_LUMINESCENCE"
4250
- "IR_B900"
@@ -53,3 +61,7 @@ components:
5361
- "BARCODE_FORMAT_CHECK"
5462
- "KINEGRAM"
5563
- "LETTER_SCREEN"
64+
- "HOLOGRAM_DETECTION"
65+
- "FINGERPRINT_COMPARISON"
66+
- "LIVENESS"
67+
- "MRZ"

p-process.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ components:
169169
properties:
170170
imageOutputMaxHeight:
171171
type: integer
172-
description: "Defines the maximum height of the output document image."
172+
description: "This parameter allows setting maximum height in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0."
173173
imageOutputMaxWidth:
174174
type: integer
175-
description: "Defines the maximum width for the document image."
175+
description: "This parameter allows setting maximum width in pixels of output images and thus reducing image size to desired. Does not change the aspect ratio. Changes disabled if equals to 0. Default 0."
176176
scenario:
177177
$ref: './common.yml#/components/schemas/Scenario'
178178
resultTypeOutput:
@@ -211,8 +211,9 @@ components:
211211
in document to output result values. Metric by default."
212212
$ref: '#/components/schemas/MeasureSystem'
213213
imageDpiOutMax:
214-
description: "This option controls maximum resolution in dpi of output images. Resolution will remain original
215-
in case 0 is supplied. By default is set to return images in response with resolution not greater than 300 dpi."
214+
description: "This parameter controls maximum resolution in dpi of output images.
215+
Resolution will remain original in case 0 is supplied. By default is set to return images in response with
216+
resolution not greater than 300 dpi for all scenarios except FullAuth. In FullAuth scenario this limit is 1000 dpi by default."
216217
type: integer
217218
alreadyCropped:
218219
description: "This option can be enabled if you know for sure that the image you provide contains
@@ -348,6 +349,24 @@ components:
348349
The available checks are listed in the eRPRM_Authenticity enum.
349350
Note that only supported by your license checks can be added. "
350351
$ref: "./authenticity/e-result-type.yml#/components/schemas/AuthenticityResultType"
352+
type: array
353+
items:
354+
$ref: "./authenticity/e-result-type.yml#/components/schemas/AuthenticityResultType"
355+
deviceId:
356+
description: "This parameter is used to specify the document reader device type from which input images were captured. Default 0."
357+
type: integer
358+
# default: 0
359+
deviceType:
360+
description: "This parameter is used to specify the document reader device type from which input images were captured. Default 0."
361+
type: integer
362+
# default: 0
363+
deviceTypeHex:
364+
type: string
365+
description: "This parameter is used to specify the document reader device type from which input images were captured"
366+
ignoreDeviceIdFromImage:
367+
type: boolean
368+
description: "This parameter is used to tell the processing engine to ignore any parameters saved in the image when scanned from the document reader device. Default false"
369+
# default: false
351370
required:
352371
- scenario
353372

@@ -453,6 +472,10 @@ components:
453472
description: "This option enables screen capture (moire patterns) check while performing image quality validation."
454473
type: boolean
455474
# default: false
475+
documentPositionIndent:
476+
description: "This parameter specifies the necessary margin. Default 0."
477+
type: integer
478+
# default: 0
456479

457480
ProcessRequestImage:
458481
type: object

0 commit comments

Comments
 (0)