I am writing something that needs to verify the practical readability of qr codes which has been painted over.

First thing that comes to mind is to apply Gaussian blur on the image and check if it is readable. Then I could get a “readability score” by doing binary search between blur strengths range [0, n].

I also may do the same with noise, not sure if I should.

Would appreciate if somebody with more knowledge of QR codes help me

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    18 days ago

    Great! Knock yourself out!

    RGB is not feasible because the aim of the app is to be a monochrome first QR art creator.

    Ah, right. Not shades of black either then.