Closed vi closed 3 years ago
Yes, this is because the perspective is not head-on, and my algorithm isn't the best in those cases. I'll see if I can improve it a little bit.
If the library does not typically scan what can be scanned by a smartphone then README should state limitations and recommended use cases.
This should be improved in version v0.3.0
The library, initialized using
bardecoder::default_decoder()
seems to fail to decode rather obvious QR code:zbarimg
command line tool, for example, does successfully decode this case:https://crates.io/crates/zbar-rust also succeeds in decoding the image.