The Silk Test Classic OCR Module

This functionality is supported only if you are using the Classic Agent.

The following files comprise the OCR module provided with Silk Test Classic. All of the files must reside in the Silk Test directory:
Exgui.exe
Utility for generating the font pattern database. Can also be used as a standalone utility for text recognition.
OCR.inc
The 4Test include file that provides high-level 4Test functions based on the functions in SgOcrLib.dll.
SgOcrLib.dll
Borland extension of Textract.dll that provides high-level functions.
SgOcrLib.inc
Declares the functions in SgOcrLib.dll so that they can be called in 4Test.
SgOcrPattern.pat
Font pattern database that controls text conversion.
Textract.dll
Textract OCR DLL provided by Structu Rise.
Textract.ini
Initialization file for the Textract OCR DLL. The following two sections contain settings that may require modification:
  • In the [Options] section, the Database Path setting must point to the OCR pattern file, <SilkTest directory>\SgOcrPattern.pat.
  • The [Recognition] section contains settings that control which fonts are used to generate the pattern file.