←back to thread

246 points D4Ha | 2 comments | | HN request time: 0.399s | source
Show context
bb88 ◴[] No.42167696[source]
This is pretty awesome. I would like to see the same thing for the decoder.
replies(3): >>42168723 #>>42170166 #>>42171026 #
1. 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 #
2. 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.