←back to thread

247 points D4Ha | 7 comments | | HN request time: 0.799s | source | bottom
1. bb88 ◴[] No.42167696[source]
This is pretty awesome. I would like to see the same thing for the decoder.
replies(3): >>42168723 #>>42170166 #>>42171026 #
2. smitelli ◴[] No.42168723[source]
Same. I always marvel at how my phone can decode a badly lit, blurry, 1/4 out of frame QR code as quickly as it does.
replies(1): >>42179450 #
3. kfl ◴[] No.42170166[source]
Maybe you'll enjoy Piko and blinry's guide on reading QR codes without a computer: https://qr.blinry.org/
replies(1): >>42179413 #
4. phoronixrly ◴[] No.42171026[source]
Yeah, I've been looking for a guide to implementing qr readers from 0. Explicitly not 'oh just plug in this CV library in, feed it the image and it spits out the result' like all the stuff I find in Google on the topic.

I am looking for a guide that walks you through implementing all the algorithms necessary after you have the decoded raw image data.

replies(1): >>42171524 #
5. vrighter ◴[] No.42171524[source]
find a copy of the standard. A version of it is floating online. The latest version just added some clarifications, but is not needed. I built an implementation out of that, though the error correction part, of course, I had to learn somewhere else. But the spec is very readable
6. bb88 ◴[] No.42179413[source]
Yeah interesting, but not really any different than the original content. Maybe a little easier to grok.

I was looking for algorithms to extract out a QR code from an image.

7. bb88 ◴[] No.42179450[source]
My first instinct would be to go look at the discrete cosine transform that JPEG uses. But I don't know how to do the other parts like aligning and using the timing patterns.