Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions p-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,29 @@ components:
default: false
imageQA:
$ref: '#/components/schemas/ImageQA'
forceDocFormat:
description: "Force use of specified document format when locating
and recognizing document to reduce the number of candidates."
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentFormat"
noGraphics:
description: "When enabled no graphic fields will be cropped from document image."
type: boolean
default: false
documentAreaMin:
description: "Specifies minimal area of the image
that document should cover to be treated as candidate when locating.
Value should be in range from 0 to 1, where 1 is when document should fully cover the image."
type: number
format: float
default: 0
logLevel:
description: "When used together with 'log' parameter enabled, sets the level of logs detalization."
default: "INFO"
$ref: "#/components/schemas/LogLevel"
depersonalizeLog:
description: "When enabled all personal data will be forcibly removed from the logs."
type: boolean
default: false
required:
- scenario

Expand All @@ -258,6 +281,21 @@ components:
- 'METRIC'
- 'IMPERIAL'

LogLevel:
type: string
enum:
- FatalError
- Error
- Warning
- Info
- Debug
x-enum-varnames:
- 'FATAL_ERROR'
- 'ERROR'
- 'WARNING'
- 'INFO'
- 'DEBUG'

ImageQA:
type: object
properties:
Expand Down