Is reading this image accurately realistic?

109 views
Skip to first unread message

Daniel Kennedy

unread,
May 9, 2023, 3:17:44 AM5/9/23
to tesseract-ocr
I'd like to be able to read this image to text for further machine parsing. Is this realistic? I'm new to Tesseract and OCR generally. I'm including the image, output, and current CL settings I'm using: 

Version:

# tesseract --version
tesseract 4.1.1-rc2-21-gf4ef
 leptonica-1.78.0
  libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0
 Found AVX2
 Found AVX
 Found FMA
 Found SSE
 Found libarchive 3.2.2 zlib/1.2.11 liblzma/5.2.2 bz2lib/1.0.6 liblz4/1.7.1

Command:

tesseract file_in file_out -l chi_sim --dpi 600 --psm 4 --oem 1 txt

Image:

scan_2.jpg

Output: 

渺无(无)音信 miaso wo yinxin there has been
no news whatsoever about sb. ; nothing
has been heard since

渺小 miaoxiao (形) tiny; negligible; in-
Significant (of abstract matters)

诸  miao (形)(书》 far awayj; remote

犁下   miao

获视 miaoshi (动) despise; look down
upon; belttle

萄小 miaoxiao (形) tiny; negligible; in-
significant; paltry

启(斋) role吉 wma

庙宇 miooyi (名) aa
录  mioo (形) 1 wonderful; excellent;
fine: 这主意真一This idea is teally
great. 绝一的讽刺 a supreme 1lrony
2 ingenious; clever; subtle: 莫名其一
incomprehensible. 一 计 wise move;
brilliant idqea
妙龄 mioolfIng (名) youthfulness (of a girl) :
正当~ be in the bloom of youth
妙趣横生 miaoqu hengshsng full of wit and
humour; brim over with interest
妙手回春 miaoshau huf chun (of a doctor) in-
geniously bring the dying back to jife
处语 miaoyi (名) witty temark: 一惊人
wisectacks that teally tickle., 一连珠 a
stream of witticismas
灭(沽)  mie (动) 站区时5a 二5ht,
fire,etc. ) go out: 灯一了.
The lights went out. 2 extinguish; put
out:一火 put out a fire 3 destroy; wWipe
out; exterminate: 一筷 kill rats
灭顶 _mieding (动) be drowned; be
swamped
灭迹 mieji 1 (动) destroy the _ evidence (of
one s evildoingr)
灭绝 miejue (动) become extinct:, 一些珍奇
动物现已面临一的危险. Some rate animals
are in danger of becoming extinct.
灭绝人性 miejue renxing inhuman; savage
灭口 miekau (动) (of a_ criminal) kill a wit-
ness of accomplice to prevent leakage of
information
灭亡 miewang (动) perish; die out; be
doomed: 自取~ court destruction
HE mie(动) 1 slight; disdain:轻~ dis-
dain 2 smear: 证~ slander; vilify
茂视 mieshi (动) despise; scorn; show con-
tempt for

Zdenko Podobny

unread,
May 25, 2023, 1:24:52 AM5/25/23
to tesser...@googlegroups.com
This kind of input is always difficult (multiline character, different fonts, multilanguage) 
IMO I got better result with (I am not able to read Chinese):
> tesseract scan_2.jpg scan_2 -l chi_sim+eng

For me it looks like the biggest problem is pronunciation(?) words and tilda, and  those special brackets (< >), that could be solved (in come extended) by retraining....

Zdenko


ut 9. 5. 2023 o 9:17 Daniel Kennedy <dken...@gmail.com> napísal(a):
--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/f23616d6-1f9b-4b21-8330-c2e8f7525c45n%40googlegroups.com.
scan_2.txt
Reply all
Reply to author
Forward
0 new messages