XPost: comp.os.linux.misc
On 27 Aug 2025 04:20:19 GMT, vallor wrote:
(FTR: I've had good success with tesseract.)
Pics or it didn't happen.
Check out this image of the Gettysburg Address (or a part
of it). It is Liberation Serif 12-point font:
https://i.postimg.cc/rmTZhHYg/gburg.png
Now what follows is the tesseract output using this command:
tesseract --tessdata-dir /usr/share/tessdata gburg.png gburg --psm 6 --oem 1
This uses the best engine with the best training data.
Output:
=================================================================================================================
But, in a larger sense, we can not dedicate—we can not consecrate—we can not hallow—this ground.
‘The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to
add or detract. The world will little note, nor long remember what we say here, but it can never forget
‘what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they
‘who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great
task remaining before us—that from these honored dead we take increased devotion to that cause for
‘which they gave the last full measure of devotion—that we here highly resolve that these dead shall not
have died in vain—that this nation, under God, shall have a new birth of freedom—and that.
government of the people, by the people, for the people, shall not perish from the earth.
=================================================================================================================
Where in fuck did those "`" characters come from? It is actually
a sequence: 0xE2, 0x80, 0x98, which is the Unicode "left single quotation mark."
Why is there a period after "that" in the second-to-last line?
I suppose that if I tried more samples I could get much worse results
but this quickie demonstrates that tesseract is not really up to snuff.
--
Gentoo: the only road to GNU/Linux perfection.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)