- SEE ALSO
- COPYRIGHT AND LICENSE
Image::Ocrad - Call ocrad, the GNU Optical Character Recognition utility
use Image::Ocrad; @characters = ocrad('some.pbm');
Use GNU ocrad to extract text from a PBM image file. This module invokes ocrad with default options.
Call's ocrad with the path to a PBM file supplied by the caller, and returns a list of characters extracted from the file.
* inversion of image colors prior to processing * image transformations (reflection, rotation, etc) * recognition of alternative character sets (default is ascii) * extraction of a subset of recognized text
These features are possible by calling ocrad with extra options. Perhaps I'll add these features later if they're requested or I need them.
This function accepts a path to a PBM file as input, returns a list of recognized ascii characters as output.
* XS code to link to an ocrad shared object rather than calling a system binary. This requires modifcation of the ocrad build, as it doesn't provide a shared object option in the configure/make process * Allow the ocrad binary to be installed in other than /usr/bin * Better exceptions. Check that files exist or throw error, etc.
Allen Day, <firstname.lastname@example.org>
Copyright 2005 by Allen Day
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 61:
'=item' outside of any '=over'
- Around line 66:
You forgot a '=back' before '=head1'