InftyReader Instructions and Help File
Also see these additional, compiled, help files
Table of Contents:
Optical character recognition (OCR) technologies are invaluable for improving access to printed materials by people with print disabilities. Most do not work well with scientific content. Scientific documents typically include mathematical and other special symbols that standard OCR does not recognize. In addition, no standard commercial OCR application can recognize a two-dimensionally-structured math equation and convert it to a standard software format.
The InftyReader OCR application can properly recognize scientific documents scanned from paper or in PDF format. InftyReader recognizes complicated math expressions, tables, graphs and other technical notations and converts them to accessible formats.
InftyReader can be used by people with print disabilities in combination with the ChattyInfty accessible scientific editor application. ChattyInfty provides speech and braille access for reading and writing math and editing the output of InftyReader. Sighted people can use InftyReader with the free InftyEditor to edit InftyReader output and produce accessible scientific content.
InftyReader and ChattyInfty are made by the Infty Project.
InftyReader can output a recognition result in any of the following formats
IML is a XML file format developed expressely for InftyEditor and ChattyInfty. By default InftyReader will save results in IML. The original image is retained and can be displayed with either Infty Editor or ChattyInfty. In ChattyInfty, the image can be accessed tactually through an on-line graphics display (available from KGS Japan) or by embossing it on a ViewPlus embosser. Consequently Infty Editor and ChattyInfty users may compare results with the original image and make corrections as necessary. These editors can also convert the result into any of the formats listed above.
Other than IML, allInfty formats except HR-TeX are standard mainstream forms. HR-TeX (Human-Readable TeX), is an abbreviated LaTeX-like notation developed to be more easily readable than standard LaTeX.
InftyReader and ChattyInfty require Windows XP, Vista, or Windows7 operating systems, 32 or 64 bit. Microsoft Internet Explorer7 or later must be installed. In order to correct OCR errors and edit documents, we strongly recommend that the free Infty editor be installed for use by sighted people or the ChattyInfty editor for use by people with print disabilities.
The initial InftyReader or ChattyInfty downloaded archive is a zip file. Extract the contents into any convenient folder. One file ends in "setup.exe". Runm this file to install InftyReader or ChattyInfty and all components necessary for their use. Note that administrator privileges are required to install applications.
The InftyReader license is included in the download archive as "License_E.txt". Please read it!
InftyReader can recognize only a high quality black-and-white (binary) image. For paper documents, it is very important to scan the document in black and white (binary) mode and to use a resolution of at least 400 dpi. 600 dpi is recommended for best results. The paper should be flat and carefully aligned in the scanner to avoid images that are fuzzy, skewed, or slanted. If possible, pages in books should be cut from the binding so they will lie flat on the scanner. Save the scanned files as TIFF, GIF or PNG format.
Recognizing math characters requires much higher quality images than does standard OCR, and poor quality images will give correspondingly poor results. Heavy users of InftyReader can improve the quality of recognition by editing scanned images to remove small extraneous scan defects and artifacts. Recognition can be improved by optimizing the scanner threshold so that fewer than 1% of characters are broken or touch other characters.
InftyReader subdivides the document into text, math, tables, and figures and then uses different procedures to recognize each. Users can improve the quality of recognition by hand-editing images to ensure that the content flows properly. For example, cutting columns apart and arranging them in proper sequence is recommended when pages are partially columnized.
One common problem that needs to be avoided with scanned images is a dark frame that can appear around the page. This problem is caused by non-white area above the page during scanning. It can be avoided by placing a large white paper over the page being scanned. The paper should be large enough to cover the entire scanner surface. Images with such problems can be repaired by removing the offending dark frame in a good image editor. Be careful not to reduce the image dpi during such a process.
A PDF file also can be recognized. Normal PDF files have characters represented in fonts and are subject to fewer OCR problems than scanned images. Always obtain a PDF if possible. Articles in most scientific journals are available as PDF.
InftyReader is a GUI application. It can be used in command mode in the Console Window by running Infty.exe from the Infty program folder. This tutorial is restricted to the GUI version. Command mode use is covered in the InftyHelpE.txt file included in the archive.
Start InftyReader. The screen has these elements:
· Three buttons giving you the choice of selecting a file to recognize, a folder to recognize, or to scan in a document.
· A read-only box that will show the current input file/folder name. It is initially empty.
· A radio selection box permitting you to select the desired input format. Choices are Tiff, BMP, GIF, PNG, and PDF.
· A read-only box showing the output file/folder name. It is initially empty.
· A radio selection box giving you the choice of output format. Choices are IML, LaTeX, HR-TeX, XHTML (MathML), and Microsoft Word 2007 (XML).
· A yes/no choice of whether to open the output file in the appropriate application. Default is "no".
· Choice of whether to put a New Line indicator at the end of each paragraph. Default is to do so.
· The "Start OCR" button that should be pressed once all selections are made.
· An Exit button that closes InftyReader
· A choice of math level as "all math symbols" or "High school math symbols". Select the latter if the math is simple, because recognition will be better.
· A choice of using InftyReader in English or Japanese.
Set the various options and then click on the choice of file, folder, or scan input.
· If you choose to convert a single file, click the "file" button by pressing space bar or left-clicking the mouse. This opens a standard Windows "open" dialog that permits you to type in the file name or browse for it. There is a choice of keeping this file as "read-only", and an "open" button. After selecting the file, press the "open" button. After a short processing delay, the initial screen re-appears with the input and default output file names filled in. You may edit the output file name or browse to another folder if you wish.
· If you click on "folder", you open a selection tree that permits you to browse for the desired input folder. Once the folder is found, press "ok". The initial screen re-appears with the input folder name filled in. The Output file name box is empty. You cannot edit the output folder name. An additional box appears, giving you the choice of whether to convert files in sub-folders. Default for this "Search sub-folders" choice is off.
Set the desired dpi level in the box giving an option of 600 or 400 dpi. Then press the "Start OCR" button with space bar or mouse.
If you have selected LaTeX for the output format, after pressing the "Start OCR" button, you will be given a long list of LaTeX options. If you are LaTeX-savvy, you will recognize these options. If not, we recommend that you choose your desired paper size and then accept all other default options and press "ok" to continue.
· The output file will be in the same folder as the input file and, by default, will have the same name except for extension. The extension will be whatever was selected for output format. For example, File0.tiff will produce output file File0.iml if iml is the output format, File0.tex if LaTeX is the output format, etc.
· You will find that there are other files produced by InftyReader as well, in the same folder as the input and output files. At a minimum there will be a log file, sometimes several log files. Other files will be produced, depending on which output format is used.
· InftyReader will convert all image files in that folder having the specified input format. All output will be put into a single file having the name of the folder with extension of the output. For example all files in the folder Hi will be in the single file Hi.iml for iml output, Hi.tex for LaTeX output, etc.
· If the "Search sub-folders" box is checked, InftyReader will convert files in all sub-folders as well. All output in sub-folder HiThere will be in HiThere and gathered together into the single file HiThere.iml, etc.
The InftyReader developers welcome bug reports and suggestions for improvement. Please send these to firstname.lastname@example.org