Configuring OCR for different interceptors OCR is performed in the following configuration files: - expressd.conf - you should specify value
true for specify true value 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 specify true value for OCR parameter if you need to enable the OCR usage for letter emails transferred through mail a relay - server (see "The messed.conf Configuration File").; - warpd.conf – In section
Warp specify value for EnableOCR parameter true. – in Warp section, specify true value for EnableOCR parameter; - proxy.conf – In section –in Http or Icq it is required to section, change
OCR parameter value to true (see "The proxy.conf configuration file"); - analysis.conf – In section
Analysis it is required to in Analysis section, change OCR parameter value to true.
The recognition of a text Text from extracted images is performed by one of OCR extractors: recognized with either Tesseract 3.0 or ABBYY FineReader Engine 11. When installing with During the help of installation program (kickstart) to server part of the System both OCR-from kickstart, both OCR extractors are installed on the server. By default, Tesseract 3.0. is set to work by defaultused in the System. Functional limitations of both extractors are givenlisted in the table below: Functionality | Tesseract 3.0 | ABBYY FineReader Engine 11 |
|---|
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 enable ABBYY FineReader Engine 11 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 11 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
To change the limit on the size of the transferred image: - Open /opt/iw/tm5/etc/image2text_fre.conf (for FineReader Engine 11) or /opt/iw/tm5/etc/image2text_ts.conf (for Tesseract).
- Edit MaxImageSizeInKb (the maximum size) and MinImageSizeInKb (the minimum size) parameters. By default, 1536 KB and 200 KB values are spacied.
|