lessthanoptimal / BoofCV

Fast computer vision library for SFM, calibration, fiducials, tracking, image processing, and more.
http://boofcv.org
1.05k stars 259 forks source link

Micro QR Codes don't ignore malformed padding #397

Closed simon-staal closed 12 months ago

simon-staal commented 1 year ago

This is (most likely) just a repeat of lessthanoptimal/PyBoof#23, except with microQR codes instead of full sized ones. It might be worth ignoring the padding bits for the microQR code detector as well? Although there are relatively few open source micro-QR code libraries which can be compared to, this online version is able to handle the mispadded codes correctly, as well as zxing-cpp.

Other than all the bad 4-digit QR codes produced segno, I'm sure you'll be pleased to know that your detector didn't have any issues with payloads in the $[0, 10^6]$ range.

simon-staal commented 1 year ago

1000 Here's an example of the failing codes with the value 1000

lessthanoptimal commented 1 year ago

You're probably right since QR and Micro QR share a bunch of code. Hopefully will have time next week to apply the "fix"

lessthanoptimal commented 12 months ago

Latest SNAPSHOT has the fix. Verified that it can now decode that marker. Thanks!