Skip to content

Commit c008a09

Browse files
Aleksey Shundrikhleb-albau
authored andcommitted
rl-519/v5.4 v5.4:
- add process params for b5.4 release: imageQA.dpiThreshold and imageQA.angleThreshold
1 parent 7fc24a6 commit c008a09

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

p-process.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,25 @@ components:
228228
is marked as required, but has no value, it will have "error" in validity status.'
229229
type: boolean
230230
default: false
231+
imageQA:
232+
$ref: '#/components/schemas/ImageQA'
231233
required:
232234
- scenario
233235

236+
ImageQA:
237+
type: object
238+
properties:
239+
dpiThreshold:
240+
description: "This parameter sets threshold for Image QA check of the presented document physical dpi. If
241+
actual document dpi is below this threshold, check will fail."
242+
type: number
243+
default: 150
244+
angleThreshold:
245+
description: "This parameter sets threshold for Image QA check of the presented document perspective angle in
246+
degrees. If actual document perspective angle is above this threshold, check will fail."
247+
type: number
248+
default: 5
249+
234250
ProcessRequestImage:
235251
type: object
236252
required:

0 commit comments

Comments
 (0)