Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
antimatter15
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
91.
▲
by
antimatter15
12y ago
I don't think Atom is built on Ace. They had their own system which was powered by React before switching to hand crafted DOM manipulation. Also, Atom's written in Coffeescript and Ace is ordinary JS.
92.
▲
by
antimatter15
12y ago
That's actually the approach Mozilla's Bespin/Skywriter project took. It was shuttered when Cloud9/Ace (which render to DOM) supplanted most of its goals. I would be surprised if the performance delta of switching to can
93.
▲
by
antimatter15
12y ago
Here's Alex Karpenko's 2011 paper on the technology[1] which was the basis for Luma[2] (by Midnox YC W11) which was then acquired by Instagram. There's some additional interesting information in the paper's corresponding
94.
▲
by
antimatter15
12y ago
I'm sure the amount of IR light involved is far less than the exposure you get from walking outside on a nice sunny day.
95.
▲
by
antimatter15
12y ago
It basically runs SWT on the image, and creates a 3d L a b histogram of the colors the SWT marked as text. Then it does a morphological dilation of 10 pixels and subtracts the original mask to get the colors of the pixels that represent the
96.
▲
by
antimatter15
12y ago
I wrote a little C program that uses TessBaseAPI to extract letter locations which gets triggered with ImageMagick's convert by a NodeJS script. The app engine frontend which acts as a caching reverse proxy.
97.
▲
by
antimatter15
12y ago
https://github.com/antimatter15/ocrad.js
98.
▲
by
antimatter15
12y ago
Checking the "Disable Lookup" item on the settings menu prevents it making ajax calls to any server and does all processing locally. Of course there's a resulting drop in speed and OCR accuracy. The lookup requests are all HT
99.
▲
by
antimatter15
12y ago
Fixing that! I also have to write the entire second half of the chronology section, but at least it looks less like I pulled a "Monty Python animator".
100.
▲
by
antimatter15
12y ago
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 wi
101.
▲
by
antimatter15
12y ago
It waits until you start selecting the image text, but the text detection starts when your cursor moves toward an image. It uses WebWorkers extensively, so on a multicore system, the performance shouldn't be hit. I haven't noticed
102.
▲
by
antimatter15
12y ago
The OCR code is an Emscripten port of the GPL-licensed Ocrad program. I published it on Github a few months ago, http://antimatter15.github.io/ocrad.js/demo.html But in my experience, the recognition quality isn't
103.
▲
by
antimatter15
12y ago
I actually modeled my implementation after libccv's implementation. Part of what libccv seems to do is to run it multiple times at different scales, which isn't something that's very computationally feasable for a pure javasc
104.
▲
by
antimatter15
12y ago
One of the rules for the heuristic for what images to ignore is that it needs to have over 19,000 square px, and that first image was a bit under that.
105.
▲
by
antimatter15
12y ago
Randall Munroe's handwriting is a bit difficult to OCR because a lot of the letters are smushed together close enough that the it's not possible to unambiguously segment the text into distinct letters (which is a necessary first s
106.
▲
by
antimatter15
12y ago
One problem with that is that it processes images lazily. It continually extrapolates cursor moments ~1 second into the future and processes those relevant parts of relevant images. But it should be possible that after an image is processed
107.
▲
by
antimatter15
12y ago
By default it uses Ocrad.js, a pure javascript OCR engine (ported via emscripten, see http://antimatter15.github.io/ocrad.js/demo.html ). But if you right click on the selection and change the language to "Internet
108.
▲
by
antimatter15
12y ago
Yeah, I just haven't gotten around packaging the whole thing as a Firefox Addon. It's actually technically possible to run the whole thing on a normal unprivileged webpage (in fact, that's my development environment).
109.
▲
Project Naptha: a browser extension that enables text selection on any image
(projectnaptha.com)
1055 points
by
antimatter15
12y ago
|
134 comments
110.
▲
by
antimatter15
13y ago
The article isn't really referring to the Oculus Rift in particular, so much as the gender-linked nature of depth perception. That's an underlying technological issue, and not something you can fix by dropping a few grams and givi
111.
▲
by
antimatter15
13y ago
In high school, I was pretty fond of plugging 11^n to get rows of Pascal's triangle. It breaks down at row 5, but inserting 0's in the middle extends it (e.g. 101^n, 1001^n, 10001^n). 11^0 1 11^1 1 1
112.
▲
by
antimatter15
13y 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.
113.
▲
Ocrad.js: Pure Javascript OCR with Emscripten
(antimatter15.github.io)
3 points
by
antimatter15
13y ago
|
0 comments
114.
▲
by
antimatter15
13y ago
Oops. That's actually what I ran but I typed the wrong command I to the text box.
115.
▲
by
antimatter15
13y ago
The top comment on Reddit r/netsec's corresponding coverage has mirrors on Mega.co.nz for the files [1] I couldn't find my own data in the set, and actually it seems like lots of entire area codes are missing. Assuming `cat s
116.
▲
by
antimatter15
13y ago
On the subject of MIT and MOOCs, it's pretty interesting that he's taking solid-state chemistry (3.091), because this semester MIT is experimenting with substituting problem sets and exams with proctored mini-assessments done thro
117.
▲
X-No-Wiretap
(antimatter15.com)
30 points
by
antimatter15
13y ago
|
5 comments
118.
▲
by
antimatter15
13y ago
I built this extension a while ago for precisely that reason. https://chrome.google.com/webstore/detail/hide-elements/omjo...
119.
▲
by
antimatter15
13y ago
Long before Chrome even existed, anyone with a flash drive could have used any of these apps ( http://www.nirsoft.net/password_recovery_tools.html ) to trivially recover plaintext passwords. Plugging in a flash drive (or mere
120.
▲
by
antimatter15
13y ago
During the Q&A session of the press event, I think he did mention that they used Fetal bovine serum, and that it worked better than the alternatives.
More ›