TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pure JS OCR via Emscripten

95 pointsby DrinkWaterover 11 years ago

9 comments

antimatter15over 11 years ago
Hey, I'm the author here. My web host is having some problems right now, and I'd always intended to post a link to the demo instead, so I've put up a Cloudflare redirect straight to the demo.
binarymaxover 11 years ago
Seems to be a link to a blog post which went down, and cloudflare didnt have a working version...so here is the link to the GH project:<p><a href="http://antimatter15.github.io/ocrad.js/demo.html" rel="nofollow">http:&#x2F;&#x2F;antimatter15.github.io&#x2F;ocrad.js&#x2F;demo.html</a>
评论 #6999190 未加载
SunboXover 11 years ago
If we are on optical recognition, did someone try compiling ZBar [1] to JavaScript? I did it but failed to get it reading canvas pixels. :&#x2F;<p>[1] <a href="http://zbar.sourceforge.net/" rel="nofollow">http:&#x2F;&#x2F;zbar.sourceforge.net&#x2F;</a>
评论 #6999658 未加载
jherikoover 11 years ago
I&#x27;m always curious... why not port the original rather than use emscripten? Naively you should get better performance and maintainability... is it just a time saving thing?
评论 #7001717 未加载
评论 #7001175 未加载
NatWover 11 years ago
Guess you could use it as part of a captcha-defeating toolchain.
评论 #6999741 未加载
imdsmover 11 years ago
Source: <a href="https://github.com/antimatter15/ocrad.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;antimatter15&#x2F;ocrad.js</a>
mrfusionover 11 years ago
Would it be possible to use this in an iOS or android app? Or is there a better way to get OCR in an app.
评论 #6999757 未加载
评论 #7001124 未加载
dansoover 11 years ago
A. Cool<p>B. It is 6:30AM and before I&#x27;ve had my coffee...but am I reading right that he isn&#x27;t using Tesseract? I know he says it that it was a bad idea to even try compiling it, but then spends a large part of the post talking about how great Tesseract is...just wanted to make sure I didn&#x27;t miss a: &quot;Well, finally bit the bullet and successfully got Tesseract compiled&quot;<p>C. If not using Tesseract, then what is the rate of accuracy of what he&#x27;s using (GOCR and Ocrad) compared to Tesseract? I see that GOCR was recently updated to 0.5 (though not uploaded to SourceForge yet, according to the notes <a href="http://jocr.sourceforge.net/" rel="nofollow">http:&#x2F;&#x2F;jocr.sourceforge.net&#x2F;</a>)<p>FWIW, Tesseract is at 3.02 and its latest release notes are dated 10&#x2F;23&#x2F;2012...While doing things in straight JS has a lot of value in web apps...Tesseract, from my experience, is really far ahead of its OSS peers, and further along than a lot of commercial packages. I&#x27;m not sure the conveniences of pure JS OCR outweigh the necessity for accuracy in this domain
评论 #7000645 未加载
评论 #6999407 未加载
yeover 11 years ago
An OCR article without a single image.