From Newsgroup: 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 dedicaterCowe can not consecraterCowe can not hallowrCothis ground.
rCyThe 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
rCywhat they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they
rCywho fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great
task remaining before usrCothat from these honored dead we take increased devotion to that cause for
rCywhich they gave the last full measure of devotionrCothat we here highly resolve that these dead shall not
have died in vainrCothat this nation, under God, shall have a new birth of freedomrCoand 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.
--- Synchronet 3.21a-Linux NewsLink 1.2