this post was submitted on 20 May 2024
220 points (94.7% liked)

Technology

34989 readers
67 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 6 months ago (1 children)

I was curious, so I looked it up and it seems that around 3KB is the max for a single 177x177 code (though I imagine this is a "soft" limit?). With 600DPI being common for laser printers, a DPI-limited 3KB would be well under 1cm x 1cm. My hunch is that this wouldn't be super reliable (DPI limit not necessarily the resolution of the printer?), but I'd be curious to see what the usable QR density actually is. But yeah...a few QR codes should do the trick!

[–] [email protected] 2 points 6 months ago (2 children)

also QR codes have EXTREME data redundancy, you can cover like half of a QR code and it'll still work.

In our scenario we don't need much redundancy, since the paper will be in controlled conditions and shouldn't degrade, and we'll make damn sure to scan the entire thing without crap obscuring it.

We also don't need all the tracking features, all we need is a marking in one corner so we know what way to put it into the scanner.

All this taken together should result in a data density that is actually realistically useful with just one side of a single A4 sheet.

Imagine storing a digital photo on a piece of paper, and needing to scan it to reproduce the photo.. someone needs to do this!

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)
  • Take picture with digital camera.
  • Store as jpg
  • Convert jpeg to base64 string
  • Compress the string in a .zip split into 2.5KB chunks
  • Encode the .zips as a base64 strings
  • Render a QR code for each string.
  • Print out all QR codes on a sheet
  • Store in family photo album.

Most of that could be like 10 lines of python...

[–] [email protected] 1 points 6 months ago

PaperBack exists. It's branded as a joke, but it is functional!