Advanced recognition settings

Be default elDoc IDP assumes that input files (images) are provided with average or good scanning quality, as such they are pre-processed with the default settings optimized for processing images of the average quality.

elDoc IDP also allows to process images provided with poor and bad quality (noisy background or color background, twisted and rotated photos of documents, etc.), but such scanned documents may require custom preprocessing settings. For this purpose elDoc IDP provides possibility to define custom parameters per RecoForm so when documents are to be processed with the given RecoForm they are at first place re-pre-processed with custom settings and only after that - IDP will be performed.

This page provides overview of the available advanced settings.

Recognition Form Advanced Settings

Advanced settings are set via the Advanced settings configuration area of the RecoForm.

Advanced settings description

Advanced setting param name

Data type

Default value

Description

Triggers custom
pre-processing
idp_recoform_table_removelinesBooleanfalseEnables functionality for removing lines on the page during tables processing. To be enabled for images with the broken table border lines.
idp_recoform_table_ancundtblusebottomBooleanfalseUse bottom left point of anchor for calculating location of table end.
idp_recoform_pattern_dateString
Date pattern to be used for parsing date fields on the conversion phase.
idp_recoform_use_sourceBooleanfalseSwitches RecoForm to use source image instead of the pre-processed image for the RecoForm processing.
idp_recoform_custom_idString
Id of the custom RecoForm which is loaded as plugin.
idp_recoform_morphologyString

Enables artifacts removal and sets size of the artifact to be removed during image pre-processing.

Min value: "0x0" (disabled)

Max value: "99x99"

(plus)
idp_adaptive_thresholdBooleanfalseEnables adaptive thresholding.(plus)
idp_resolution_thresholdString

If source image resolution is below defined threshold in at least one dimension document will be sent to validation.

Min value: "10x10"

Max value: "99999x99999"


idp_ocr_mode_sparse_textBooleanfalseSets OCR recognition mode to Sparse Text.(plus)
idp_recoform_strict_layoutBooleanfalseEnforces strict template layout for the RecoForm. When this value set to true anchors' positions are used for calculating page scale.


IMPORTANT

Advanced settings which trigger custom pre-processing also enable "Force pre-processigng" option, which has the following default values:

  • idp_adaptive_threshold=true
  • idp_ocr_mode_sparce_text=true

Last modified: April 28, 2023