diff --git a/p-process.yml b/p-process.yml index e7bec4a7..1f285d30 100644 --- a/p-process.yml +++ b/p-process.yml @@ -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 @@ -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: