Generating a QR code with only ARM Assembly
github.com
github.com
I hope to see your creation sometime, that sounds awesome
[Example](https://www.reddit.com/r/factorio/comments/gqfi33/you_can_ma...)
Or does the web site use hardcoded settings that are more tweakable in the library?
Huh, interesting -- zxing is in "Maintenance Mode Only": https://github.com/zxing/zxing
I'd be suuuuper interested to know: what's the state of the art in terms of QR decoding, both in terms of decoding speed, amenability to various image distortions, and (which I've always dreamed of) the ability to partially decode a QR code, even if the error correction fails for some parts of it, or even totally? i.e. a very very verbose debugging/decoding mode?
Also depending on your application you could buy a hardware scanner like https://www.zebra.com/us/en/products/scanners/fixed-mount-sc... for cheap secondhand since they are all over retail. The protocol can be as simple as it “types” the barcode over USB HID like a keyboard, or there are more specialized modes.
It goes into great depth on suggested methods to decode. See section 9 "Reference decode algorithm for Data Matrix" in ISO/IEC 16022 second edition 2006-09-15, which you'll need to BUY...
I've uploaded for you to view here: https://mega.nz/file/ctQCxDaQ#Y7-XyMeR2e8nJQ79cJfWKmlfwxPm2Q...
Because, fuck ISO for paywalling knowledge!
https://github.com/lapauwThomas/QR_reader
Would be curious to see how it performs.
- scandit: https://www.scandit.com/developers/
- cognex: https://cmbdn.cognex.com/
- aspose: https://products.aspose.com/barcode/
In open source, I heard of libdmtx[0], but not much happens on it these days. I also saw html5-qrcode[1]
[1]: https://github.com/mebjas/html5-qrcode, which directly depends on a port of zxing to javascript.
Scandit and Cognex have iOS apps, and Aspose has a web recognizer demo.
I tried all three with a 2D QR code (my vax card!) from which I truncated ~2-3 bit-"rows" from the bottom. None of the apps/site detected the code.
This is truly not a thorough test -- the 2D rows may be more information-dense than I think i.e. they are not recoverable using the built-in error correction (basically I'm removing too much information -- the equivalent of a long/deep scratch on a CD).
--
I'm just trying to get an intuitive sense of how much damage a QR code can sustain and ... I guess if there's such a thing as QR code forensics (there must be...??) for decoding partial codes versus not detecting "anything".
Thanks again for the links. Super interesting space
...unless you're working in certain types of embedded development, where rewriting code in Asm to save going to the next larger size of device is a semi-common occurrence.
I'm not really familiar with ARM Asm so I can't easily point out optimisation opportunities like I can with x86, but would like to see a size comparison with a stripped-down C implementation (of similar capability) put through a compiler.