4 ms·
QR codes can also encode binary data. With structured append it's even possible to encode larger amounts of data as a series of QR codes. Open source decoders d
by matheusmoreira 7y ago
QR codes can also encode binary data. With structured append it's even possible to encode larger amounts of data as a series of QR codes. Open source decoders don't seem to support these features though. Could've been a great way to transfer small files.
- makapuf 7y agoWhat throughput do you think you could attain with manual scan ?
- netsharc 7y agoNot OP, but I'd imagine a lot, if the camera scans at 30fps, maybe be conservative and show the codes at 10fps.
- kalleboo 7y agoI've seen this show up on Hacker News before - transferring data via an animated series of QR codes https://github.com/divan/txqr https://github.com/divan/txqr
- matheusmoreira 7y agoAwesome project. I see it is based on ZXing. Do you know if it decodes binary data? I see there's support for multiple error correction levels in the qr/qr.go file but I don't see anything related to encoding modes, binary or otherwise. I assume it is defaulting to alphanumeric encoding. I'm asking because I'm not sure if ZXing supports decoding binary data to begin with. I know zbar doesn't: current versions seem to mangle the output by trying to convert it to UTF-8. I haven't tested ZXing yet. Also, is it using structured append mode or simply reading normal QR codes in a series and concatenating the data? Structured append mode QR codes have metadata such as an identifier for the sequence they're part of and as well as their position within it.
- papln 7y agoWhat system can encode data but not binary data?
- matheusmoreira 7y agoIt is possible to encode any kind of data as base 64 and place the result in an alphanumeric QR code. However, it won't be as efficient as the binary encoding. This is important because QR codes have size restrictions. Concrete example: 4096 bit RSA secret keys. They can be encoded as binary QR code but not as an alphanumeric QR code with base 64 data.