Live data from Hacker News

JAB Code – A high-capacity 2D color bar code

github.com

101–110 of 183 posts

Re: JAB Code – A high-capacity 2D color bar code

#101
post #56

I wonder what throughput it can give when used as an animated sequence of codes? I experimented with animated QRs for data transfer last week and the real maximum I’ve achieved was around 9KB/s. https://divan.github.io/posts/animatedqr Using colored high-capacity encoding should yield much better results, given the decoder is as fast as QR one.

Cool. How does Apple's iPhone-to-Watch pairing animated graphic work? Maybe their technique has higher bandwidth.

Re: JAB Code – A high-capacity 2D color bar code

#102

Is there a "human readable" bar code variation? I want something that's both scannable and typeable. One use case is those placards for artworks at museums and galleries. I want to print something that's both easy to scan and easy to jot down.

Is there a "human readable" bar code variation?

Like a UPC code? Those have the contents printed right underneath.

Re: JAB Code – A high-capacity 2D color bar code

#103
Imagine downloading a manifesto or something from a protest sign in a newspaper or on TV.

Imagine downloading a working application from a barcode (perhaps assuming you have the "reader" app which includes a set of software libraries to do some of the heavy lifting / batteries included) -- gameboy did it. It might be useful in a disaster, or an oppressive regime scenario, but at worst, it would be fun.

3D models? Retro game console with games distributed on paper?

My imagination is limited, but I have a feeling that barcodes are something waiting to meet some newly-possible potential with the advent of handheld scanners and very high capacity barcodes.

We tried VR and PDAs and cellphones and stuff in the late 80s/early 90s, but it wasnt until the 2010s they became something really useful; I wonder if barcodes will find some new life in the future, now that more capable and available hardware exists.

Re: JAB Code – A high-capacity 2D color bar code

#104
post #93

Earlier quoted context omitted.

In Germany and UK they are used for train and bus tickets.

In the U.K. we actually use Aztec codes for train tickets, rather than QR. Not entirely sure why.

Oh, my mistake.

But National Express does them, right?

Re: JAB Code – A high-capacity 2D color bar code

#105
post #56

I wonder what throughput it can give when used as an animated sequence of codes? I experimented with animated QRs for data transfer last week and the real maximum I’ve achieved was around 9KB/s. https://divan.github.io/posts/animatedqr Using colored high-capacity encoding should yield much better results, given the decoder is as fast as QR one.

Cool. How does Apple's iPhone-to-Watch pairing animated graphic work? Maybe their technique has higher bandwidth.

Unlikely. I skimmed through both patents [1][2], and I don't recall any numbers on throughput. But the general principle is super cool – they analyze the change in luminance of the picture, and chrominance can be whatever you wish (so they can replace particle cloud with any custom animation). The idea is that human eye is much more perceptible to changes in color than to changes in luminance, but for image processing software it's quite different - they can decode luminance changes quite reliably :)

So my guess is that Apple's approach is optimized for coolness, rather than transfer speed.

[1] http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=H...

[2] http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=H...

Re: JAB Code – A high-capacity 2D color bar code

#107
post #61

Earlier quoted context omitted.

This is "retarded" all over again. Slavery in humans is bad. Slavery in software applications it not.

At a family dinner I once jokingly described my gluten-free girlfriend as "glutarded," which was our inside joke way to refer to her dietary restrictions. I forgot that my aunt's husband, who has some congenital language issues that leave him with a speech impediment, had grown up being bullied and called 'retard,' until he gasped when he heard my words. I felt horrible, and have since been more conscious with my wor…

You seem to be under the impression that black people imported to America were history's only slaves.

Good luck finding a country with people of any color that hasn't experienced some level of slavery.

Re: JAB Code – A high-capacity 2D color bar code

#108
An eight-colour code does not seem smart for printed codes where most printers use only four inks. A colour code using cyan, magenta, yellow, white and black might be more reliable (although yellow could easily be confused with white). The PDF suggests 256-colour codes are supported, but that would mean luminosity is a factor, and I can't see how that would ever be reliable if the code is intended to be scanned with a camera.

Re: JAB Code – A high-capacity 2D color bar code

#109
post #32

I wonder if the 'Master'/'Slave' terminology is necessary here? Aside from being problematic, does it really describe the setup more than 'Primary'/'Secondary'?

Is it problematic outside of the US? That said, possibly not the most immediately illustrative choice of terms; master/slave usually implies who's in charge, not a spatial relationship.

> master/slave usually implies who's in charge, not a spatial relationship.

Spatial relationship aside, there are plenty of less problematic ways to depict who is in charge.

Re: JAB Code – A high-capacity 2D color bar code

#110
post #53

Earlier quoted context omitted.

I think OP's point was that humans can't recognize those features. Edit: I should have said untrained humans .

I can recognize those features. Sure, you need to look for them, but why would anyone care to? Surely after encountering only a few RGB codes the average person will have no trouble inferring that a jumble of colored blocks against a white background is likely to be encoded data. Same "training process" as needed for QR codes - although in this case the quiet zone is not needed, so you _could_ use these in a delibera…

Yes, you're able to realize that any given RGB mess-of-pixels printed somewhere is "likely to be encoded data", but maybe, you'll think, there might be multiple standards for RGB-encoded data (there are) and so, what standard does this code obey? Is it one your phone can parse?

QR codes are able to be recognized as QR codes, which means you're able to think "I could definitely scan that", rather than thinking "that is some data there, that I could maybe read or maybe not."

It's the same as the difference between saying that data on the wire is "a TCP packet" vs saying it's "HTTP." Yes, either way, you know that you've got some packets—but if you want to parse them, you'd better be able to recognize the format of those packets.

Post reply on HN