Skip to content

Commit 7fc24a6

Browse files
alshundAleksey Shundrikhleb-albau
authored
rl-519/v5.4 v5.4: (#51)
- add process params for 5.4 release: matchTextFieldMask, fastDocDetect, updateOCRValidityByGlare, generateDoublePageSpreadImage, checkRequiredTextFields Co-authored-by: Aleksey Shundrik <al.shundrik@insspring.com> Co-authored-by: Hleb Albau <hleb.albau@gmail.com>
1 parent a57c035 commit 7fc24a6

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

p-process.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,32 @@ components:
202202
forceDocID:
203203
description: "Force use of specific template ID and skip document type identification step."
204204
type: integer
205+
matchTextFieldMask:
206+
description: "When disabled, text field OCR will be done as is and then the recognized value will be
207+
matched to the field mask for validity. If enabled, we are trying to read a field value with maximum efforts
208+
to match the mask and provide a correctly formatted value, making assumptions based on the provided field mask
209+
in the template."
210+
type: boolean
211+
default: true
212+
fastDocDetect:
213+
description: "When enabled, shorten the list of candidates to process during document detection in a
214+
single image process mode. Reduces processing time for specific backgrounds."
215+
type: boolean
216+
default: true
217+
updateOCRValidityByGlare:
218+
description: "When enabled, fail OCR field validity, if there is a glare over the text field on the image."
219+
type: boolean
220+
default: false
221+
generateDoublePageSpreadImage:
222+
description: 'When enabled together with "doublePageSpread" and there is a passport with two pages
223+
spread in the image, pages will be cropped, straightened and aligned together, as if the document was captured
224+
on a flatbed scanner.'
225+
type: boolean
226+
checkRequiredTextFields:
227+
description: 'When enabled, each field in template will be checked for value presence and if the field
228+
is marked as required, but has no value, it will have "error" in validity status.'
229+
type: boolean
230+
default: false
205231
required:
206232
- scenario
207233

0 commit comments

Comments
 (0)