Android zxing NotFoundException

后端 未结 3 1441
既然无缘
既然无缘 2021-01-23 01:58

I\'m using zxing to decode QRcode images, but it always returns a NotFoundException. The online decoder at http://zxing.org/w/decode.jspx scans these images perfectly fine, so i

3条回答
  •  情深已故
    2021-01-23 02:03

    I had this problem too. And I solved it. Try add this hint to your code:

    hints.put(DecodeHintType.PURE_BARCODE, Boolean.TRUE);
    

提交回复
热议问题