Using a Custom OCR Engine with Laserfiche Client 8.1.

July 17, 2009 | KB: 1012260
Laserfiche 8.1

Summary

Previous versions of the Laserfiche Client support using a custom OCR engine through the use of Bridge32.lfo. By default, Laserfiche Client 8.1 does not directly support Bridge32.lfo. This article documents how to configure Laserfiche Client 8.1 to support Bridge32.lfo.

More Information

This article assumes that you have previously configured the Laserfiche Client for a custom OCR engine. This means that:

  1. A registry key structure similar to the following has been set up:
  2. [HKEY_LOCAL_MACHINE\SOFTWARE\Laserfiche\OCR] "CurrentVersion"="1"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Laserfiche\OCR\1]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Laserfiche\OCR\1\MyOcrEngine] "ProgID"="MyOCREngine.LFOBridge"

    Note: This is only an example. Make sure the ProgID in the above registry value matches the ProgID of your custom OCR engine control.

  3. You have registered your custom OCR engine COM control (e.g. MyOcrEngine.ocx), which has the ProgID in the above mentioned registry value (MyOCREngine.LFOBridge).

To configure Laserfiche Client 8.1 for custom OCR engine support:

  1. Click the following link to download a zip file containing OcrConnector.dll, OcrConnector.reg, and ocrEngineProgID.reg.
  2. OCRConnector.zip

  3. Extract the contents of the zip file to a temporary location.
  4. Copy OcrConnector.dll to the Laserfiche Client 8.1 computer and register the file.
  5. Double-click OcrConnector.reg to automatically create the following registry values:
    • [HKEY_LOCAL_MACHINE\SOFTWARE\Laserfiche\Client8\Profile\Ocr\Engines]

      [HKEY_LOCAL_MACHINE\SOFTWARE\Laserfiche\Client8\Profile\Ocr\Engines\Bridge Engine] "ProgId"="OcrConnector81.BPProcessEx"

      [HKEY_LOCAL_MACHINE\SOFTWARE\Laserfiche\Client8\Profile\Ocr\Engines\OmniPage] "ProgId"="OmniOcrWrapper81.BPProcessEx"

  6. Double-click ocrEngineProgID to automatically create the following registry value:
    • [HKEY_CURRENT_USER\Software\Laserfiche\Client8\Profile\Options] "OCREngineProgId"="OcrConnector81.BPProcessEx"

  7. In the Laserfiche Client, from the Tools menu, click Options.
  8. In the Options dialog box, in the OCR, there should now be a "Bridge Engine" option from the OCR Engine drop-down list.

Note: Only the Language drop-down list will be updated based on the new OCR engine. Other OCR settings in the Options dialog box will not apply.

Note: You must repeat step 5 for each user on the computer that needs to access the custom OCR engine.