home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Science / Science.zip / goat006.zip / go.txt < prev    next >
Text File  |  2003-03-30  |  2KB  |  36 lines

  1.  Optical Character Recognition --- gocr 0.3.5
  2.  using: gocr [options] pnm_file_name  # use - for stdin
  3.  options:
  4.  -h        - get this help
  5.  -i name   - input image file (pnm,pgm,pbm,ppm,pcx,...)
  6.  -i -      - read PNM from stdin (djpeg -gray a.jpg | gocr -)
  7.  -o name   - output file  (redirection of stdout)
  8.  -e name   - logging file (redirection of stderr)
  9.  -p name   - database path (including final slash, default is ./db/)
  10.  -f fmt    - output format (ISO8859_1 TeX HTML UTF8)
  11.  -l num    - grey level 0<160<=255
  12.  -d num    - dust_size (remove all smaller clusters, 10=default)
  13.  -s num    - spacewidth/dots (0 = autodetect)
  14.  -v num    - verbose  [summed]
  15.       1      print more info
  16.       2      list shapes  of boxes (see -c)
  17.       4      list pattern of boxes (see -c)
  18.       8      print pattern after recognition
  19.      16      print line infos
  20.      32      debug outXX.pgm
  21.  -c string - list of chars (_ = not recognized chars)
  22.  -m num    - operation modes, ~ = switch off
  23.       2      use database (early development)
  24.       4      layout analysis, zoning (development)
  25.       8      ~ compare non recognized chars
  26.      16      ~ divide overlapping chars
  27.      32      ~ context correction
  28.      64      char packing (development)
  29.     130      extend database, prompts user (128+2, early development)
  30.  -n   1      only numbers
  31.  examples:
  32.     gocr -v 33 text1.pbm                # some infos + out30.bmp
  33.     gocr -v 7 -c _YV text1.pbm          # list unknown, Y and V chars
  34.     djpeg -pnm -gray text.jpg | gocr -  # use jpeg-file via pipe
  35.  
  36.