2014-10-09 18:59 <alexander.alema...@googlemail.com> (Debian maintainer):
| Hei Jari,
|
| upstream for ocrad pointed out I want to close #602478[0].
| Reading the bug report I am not sure if the issue is
| resolved. The last activity on the bug seems to be a while
| back, do you consider the issue to still be open? If yes
| as the maintainer how can I help to get it resolved?
|
| PS: The latest stable versjon is not available yet in
| debian, I am waiting to find someone who can sponsor
| it[1].
|
| [0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602478
| [1]: https://github.com/scanf/ocrad-debian

FYI,

Regarding the Debian bug report:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602478

Here is slightly more verbose description that would be nice
to get with --help option. I hope something like this would
be acceptable. The patch is against 0.24 found at:

    http://www.nic.funet.fi/pub/gnu/ftp.gnu.org/pub/gnu/ocrad/

Jari

>From cb7129d8652d6ecb9addcbe5d1bb4545bd422674 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Fri, 10 Oct 2014 01:07:52 +0300
Subject: [PATCH] main.cc::show_help(): Improve description
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 main.cc | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/main.cc b/main.cc
index 50f676b..6c265c9 100644
--- a/main.cc
+++ b/main.cc
@@ -123,8 +123,12 @@ void show_help()
                "feature extraction method. It reads images in pbm (bitmap), pgm\n"
                "(greyscale) or ppm (color) formats and produces text in byte (8-bit) or\n"
                "UTF-8 formats. The pbm, pgm and ppm formats are collectively known as pnm.\n"
+               "Reads pnm file(s), or standard input, and putputs to stdout.\n"
+
                "\nOcrad includes a layout analyser able to separate the columns or blocks\n"
                "of text normally found on printed pages.\n"
+               "For improved results the characters should be at least 20 pixels high.\n"
+               "Very bold or very light (broken) may cause recognition problems.\n"
                "\nUsage: %s [options] [files]\n", invocation_name );
   std::printf( "\nOptions:\n"
                "  -h, --help               display this help and exit\n"
@@ -136,7 +140,7 @@ void show_help()
                "  -F, --format=<fmt>       output format (byte, utf8)\n"
                "  -i, --invert             invert image levels (white on black)\n"
                "  -l, --layout             perform layout analysis\n"
-               "  -o, --output=<file>      place the output into <file>\n"
+               "  -o, --output=<file>      save the extract from image to output <file>\n"
                "  -q, --quiet              suppress all messages\n"
                "  -s, --scale=[-]<n>       scale input image by [1/]<n>\n"
                "  -t, --transform=<name>   try '--transform=help' for a list of names\n"
-- 
2.0.1

Reply via email to