bug-ocrad
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unsatisfactory results from screen capture


From: Antonio Diaz Diaz
Subject: Re: Unsatisfactory results from screen capture
Date: Thu, 29 Jun 2023 23:27:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hi Bruno,

Bruno Victal wrote:
I'm having trouble with getting Ocrad to correctly recognize the text
within a screen capture of a tty with black text on white background.

I see two problems in the captured image screendump.ppm:

It is too small; the letters are half the height of 20 pixels preferred by ocrad. This can be solved by using 'ocrad -s2'.

screendump.ppm seems to have been converted from jpg or something, which has blurred the letters. Maybe try to capture directly to png format, which is lossless and ocrad 0.28 can read directly (without conversion to pnm).

Hope this helps.

Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]