Skip to main content
Kofax

Trap images sent to the EBC engine

19192

QAID # 19192 Published

Question / Problem:

How to trap the true images that are being submitted to the Enhanced Bar Code engine

Answer / Solution:

When troubleshooting issues where bar codes are not being recognized successfully, it can be helpful to analyze the actual image that is being sent to the Enhanced Bar Code engine. Due to image processing, particularly in the case where a Kofax Capture Recognition Profile applies additional temporary image processing, the image that is submitted to the Bar Code engine may differ from the image that appears in the scanning application.

To trap the true images that are being submitted to the Enhanced Bar Code engine:

  1. Navigate to C:\ProgramData\Kofax\Vrs
  2. Create a new text file named KBarMode.ini (if it does not already exist).
  3. Open KBarMode.ini in a text editor and add the following:
    [Barcode]
    
    ; IniActive - All following settings will ignored unless this is non-zero
    IniActive=1
    
    ; Used for getting the true image being submitted to the EBC engine.
    ; For diagnostics only.
    ; Will cause very slow performance and eat up disk space if left enabled.
    SaveInputImage=1
    ; Separate Option to save any image that does not have a code detected on it.
    ; This will not cause a double save if already saved per the above parameter.
    SaveNoCodeImage=1
    ; The Barcode KPM will complete the output file name, including the .BMP
    extension.
    SaveImage_FileName=%temp%\EBCInput
  4. Save the changes to KBarMode.ini.

The trapped images will be saved to the location defined in the SaveImage_FileName field.

To stop trapping the true images that are being submitted to the Enhanced Bar Code engine:

  1. Open KBarMode.ini in a text editor and change the SaveInputImage value to 0:
    • SaveInputImage=0
  2. Change the SaveNoCodeImage value to 0:
    • SaveNoCodeImage=0
  3. Save the changes to KBarMode.ini.

Applies to:

Product Version
CAPTURE 10.0
  10.1
  10.2
  11.0
VRS 4.5
  5.1
  5.1.1
  5.1.2
  • Was this article helpful?