eVRS command string modules

This topic contains information on eVRS settings and properties strings that can be used in TotalAgility Scan/VRS profile (on the Advanced tab of the extended properties).

Most of the eVRS image processing settings are unavailable by default, but appropriate keywords included in the operations string enable the corresponding settings. In the operations string a leading "_" character indicates the start of a new keyword or parameter. The trailing "_" character may be followed by a setting value: a string in <> or one or more numeric values.

The following table describes the eVRS strings.

Keyword eVRS String Description

DO_HEALTH_ANALYSIS

_DoHealthAnalysis_

Activates scanner health analysis.

DO_HOLE_FILL

_DoHoleFill

Fills punch holes on document edges in order to match the surrounding page background. Performed for dark backgrounds only.

DO_BLANK_PAGE_DETECTION

_DoBlankPageDetection_

Detects if the page is blank so that it could be deleted by the application. Capable of ignoring punch holes. In Duplex mode, it is capable of ignoring bleed-through from the opposite side.

If EVRS cannot detect the page boundaries within the input image, it is not possible to detect either the presence or the absence of any content within it.

DO_COLOR_DETECTION

_DoColorDetection_

Limits binarization to only those pages that do not contain any color.

DO_COLOR_DROPOUT

_DoColorDropOut_

Activates detection and removal of the most common foreground color within the page.

DO_SKEW_CORRECTION_PAGE

_DoSkewCorrectionPage_

Deskews to page.

DO_SKEW_CORRECTION_ALT

_DoSkewCorrectionAlt_

Deskews to content.

DO_CROP_CORRECTION

_DoCropCorrection_

Crops to minimize the bounding box around the final position of the page after deskew.

DO_NO_PAGE_DETECTION

_DoNoPageDetection_

Informs EVRS that the incoming image has been already deskewed and cropped, so no page detection is necessary.

DO_BINARIZATION

_DoBinarization_

Converts the image to binary.

DO_ENHANCED_BINARIZATION

_DoEnhancedBinarization_

Combines noise reduction ability of lower resolution images with smoother character contours characteristic of higher resolutions.

Useful for creation of binary images with resolutions above 300 DPI.

DO_GRAY_OUTPUT

_DoGrayOutput_

Converts the image to grayscale.

DO_SCANNER_BKG_FILL

_DoScannerBkgFill_

Fills scanner background touching the border of the final image with average color of the page. Used mainly to fill missing corners or other rips in the page. Performed for dark backgrounds only.

DO_CONTOUR_CLEANING

_DoContourCleaning_

Adds a little margin to the scanner area filled during SCANNER_BKG_FILL.

DO_90_DEGREE_ROTATION

_Do90DegreeRotation_n

Performs image rotation in 90 degree increments or automatically, based on image content where n:

1=90 degrees counterclockwise;

2=180;

3=270 and

4=automatic.

DO_ROTATE_NONE

_Do90DegreeRotation_0

DO_ROTATE_90

_Do90DegreeRotation_3

DO_ROTATE_180

_Do90DegreeRotation_2

DO_ROTATE_270

_Do90DegreeRotation_1

DO_ROTATE_AUTO

_Do90DegreeRotation_4

DO_ROTATE_AUTO_PLUS_90

_Do90DegreeRotation_7

DO_ROTATE_90 after AUTO

DO_ROTATE_AUTO_PLUS_180

_Do90DegreeRotation_6

DO_ROTATE_180 after AUTO

DO_ROTATE_AUTO_PLUS_270

_Do90DegreeRotation_5

DO_ROTATE_270 after AUTO

DO_ROTATE_AUTO_PLUS_LAND_L

_Do90DegreeRotation_8

If in Portrait after AUTO, additionally DO_ROTATE_90

DO_ROTATE_AUTO_PLUS_LAND_R

_Do90DegreeRotation_9

If in Portrait after AUTO, additionally DO_ROTATE_270

DO_ZONE_MASKING

_DoZoneMasking_

Specifies the position and specific parameters of the zone of interest to be preserved in the returned image.

DO_EDGE_CLEANUP

_DoEdgeCleanup_

Cuts a small frame around the final image to clean the fringes of the page.

You must specify both _DoSkewCorrectionPage_ and _DoCropCorrection_ for _DoEdgeCleanup_ to have any effect.

DO_DESPECK

_DoDespeck_n

Removes speckles on the image to improve image quality. N=4 is the typical despeck size for the sample program. The valid range is 1 to 50, with the higher settings removing larger speckles in the output image.

DO_SHARPEN

_DoSharpen_n

Sharpens processed color or gray image, where n:

1= a little,

2= more,

3= most.

DO_FIND_GRAPHIC_LINES

_DoFindGraphicLines_

Finds horizontal and vertical graphic lines in the image.

DO_REMOVE_GRAPHIC_LINES

_DoRemoveGraphicLines_

Finds and removes graphic lines from the processed binary image.

DO_BACKGROUND_SMOOTHING

_DoBackgroundSmoothing_

Smoothen page background for color and grayscale images.

DO_MERGE_FRONT_BACK

_DoMergeFrontBack_

Merges both sides of a page scanned in duplex into a single image.

FINAL_IMAGE_SMALLER_PIXEL_DIM

_FinalImageSmallerPixelDim_n

Specifies pixel size n of the smaller side of the final image.

FINAL_IMAGE_LARGER_PIXEL_DIM

_FinalImageLargerPixelDim_n

Specifies pixel size n of the larger side of the final image.

FINAL_IMAGE_DPI

_FinalImageDPI_n

Specifies DPI n of the final image.

IMAGING_DEVICE_TYPE

_DeviceType_n

Specifies the image origin, where n:

0= scanner (default)

2= mobile camera

When processing the mobile camera images, usually the DPI is not set correctly or is missing from the image metadata. In such cases, eVRS returns an error. To avoid this, add _DeviceType_2 to the eVRS processing string.

To load properties of a processing module, use the operation string "_LoadInlineSetting_<PropertyName="XXXX" Value="YY" Comment="ZZZZ"/>". The strings XXXX, YY and ZZZZ indicate property name, value and comments.

See also: