Feedback

  • Contents
 

OCR for TIFF/PCX/DCX files

Important: The system no longer supports OCR tools.

Processes a TIFF or PCX and renders data in an OCR result file. The Export for OCR files tool can convert the OCR result file to a text file (or one of several other document formats).

Inputs

Image file name

The source TIFF or PCX file from which the OCR result file is created. You should also specify a fully qualified path. If the path is not included, this tool looks for the dictionary file in the directory specified in the Work Path Server Parameter in Interaction Administrator.

First page

In a multi-page image file, the first page to render. 1, the default value, is the minimum allowable value.

Last page

In a multi-page image file, the last page to render. Entering a 0 in this field renders all pages. A value greater than 1 specifies a range. If your range is greater than the number of pages in the file, this tool fails.

Perform dictionary checking? option

Select this option to use an additional dictionary when processing the file. You can create your own custom dictionary in a text file with words separated with spaces and an extra carriage return following the last word in the text file. Clear this option to use only the OCR server's default dictionary. Cleared is the default setting.

Dictionary file name

The name of the dictionary to use. You should also specify a fully qualified path. If the path is not included, this tool looks for the dictionary file in the directory specified in the Work Path Server Parameter in Interaction Administrator.

Perform language analysis

Select this option if you want the OCR Server to recognize characters unique within a language. For example, if you want to recognize the German umlaut character, you would select this option and specify German in the Language parameter below.

Language

The language for which you want to recognize special characters. See the Perform language analysis example above.

Country

Some languages have characters unique to a certain country's dialect. This parameter specifies which country.

Outputs

OCR file name

The result file containing the rendered OCR data. The Export for OCR files tool takes this filename as an input. You should also specify a fully qualified path. If the path is not included, this tool creates the OCR result file in the directory specified in the Work Path Server Parameter in Interaction Administrator.

Error Code

If this tool fails, you can evaluate the reason for failure by examining Error Code and Error Message. Error codes and messages are listed in the Error Message parameter explanation below.

Error Message

A description of why this tool failed.

 

Error Code

Error Message

Explanation

-1 

"Fatal error."

This tool has failed due to a larger failure within CIC. Your event log may contain diagnostic information about the failure. This must be diagnosed by technical support. You should never encounter this error.

0

"No error."

This tool executed successfully.

1

"OCR not enable"

The OCR Server is not running. Make sure the OCR Server is installed, running, and properly configured from within Interaction Administrator.

2

"No image filename." 

The image file does not exist at the specified location.

3

"Bad image filename."

The image file does not exist at the specified location.

4

"No dictionary filename."

The custom dictionary is not in the specified location. Verify that your path and filename are correct, and that the dictionary is in the location specified.

5

"Bad dictionary filename."

The custom dictionary is not in the specified location. Verify that your path and filename are correct, and that the dictionary is in the location specified.

5

"Bad OCR result filename."

The OCR result file could not be created at the specified location.

Exit Paths

Success

This tool takes the Success exit path if the Error Code is 0.

Failure

This tool takes the Failure exit path if the error code is not 0.