DarkCode – 8-color barcode, 140k chars (decoder 50% broken)github.com3 points·by typexaitypexex·hace 6 meses·3 comments
typexaitypexex·hace 6 meses·discussBuilt this as a research project to test if multi-color barcodes can beat QR code capacity. Uses 8 RGB colors (3 bits/pixel vs 1 bit).Encoding works fine. Decoding fails ~50% due to camera color distortion, lighting variance, and compression artifacts.Tech: Kotlin/C++, OpenCV, Reed-Solomon over GF(2^8), LZMA compression.Main question: is this fundamentally broken with consumer cameras, or solvable with better calibration/ML?Apache 2.0 licensed. The Reed-Solomon implementation might be useful even if the barcode concept doesn't pan out.
Encoding works fine. Decoding fails ~50% due to camera color distortion, lighting variance, and compression artifacts.
Tech: Kotlin/C++, OpenCV, Reed-Solomon over GF(2^8), LZMA compression.
Main question: is this fundamentally broken with consumer cameras, or solvable with better calibration/ML?
Apache 2.0 licensed. The Reed-Solomon implementation might be useful even if the barcode concept doesn't pan out.