2 ms·
Yeah, I once implemented a very simple AR tag mechanism -- using Binary Golay codes [1] which are super simple to understand. It turns out that you need a mask
by pacaro 6y ago
Yeah, I once implemented a very simple AR tag mechanism -- using Binary Golay codes [1] which are super simple to understand.
It turns out that you need a mask, otherwise you can too easily get a tag that is entirely (or close to) white or black. I was fortunate with a small code space (only 12 bit) that I could get away with a single mask, it never occurred to me that I could have used multiple masks (at the cost of a the bits to encode the choice)
I looks like extra complexity, but it solves a very pragmatic problem
[1] https://en.wikipedia.org/wiki/Binary_Golay_code https://en.wikipedia.org/wiki/Binary_Golay_code