How do I get OCR and image data for pocket and print decisions and on the VX P?

How do I get OCR and image data for pocket and print decisions and on the VX P?

The following only works with two pocket models or models that have a "reverse gear".

The Panini check scanners use snippet areas to get OCR. Setting an OCR area in the GenericOptions.ini file defines a snippet area. The GenericOptions "[OcrReader1]" area is the same area as MVXOptions.ini "[Snippet1]". The "MVXOptions.ini" snippet areas overwrites the GenericOptions OCR areas.

Snippets must be used to get image or OCR data at SetItemOutput event.

Enable the Snippets

MVXOptions.ini (Driver Options file):
  1. [Snippets General]
  2. NeedSnippets=true

Enable the desired Snippet areas


  1. NeedSnippet1=true

Set the snippets that are to be retrieved before SetItemOutput event

  1. [Snippet1]
  2. // Comment out all other settings or they will overwrite the GenericOptions.ini OCR settings. If you want image data and not just OCR you may want to overwrite the settings.
  3. NeedSnippetForSort=true
GenericOptions.ini:
  1. Set the OCR area as desired
  2. To get OCR you should be able to request the OCR as normal in the SetItemOutput event.
  3. To get images you should use "GetImageSnippetByteCount" and "GetImageSnippetAddress" pass through calls in the event as well.
These pass through calls are described in the "RangerAPIAppendixMVX.doc".
Making these changes may significantly slow down the scanner and items in the track may be reverse fed to accomplish the requested operations.
Copyright © 2023 Silver Bullet Technology
www.sbullet.com

    • Related Articles

    • What's the best Image setting for OCR?

      To provide the best OCR reading results, Canon recommends using the "TextEnhanced" image mode as their number one recommendation and "AdaptiveThreshold" as the second choice. You may want to try both and pick the option that yields the best OCR ...
    • I'm Missing Item Data

      If you've recently switched to using the CR-120 or the CR-150 from another scanner and seem to be experiencing loss of item data, please make a review of your source code during TransportNewItem, TransportSetItemOutput, and TransportItemInPocket. ...
    • Do I need to define an image snippet to use OCR on an S1 Vision?

      No, Ranger defines an image snippet automatically when you enable an OCR read zone. Ranger® - The universal check scanner interface Copyright © 2023 Silver Bullet Technology www.sbullet.com
    • How can I sort items with the multiple pocket Seac scanners?

      The application can make pocket decisions in the SetItemOutput event with the following options set. These options will slow the processing of items. MICR and images will be available at the SetItemOutput event with these options set. ...
    • How do I setup Ranger's OCR parameters?

      If your check scanner supports OCR reading, then you define OCR parameters in Ranger's GenericOptions.ini file. Values in the GenericOptions.ini file and can be modified either manually or by calling Ranger's SetGenericOption() function prior to ...