Subject: bug#57151: closed (Re: [bug#57151] [PATCH 1/2] gnu: Add tesseract-ocr-tessdata-fast.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 12 Aug 2022 20:09:02 +0000

Your bug report

#57151: [PATCH 0/2] *** Add trained data models for Tesseract OCR  ***

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
57151: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57151
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#57151] [PATCH 1/2] gnu: Add tesseract-ocr-tessdata-fast.
From: Maxim Cournoyer <[email-masked]>
To: Simon South <[email-masked]>, [email-masked]
Date: Fri, 12 Aug 2022 16:08:12 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Simon,

Simon South <[email-masked]> writes:

> Maxim Cournoyer <[email-masked]> 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

Subject: [PATCH 0/2] *** Add trained data models for Tesseract OCR ***
From: Maxim Cournoyer <[email-masked]>
To: [email-masked]
Cc: Maxim Cournoyer <[email-masked]>
Date: Fri, 12 Aug 2022 01:05:43 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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