Skip to content

Commit f714bfc

Browse files
authored
Add 5.6 features (#60)
1 parent 38d1aa7 commit f714bfc

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

p-process.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,29 @@ components:
242242
default: false
243243
imageQA:
244244
$ref: '#/components/schemas/ImageQA'
245+
forceDocFormat:
246+
description: "Force use of specified document format when locating
247+
and recognizing document to reduce the number of candidates."
248+
$ref: "./rt-doc-type-old.yml#/components/schemas/DocumentFormat"
249+
noGraphics:
250+
description: "When enabled no graphic fields will be cropped from document image."
251+
type: boolean
252+
default: false
253+
documentAreaMin:
254+
description: "Specifies minimal area of the image
255+
that document should cover to be treated as candidate when locating.
256+
Value should be in range from 0 to 1, where 1 is when document should fully cover the image."
257+
type: number
258+
format: float
259+
default: 0
260+
logLevel:
261+
description: "When used together with 'log' parameter enabled, sets the level of logs detalization."
262+
default: "INFO"
263+
$ref: "#/components/schemas/LogLevel"
264+
depersonalizeLog:
265+
description: "When enabled all personal data will be forcibly removed from the logs."
266+
type: boolean
267+
default: false
245268
required:
246269
- scenario
247270

@@ -258,6 +281,21 @@ components:
258281
- 'METRIC'
259282
- 'IMPERIAL'
260283

284+
LogLevel:
285+
type: string
286+
enum:
287+
- FatalError
288+
- Error
289+
- Warning
290+
- Info
291+
- Debug
292+
x-enum-varnames:
293+
- 'FATAL_ERROR'
294+
- 'ERROR'
295+
- 'WARNING'
296+
- 'INFO'
297+
- 'DEBUG'
298+
261299
ImageQA:
262300
type: object
263301
properties:

0 commit comments

Comments
 (0)