Control: forwarded -1 https://github.com/mchehab/zbar/issues/34 Control: tags -1 + upstream confirmed Control: retitle -1 zbarimg: fails to decode a page with many QR codes
Hi, I tested the qrpage.png attached to this report with zbarimg 0.23.95, the version in unstable. The CPU time problem is gone, but the result is worse: no code is decoded at all. $ time zbarimg qrpage.png (no output, exit status 4: no barcode found) real 0m0.542s $ zbarimg 001.png QR-Code:001 Cropping the page from its top left corner shows that decoding stops once the image holds too many codes: crop 1000x800 12 codes crop 1500x1000 15 codes crop 2000x1300 60 codes crop 2500x1700 0 codes full 3507x2481 0 codes Splitting the page into 4x3 tiles decodes 87 different codes (codes cut by the tile borders are lost). A synthetic page with 123 identical sharp QR codes is decoded completely in 0.12 s, so the limit seems to depend on the image as well; upstream mentions smoothed images as a known weakness. This is upstream issue #34, which refers to this bug and is still open, so I am marking the bug as forwarded there and retitling it to the current behaviour. Regards, -- Juan Pavon
signature.asc
Description: This is a digitally signed message part

