Test cases / qr

deft qr read

Decode every QR code in an image

1 run on real files, 3 tests on generated files, not shown. 0 failed.

Fixed cases

Generated files, compared with ground truth by tools other than deft.

a real photo of a codePassed

It must print en.wikipedia.org.

deft qr read qr-photo.png

Input

qr-photo.png 231.0 KB · 640x480
qr-photo.png

Output

No output file. The result is what it printed.

What it printed
ok qr.read qr-photo.png  1 found
codes=["MEBKM:URL:http\\://en.wikipedia.org/wiki/Main_Page;;"]