--- Begin Message ---
Subject: |
[PATCH 0/2] *** Add trained data models for Tesseract OCR *** |
Date: |
Fri, 12 Aug 2022 01:05:43 -0400 |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#57151] [PATCH 1/2] gnu: Add tesseract-ocr-tessdata-fast. |
Date: |
Fri, 12 Aug 2022 16:08:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi Simon,
Simon South <simon@simonsouth.net> writes:
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>> Which means the individual variants could be added in at a later time
>> by those interested, eh :-).
>
> Subtext noted.
>
> One last thing, in case you weren't already aware: Issue 47536 was
> opened a while ago regarding the missing tessdata package, so you may
> want to link it to your own issue 57151 and/or close it once your
> changes are committed:
>
> https://issues.guix.gnu.org/47536
Thanks for pointing that to me. Pushed as ff0600c5ef. I'll now close
the issue linked above.
Thanks!
Closing.
Maxim
--- End Message ---