Live data from Hacker News

Project Naptha: a browser extension that enables text selection on any image

projectnaptha.com

121–130 of 141 posts

Re: Project Naptha: a browser extension that enables text selection on any image

#121
post #105

Earlier quoted context omitted.

If this is done all in software (IE, it isn't analyzing a slightly different image), why wouldn't the OCR just do this itself?

Somebody's got to decide which way to go with the diffs

majority out of an odd number of runs?

Re: Project Naptha: a browser extension that enables text selection on any image

#122

Earlier quoted context omitted.

Apparently not hilarious.

Tough crowd.

In the immortal words of reddit: Woosh!

Sarcasm is hard to read on the internet. I'm usually pretty good at it, but this one flew right past me.

Re: Project Naptha: a browser extension that enables text selection on any image

#123

I wonder how deep this project is in violation of the GPLv3. For starter it's based on gnu ocrad [1] but fails to state a license and to publish any source code. [1]: https://www.gnu.org/software/ocrad/

Looking through the code, you'll see he cites everything down to blog posts which he used. As he mentioned, it's based on the already published Ocrad.js too.

Re: Project Naptha: a browser extension that enables text selection on any image

#124
post #86

Earlier quoted context omitted.

It was suggested to me by a friend that to get good OCR results, run it through the scanner/OCR twice, then diff the results. Usually one or the other will get it right, and if you run the two results through a difference editor like 'meld', it's quick to fix.

That may work for some cases, and especially with horrible OCR engines and low quality scanners, but frankly when I did my research into this, the results varied extremely little from run to run, and you could usually easily identify specific artefacts in the source that tripped the engine up (rather than problems with the quality of the scan). E.g. letters that were damaged, or had run together, creases in the paper…

What about running it through two+ different OCR engines?

Re: Project Naptha: a browser extension that enables text selection on any image

#125
post #58

Extension is awesome and while the code is messy, it has enough little jokes to keep you amused. For those looking to access the backend OCR service, it seems to be down right now, but will hopefully come back up soon. Here were the API references I could find for the remote OCR: - GET " rel="nofollow">https://sky-lighter.appspot.com/api/read/ - GET " rel="nofollow">https://sky-lighter.appspot.com/api/lookup?url= - P…

Yeah, I made the mistake of setting the App Engine budget to $1.00. Turns out that's probably not enough for a sustained run as HN's #2. Yeah, the code is super messy, but I'd prefer if you didn't play around too much with the remote OCR service, specifically, the translation parts because Google Translate is pretty expensive per-use.

You have no donate link... if you're gonna be on big sites like HN, you might as well have a donation link so that hopefully you break even on App Engine.

Re: Project Naptha: a browser extension that enables text selection on any image

#126
post #62

Every time I click "Allow" on "Access data on all sites" for an extension I creep closer to my security hole paranoia threshold. If it was all in JS, who cares? But this sends ajax to remote servers of course. Am I alone?

That is the wording that Google Chrome chose for "allow this extension to access the DOM on any page". It sounds bad but these are the permissions an extension needs to be able to access images and text on any page.

Yeah, or any password.

Re: Project Naptha: a browser extension that enables text selection on any image

#127
This is really neat. I was playing with it on pictures of street signs and buildings and realized that if I select some text and then do ctrl+a it tried to select everything it thought was text...Then I used right click > translate > reprint to see what it thought each thing was.

Here is the picture: http://thesuperslice.com/wp-content/uploads/2012/04/downtown...

And the text outcome - found it most interesting what symbols it thought it recognized:

lam

on-0'0

s.

Ic 0on

§-i-

I-*-

-unm

-$3.»;

o

G %T1

00-O

. o C-‘7' H ' .-.”-." «'~3;

.35

$16 O-O

‘D Q-=¢1

‘-M

km“

‘MIMI

DOW:

TLDR

D001”

'."'IIu

ff"

)0‘

\\

,¢-.5 ,:~L.

r/J

Re: Project Naptha: a browser extension that enables text selection on any image

#128
I had high hopes for this, as I sometimes need to manually transcribe serial numbers from customers' screenshots.

However, it seems to confuse letter O and number 0. Since serial numbers are not English words, I'm not sure how you would solve this unless you had a lookup for commonly used web fonts.

Re: Project Naptha: a browser extension that enables text selection on any image

#129
Awesome. I was actually at HackMIT. It is great to see you actually continue working on this. As a matter of fact, I told my friends who were working on similar idea for their senior project your project name last Fall. I emailed you for the Microsoft reference papers :) Not sure if I should copy and paste that.

Anyway, good luck!

Re: Project Naptha: a browser extension that enables text selection on any image

#130
This is amazing, and it has truly revolutionary implications for learners of scripts like Chinese, which are still truly indecipherable to learners when embedded in images. I was really happy to see that this extension supports both simplified and traditional Chinese. I tried it out, and while it shows promise there, it definitely still needs a lot of work.

I posted a review on my blog here: http://www.sinosplice.com/life/archives/2014/04/24/can-proje...

OP, I'd be happy to work with you on improving the recognition of Chinese text. Just get in touch with me through my blog (linked to above).

Post reply on HN