From acc9ba9bb2d27546775b7e3f2322cb6b7d008314 Mon Sep 17 00:00:00 2001 From: Sergei Kolobov Date: Thu, 20 Nov 2003 21:30:40 +0000 Subject: Add ocrad 0.5, OCR program implemented as filter. GNU Ocrad is an OCR (Optical Character Recognition) program implemented as a filter and based on a feature extraction method. It reads a bitmap image in pbm format and outputs text in ISO-8859-1 (Latin-1) charset. Also includes a layout analyser able to separate the columns or blocks of text normally found on printed pages. It can be used as a stand-alone console application, or as a backend to other programs. PR: 59232 Submitted by: Ulrich Spoerlein --- graphics/ocrad/files/patch-character.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 graphics/ocrad/files/patch-character.h (limited to 'graphics/ocrad/files/patch-character.h') diff --git a/graphics/ocrad/files/patch-character.h b/graphics/ocrad/files/patch-character.h new file mode 100644 index 000000000000..5dacbaf8555a --- /dev/null +++ b/graphics/ocrad/files/patch-character.h @@ -0,0 +1,10 @@ +--- character.h.orig Sun Nov 16 17:40:28 2003 ++++ character.h Sun Nov 16 17:40:44 2003 +@@ -64,6 +64,7 @@ + void swap_guesses( int i, int j ) throw(); + const Guess & guess( int i ) const throw(); + int guesses() const throw() { return _guess.size(); } ++#undef isalnum + bool isalnum() const throw(); + + void join( Character & c ) throw(); -- cgit v1.2.3