mitxela.com forum
Welcome. Please log in or register.

Human readable QR
Hapiel Posted: 26 Dec 2024, 12:44 AM
Avatar


Member
Posts: 4
Joined: 30-October 21
Hi all,

I stumbled upon the HR code concept: https://mitxela.com/projects/hr_code

This is something I've been thinking about myself as well, and reading upon mit's thoughts is inspiring.

The post concludes with that there may not be enough "timing" info.

To get the ball rolling for any possible improvements on this concept (before even trying to code a working version and doing some actual tests), one could for example invert some of the character cells. Here I inverted all odd numbered ascii codes. A QR style mask could be applied to make the pattern less chunky, but that would make the pattern less human decodable.

As I was doing this, I realised that this did make it a bit harder to distinguish the url from the checksum when reading it, so I added a subtle line.

(User posted image)


Another question goes to, what would be the most OCR suitable font?
Someone on StackOverflow recommends Inconsolata
https://stackoverflow.com/questions/316068/what-is-the-ideal-font-for-ocr
And there is also OCR-A and OCR-B
https://en.wikipedia.org/wiki/OCR-A
https://en.wikipedia.org/wiki/OCR-B

But that made me wonder, considering the similar looking characters below (in Inconsolata), maybe the most ideal encoding is not ascii, rather we should perhaps first consider if the modulus 10 of the similar looking ascii is actually different. One could even go as far checking if odd or even are different on 2 similar looking characters.

(User posted image)


With all these checksum obscuring layers, I do wonder, how important is it that a user of such code can manually check if the checksum is correct? Probably hardly at all. In this case, why not also bump the checksum from ascii sum modulus 10 to modulus 16, to make false positives less likely. Hexadecimal should be easy enough to decipher by OCR, right?

So far my ramblings. Maybe one day someone (including me) will do something with these thoughts, just like Mitxela's thoughts led me to these.

Happy holidays




-------------
[top]
Hapiel Posted: 26 Dec 2024, 01:01 AM
Avatar


Member
Posts: 4
Joined: 30-October 21
Did a tiny bit more googling, found 2 more projects:

http://valentinheun.com/portfolio/hrqr/
Fun idea, even includes a reader (which I wasn't able to test), but difficult for humans to read.

https://github.com/hantuzun/hr-code
Proof of concept, nothing much interesting but it did spark a neat amount of comments on news.ycombinator: https://news.ycombinator.com/item?id=21418882

Both of them named it HR... haha

-------------
[top]
Hapiel Posted: 26 Dec 2024, 01:38 AM
Avatar


Member
Posts: 4
Joined: 30-October 21

(User posted image)


Ok now I'll stop dumping my brainfarts in this thread.

-------------
[top]

Sign in to post a reply.