JuliaImages / QRCoders.jl

Creating QR Codes within Julia
https://juliaimages.org/QRCoders.jl/
MIT License
68 stars 11 forks source link

Use QR code to simulate an images, either by free bits or correction. #38

Closed RexWzh closed 1 year ago

RexWzh commented 1 year ago

Plot image inside QR code

  1. Using error correction ✓
  2. Using free bits ✓
  3. Using free bits and error correction ✓

Notes about the above methods:

  1. Method 1 requires the QR code to have as many EC codewords as possible, in other words, to use higher ErrCorrLevel.
  2. Method 2 requires the QR code to have free bits as many as possible, equivalently, to use lower ErrCorrLevel.
  3. In method 3, ErrCorrLevel is a tradeoff between codewords and free bits.
  4. In general, larger Version makes more room for creation.
  5. Mask is used to make the QR code more detectable. In our case, we can enumerate over the masks to find the best simulation of the image.

Current progress


Hope this can be done before the conference :grin:

RexWzh commented 1 year ago

When a QRCode can plot images, it can plot anything in fact...

An idea by Saar Ibuki. ec5a68ee508d52c2db1ad1a69a10602c98f40fb5