Skip to content

Commit

Permalink
rl-519/v5.4 v5.4:
Browse files Browse the repository at this point in the history
- add process params for b5.4 release: imageQA.dpiThreshold and imageQA.angleThreshold
  • Loading branch information
Aleksey Shundrik authored and hleb-albau committed Dec 29, 2020
1 parent 7fc24a6 commit c008a09
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions p-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,25 @@ components:
is marked as required, but has no value, it will have "error" in validity status.'
type: boolean
default: false
imageQA:
$ref: '#/components/schemas/ImageQA'
required:
- scenario

ImageQA:
type: object
properties:
dpiThreshold:
description: "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."
type: number
default: 150
angleThreshold:
description: "This parameter sets threshold for Image QA check of the presented document perspective angle in
degrees. If actual document perspective angle is above this threshold, check will fail."
type: number
default: 5

ProcessRequestImage:
type: object
required:
Expand Down

0 comments on commit c008a09

Please sign in to comment.