GOCR (GNU Optical Character Recognition)
========================================

Version (0.38)

See README for details.

Compiled for OS/2 using gcc 3.2.1 (available at netlabs)

Usage:
======

- Type gocr -h for usage.

- Example 'one-liner' of a scan2text.cmd:
  scanimage --device=epson --mode=Gray --resolution=300 | gocr - > textfile.txt

- Another example:
  scanimage --device=epson --mode=Gray --resolution=300 1>out.pnm 2>out.error && gocr out.pnm > ocr.txt

- If you are using for example option '-m 130' for database you have to create
  the directory db manually.

Hints:
======

- If the image is complex or the letters are small, gocr is quite slooow.
  (expect duration of serveral minutes!).

- I suggest that you make your first tests with small scans.

How to compile with gcc-3.2.1:
==============================
0. get and install os2unix  (http://www2s.biglobe.ne.jp/~vtgf3mpr/os2unix/os2unix.htm)
1. os2unix -all
2. delete make.bat
3. sh configure
4. (probably only if you use 2.0 of os2unix) remove the 3 lines

     ifeq ($(omf),on)
     	LIBOBJS := $(LIBOBJS:.o=.obj)
     endif

   from src/Makefile

Franz Bakan, 4. January 2004

fbakan@gmx.net
