Configuring OCR for different interceptors OCR is performed in the following configuration files: - expressd.conf - you should specify value
true for each interceptor for which the OCR usage should be enabled (see "The Expressd Section, Ocr Parameter") - messed.conf - you should specify value
true for OCR parameter if you need to enable the OCR usage for letter transferred through mail relay-server (see "The messed.conf Configuration File"). - warpd.conf – In – In section
Warp specify value for EnableOCR parameter true. - proxy.conf – – In section Http or Icq it is required to change
OCR parameter value to true (see "The proxy.conf configuration file") - analysis.conf – In section
Analysis it is required to change OCR parameter value to true
The recognition of a text from extracted images is performed by one of OCR extractors: either Tesseract 3.0 or ABBYY FineReader Engine 9.5. Both extractors are installed to the When installing with the help of installation program (kickstart) to server part of the System both OCR-extractors are installed. Tesseract 3.0. is set to work by default. Functional limitations of extractors are given in the table below: Functionality | Tesseract 3.0 | ABBYY FineReader Engine 9.5 |
|---|
Recognition of the image rotation angles | - | 0(+/-20) , 90(+/-20), 180(+/-20) and 270(+/-20)degrees | Recognition of color images | - | + | Image correction | - | + | Recommended image resoltion | 300dpi for text with a font size from 10pt 400-600dpi for text with a font size of 9pt and less | 300dpi for text with a font size from 10pt 400-600dpi for text with a font size of 9pt and less |
To set ABBYY FineReader Engine 9.5 to work: - Delete /opt/iw/tm5/bin/iw_image2text symlink.
- Create symlink:
ln -s /opt/iw/tm5/bin/iw_image2text_fre /opt/iw/tm5/bin/iw_image2text
To replace ABBYY FineReader Engine 9.5 with Tesseract 3.0: - Delete /opt/iw/tm5/bin/iw_image2text symlink.
- Create symlink:
ln -s /opt/iw/tm5/bin/iw_image2text_ts /opt/iw/tm5/bin/iw_image2text
|