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.

Show HN: Photo Realistic QR-Codes

482 pointsby pickledcodsalmost 5 years ago

22 comments

pickledcodsalmost 5 years ago
Hi HN!<p>Inspired by a recent HN article on QR codes [0], I decided to finally publish [1] and open-source [2] a service I created 7 years ago. I got pulled away from it by projects with higher priority and it has been catching dust and been bitrot eroding since. Now reconstructed the basics and hosted on an AWS instance I would like to share so it might inspire.<p>Creating a photo realistic QR requires two steps. The first is to create a 93x93 dithered monochrome image. The dithering is calculated to preserve the mandatory QR framework&#x2F;timing bits and keep the data&#x2F;crc bits conforming. Trying to maximize the crc bits to match the original image.<p>The second step is adding colour information as a 186x186 dithered layer. The colour palette is created using Spacial Colour Quantification which uses the 93x93 QR image as constraints on the available colour range.<p>SCQ also stabilises palettes used for animations (a service not made available through the site yet).<p><pre><code> [0] https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24119124 [1] https:&#x2F;&#x2F;www.qrpicture.com [2] https:&#x2F;&#x2F;github.com&#x2F;xyzzy&#x2F;qrpicture</code></pre>
评论 #24158907 未加载
评论 #24158661 未加载
评论 #24165589 未加载
AriaMinaeialmost 5 years ago
Slightly OT, but when migrating data between iPhones, the old iPhone displays an animated point cloud that appears to function like a QR code. You scan it with the new phone, and your data starts to migrate locally through Bluetooth.<p>Other than aesthetics, what are the advantages of the point cloud? Higher bandwidth?<p>Also, if you were to transfer 100s of megabytes of data from device A to B, using A&#x27;s display and B&#x27;s camera, what tech would you look into?
评论 #24161615 未加载
评论 #24160454 未加载
评论 #24159126 未加载
评论 #24159286 未加载
评论 #24159944 未加载
评论 #24158818 未加载
评论 #24158892 未加载
ravenstinealmost 5 years ago
Somehow, I think these kinds of &quot;clever&quot; QR codes would be less used. Most people aren&#x27;t going to even notice that they are legit QR codes. QR codes are already underutilized enough, at least in western countries. Cool idea, though!
评论 #24162677 未加载
评论 #24163750 未加载
pickledcodsalmost 5 years ago
Please be patient, I&#x27;m adding extra workers to the instance. Old instance died because it exceeded limits.
评论 #24160567 未加载
评论 #24161128 未加载
评论 #24160912 未加载
crazygringoalmost 5 years ago
That&#x27;s really clever.<p>Using the 4 example images at the top, the first (color) and last (B&amp;W) work flawlessly on my iPhone.<p>But the two animated ones in the middle will work for a second, and then the phone loses it. Animated seems like &quot;too much&quot; for a phone to lock on to -- perhaps just stick to static? That&#x27;s cool enough.
评论 #24161635 未加载
dexenalmost 5 years ago
Funny how <i>QR codes scanning pictures of people</i> has more content, and is more engaging, than the &quot;Pictures of People Scanning QR-codes&quot; [1].<p>In all seriousness, impressive work - and very pragmatic delivery, queue system and all.<p>----<p>[1] <a href="https:&#x2F;&#x2F;picturesofpeoplescanningqrcodes.tumblr.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;picturesofpeoplescanningqrcodes.tumblr.com&#x2F;</a>
评论 #24158813 未加载
rootusrootusalmost 5 years ago
This is really cool!<p>I do wonder what the practical use is, though, aside from just being pretty cool. In a real world situation I think the recognizability of a QR code as something you can scan with your phone is an important part of the value.
评论 #24161856 未加载
mangatmodialmost 5 years ago
Look like we killed another site from HN frontpage.
评论 #24159148 未加载
antrisalmost 5 years ago
I must be missing something... What does this have to do with photo realism?
评论 #24161875 未加载
评论 #24161834 未加载
serjesteralmost 5 years ago
Neat, although anyone else think his has an uncanny resemblance to LSD blotters? Talk about an interesting branding opportunity!
gus_massaalmost 5 years ago
I only get B&amp;W QR. (In case it is important, I used the first photo (one with three vertical yellow bananas) <a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=banana&amp;rlz=1C1CHBF_esAR839AR839&amp;tbm=isch&amp;source=iu&amp;ictx=1&amp;fir=LZxQx4PwvNVDfM%252C5ymPQx-S2visAM%252C%252Fg%252F120lq251&amp;vet=1&amp;usg=AI4_-kS_Ps27TvfuXUSvBgTIyh101nchpQ&amp;sa=X&amp;ved=2ahUKEwiZzMCg8JrrAhVPD7kGHYmaCQgQ_B16BAgWEA8#imgrc=LZxQx4PwvNVDfM" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=banana&amp;rlz=1C1CHBF_esAR839AR...</a> )<p>&gt; <i>If QR does not scan, then Re-Generate with more (+1) safer settings</i><p>What does this do? Can you give a technical explanation?<p>I don&#x27;t like when the outline is so small that it doesn&#x27;t cover the horizontal o vertical part of the grid. (This is a personal opinion anyway.)<p>Note: Remove the two spaces before the links in your comment, so they become clickable.
评论 #24158451 未加载
zellyalmost 5 years ago
Related idea:<p><a href="https:&#x2F;&#x2F;www.aestheticodes.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.aestheticodes.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=kW39Mt5kscQ" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=kW39Mt5kscQ</a><p>But this is probably better because it uses natively supported QR codes.
评论 #24161874 未加载
chronomexalmost 5 years ago
Related work elsewhere (2012): <a href="https:&#x2F;&#x2F;research.swtch.com&#x2F;qart" rel="nofollow">https:&#x2F;&#x2F;research.swtch.com&#x2F;qart</a>
wiradikusumaalmost 5 years ago
The default Camera App in Google Pixel can auto-recognize QR codes, but unfortunately it doesnt work with these. Meanwhile, a dedicated QR scanner (such as built-in in iPhne) works.
评论 #24160867 未加载
StavrosKalmost 5 years ago
I&#x27;ve long wondered whether you can make a photo that gets recognized as a QR code by computers. This is very cool! Is there any way you can smooth out the calibration squares?
评论 #24160013 未加载
评论 #24162049 未加载
irjustinalmost 5 years ago
Wow this is freaking cool! All worked for me in the iphone x
greesilalmost 5 years ago
Is there an android app for qr code reading that doesn&#x27;t want all my information???
评论 #24163685 未加载
评论 #24163683 未加载
rendallalmost 5 years ago
Sadly, on my Samsung Galaxy S9, absolutely none of them register
ChrisMarshallNYalmost 5 years ago
That&#x27;s wild! Thanks!
ykevinatoralmost 5 years ago
That&#x27;s really cool
评论 #24158895 未加载
iFirealmost 5 years ago
I looked at this work and since it&#x27;s AGPL licensed I went away.<p><a href="https:&#x2F;&#x2F;www.bitcat.cc&#x2F;webapp&#x2F;awesome-qr" rel="nofollow">https:&#x2F;&#x2F;www.bitcat.cc&#x2F;webapp&#x2F;awesome-qr</a> is a great alternative.
alsdkfjkqjweralmost 5 years ago
QR should look MORE like QR, and always include an URL next to it.<p>If you display a QR Code with some url, and fail to show a shortened url next to it for people to type instead of scanning, you either fail basic common sense tests, or are intentionally being an asshat.
评论 #24161094 未加载
评论 #24165520 未加载