ocr文字识别软件

本文探讨了使用Java调用Tesseract OCR的方式及其识别效果,并对比了几种不同的OCR工具。实测表明,Tesseract在处理复杂图像时的识别率较低。
Tesseract
可以用java调用cmd命令的方式来集成,效果很差, 最多也就是解析个验证码了。
http://ykf.iteye.com/blog/212431

原图
[img]http://dl.iteye.com/upload/attachment/0062/2469/cd66d051-11d1-300f-9937-83f0efa18ff3.jpg[/img]

Tesseract 识别度最差
tesseract.exe 1.jpg 1 -l eng

ltzllanjudges have put unoer house arresnrre captaln atacrurse
ship that orasrrea mm roeks on Frroay.
Proseomors say Francesco Schellrno caused me crash and arso fled me
cosra Concnrdra whrre passengers were srrrr srranoeo
A recurdrng 01 a oarr oerween capr Schellrno ano a pon omcrar aner me
crash appears ro supporr rnrs. rnoogn caor Schellrno genres rne crarms
Rescuers nave recovered 11 ooores and are searchrng Ior 24 mrssrng
peopre
The rocar aullrnrrly says 20 passengers are srrrr mrssrng They rncrude
peopre vrom Germany. rrary, France ano rne us
Fourcrew members 7 one each vrom rrary, Hungary. rndra and Peru 7 are
arso mrssrng Iorrowrng rne rncrdem. rust omne ooasr nflhe rsrand 01 Grgrro
Porlo
Meanwnrre. new salerrrle rnvormarron shown ro rne BEC‘s Newsrrrgnr
programme snows rnar rne vesser nag a "near mrss" even croser ro rne
rsrand rasl Aogosr, rn a orversron mar was apparemry aporoved by rne
shrp‘s owners. cosra Cmrses

Asprise 稍好点
@echo off
java -classpath .;demo.jar;aspriseOCR.jar com.asprise.util.ocr.demo.Demo sample-images/1.jpg
pause

lWlian judges have put under house arrest the wpWin of a cruise
ship that crashed into rocks on Friday.

Pr0%ut0rs say Francesc0 Scheffin0 cau%d the crash and als0 l% the
C0sta C0nc0rdia while pas%ngers were still strand%.

A rec0rding 0l a call De een Capt Scheffin0 and a p0rt 0ncial affer the
crash appears t0 supp0rt this. th0ugh Capt Scheffin0 denies the claims.

Rescuers have r%0vered 1 1 Dodies and are searching l0r 24 missing
pe0ple,

The Imal auth0rity says 20 passengers are still missing. They include
pe0ple lr0m Germany. Italy. France and the US.

F0ur crew memDers 0ne each lr0m Italy, Hungay. India and Peru are
als0 missing l0II0wing the incident. just 0ff the c0ast 0l the island 0l Gigli0
P0rt0.

Meanwhile. new satellite inl0rmati0n sh0wn t0 the BBC's Newsnight
pr0gramme sh0ws that the vessel had a ''near miss'' even cl0ser t0 the
island last August. in a diversi0n that was apparentl? appr0v% Dy the
ship's 0wners. C0sta Crui%s.


汉王的是一个带界面的产品,但是很傻X, 不好用
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值