Command line text recognition tool
ocrad [\,options\/] [\,files\/]
GNU Ocrad is an OCR (Optical Character Recognition) program based on a feature extraction method. It reads images in pbm (bitmap), pgm (greyscale) or ppm (color) formats and produces text in byte (8-bit) or UTF-8 formats. The pbm, pgm and ppm formats are collectively known as pnm.
Ocrad includes a layout analyser able to separate the columns or blocks of text normally found on printed pages.
-h, --help
display this help and exit
-V, --version
output version information and exit
-a, --append
append text to output file
-c, --charset=<name>
try '--charset=help' for a list of names
-e, --filter=<name>
try '--filter=help' for a list of names
-f, --force
force overwrite of output file
-F, --format=<fmt>
output format (byte, utf8)
-i, --invert
invert image levels (white on black)
-l, --layout
perform layout analysis
-o, --output=<file>
place the output into <file>
-q, --quiet
suppress all messages
-s, --scale=\,[-]\/<n>
scale input image by [1/]<n>
-t, --transform=<name>
try '--transform=help' for a list of names
-T, --threshold=<n%>
threshold for binarization (0-100%)
-u, --cut=<l,t,w,h>
cut input image by given rectangle
-v, --verbose
be verbose
-x, --export=<file>
export results in ORF format to <file>
If no files are specified, ocrad reads the image from standard input. If the -o option is not specified, ocrad sends text to standard output.
Exit status: 0 for a normal exit, 1 for environmental problems (file not found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or invalid input file, 3 for an internal consistency error (eg, bug) which caused ocrad to panic.
Report bugs to [email protected]
Ocrad home page: http://www.gnu.org/software/ocrad/ocrad.html
General help using GNU software: http://www.gnu.org/gethelp
Copyright © 2014 Antonio Diaz Diaz. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
The full documentation for ocrad is maintained as a Texinfo manual. If the info and ocrad programs are properly installed at your site, the command
info ocrad
should give you access to the complete manual.