Please log in.
Before you can vote, you need to register. Please log in or create an account.
Computer: Protocol
Human-readable 2d Barcode   (+6)  [vote for, against]
QR-code-like symbol, readable by both humans and machines

QR codes are great but if you have a bunch of them, it can be a pain to remember what they say. Admittedly it's not that much hassle to scan them to find out, but it's a lot less convenient than, for instance, conventional barcodes which have the digits printed underneath. I also have trust issues, and end up scanning repeatedly with different devices, because without personally checking it, how can I believe that's what it really says? But that's by the by.

And there's another thing. Those numbers under a conventional barcode, who's to say that they're correct? In fact you could double your data density by storing different information in the barcode to the string underneath. Essentially, I have great difficulty accepting unintelligible markings on paper that are meaningful to computers.

You might ask, in this day and age, do we even need barcodes? Optical character recognition (OCR) is so good that we should just as easily be able to "scan" a block of printed text in the way that we scan a barcode. The answer is in redundancy and error-checking. OCR makes mistakes, and it may not even be clear that a mistake has been made. QR codes contain enough redundancy that they will still scan correctly even with a corner torn off. In the most extreme cases they will fail to scan, which is more desirable than scanning in the wrong data.

The error-correction of a QR code is so great that some people stick images and logos over the top of them, knowing that they will still scan, making a symbol that can be understood by both human and machine. But again, both readers are looking at different information, that happens to be smooshed together.

At this point you should be able to guess what my proposal is. A human-readable barcode made up of written text, surrounded by fiducials, timing information, and error checking. The information would be immediately obvious to both a human and a machine, with the auxiliary info letting you check its integrity and recover lost characters.

In detail, the content would be escaped as some variant of quoted-printable, so that it can be represented as printable ascii characters. The font would be OCR-friendly, such as the type used on cheques, to maximise machine readability. The fiducials or corner-markers would be big and obvious in three corners, much like the double-bordered squares in a QR code. The timing information is simply a dotted line between the fiducials to set the grid-size. The text would be printed inside the grid in a monospaced font, aligned to the grid, and around the bottom and right-hand edges the last row/column would contain a series of human-readable numbers.

These numbers would be a checksum for each row/column of the grid, much like a Hamming code. This provides enough info to locate a mis-read character, and potentially recover its value, but doesn't come close to the error-checking of a QR code. The reason for this choice is simple: if one were so inclined, the checksum for each row/column could be calculated with a pencil and paper. So the redundancy is human-checkable, too.
-- mitxela, Jul 04 2019

Magnetic ink character recognition https://en.wikipedi...aracter_recognition
[Rcomian, Jul 11 2019]

(returns from wikipedia) Thank you for the read on Hamming codes.
-- normzone, Jul 04 2019


When we invent actual computers, as opposed to today's fast adding machines, "machine readable" will be as obscure a phrase as "punchcard".
-- MaxwellBuchanan, Jul 04 2019


It uses the Hann window, with a Hamm on the sill, along with a slice of pi.

And goodness that wikipedia page makes the Hamming codes look a lot more complicated than I thought they were - it's just checksums that overlap.

[MB] I admire your optimism for the forthcoming invention of actual computers. Your use of the word "we" implies personal involvement in this endeavour - how's progress?
-- mitxela, Jul 05 2019


So far so good.
-- MaxwellBuchanan, Jul 05 2019


The real solution is to just teach yourself to interpret QR codes, of course.
-- notexactly, Jul 11 2019


The hard parts will probably be learning to mentally segment the data blocks, which come in multiple shapes, and interpreting the format indications and then interpreting the data according to the indicated format.

I plan to learn to read some 1D barcode symbologies first.
-- notexactly, Jul 11 2019


With small enough print, you might be able to arrange a large enough block of text into a QR-code block, like an old-format multi-column newspaper but with lots of gaps. The computer, with just the right amount of gaussian blur could be encouraged to see only the block structure, which might conform to a QR layout, while the human could figuratively read between the lines. (They'd read the actual lines, not between them, but idiom.)
-- zen_tom, Jul 11 2019


This is a great idea and has a kind of history already with old style cheques which had serial numbers that could be both machine and human read.

Check wikipedia for Magnetic ink character recognition.
-- Rcomian, Jul 11 2019



random, halfbakery