From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 57151@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#57151] [PATCH 0/2] *** Add trained data models for Tesseract OCR ***
Date: Fri, 12 Aug 2022 01:05:43 -0400 [thread overview]
Message-ID: <20220812050543.3923-1-maxim.cournoyer@gmail.com> (raw)
Hello Guix,
This makes our tesseract-ocr package usable. Here's a small experiment
comparing GNU Ocrad vs Tesseract on a LightDM login screendump from QEMU:
--8<---------------cut here---------------start------------->8---
$ time ocrad -i -s 10 /tmp/dump.ppm
komput�lo _ O Tht_, _l_.__ �
real 0m9.616s
user 0m9.397s
sys 0m0.157s
$ time tesseract -l eng /tmp/dump.ppm out && cat out.txt
Estimating resolution as 133
real 0m0.389s
user 0m0.602s
sys 0m0.053s
komputilo QR @ Thu, 21:32 ©
Log In
--8<---------------cut here---------------end--------------->8---
Maxim Cournoyer (2):
gnu: Add tesseract-ocr-tessdata-fast.
gnu: tesseract-ocr: Make the default install minimally useful.
gnu/packages/ocr.scm | 60 +++++++++++++++++++++++++++++++++++++++++---
1 file changed, 57 insertions(+), 3 deletions(-)
--
2.36.1
next reply other threads:[~2022-08-12 5:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-12 5:05 Maxim Cournoyer [this message]
2022-08-12 5:07 ` [bug#57151] [PATCH 1/2] gnu: Add tesseract-ocr-tessdata-fast Maxim Cournoyer
2022-08-12 5:07 ` [bug#57151] [PATCH 2/2] gnu: tesseract-ocr: Make the default install minimally useful Maxim Cournoyer
2022-08-12 11:27 ` [bug#57151] [PATCH 1/2] gnu: Add tesseract-ocr-tessdata-fast Simon South
2022-08-12 12:52 ` Maxim Cournoyer
[not found] ` <87bksp61wn.fsf@simonsouth.net>
2022-08-12 20:08 ` bug#57151: " Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220812050543.3923-1-maxim.cournoyer@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=57151@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).