com.google.zxing.NotFoundException exception comes when core java program executed?

前端 未结 9 1609
情书的邮戳
情书的邮戳 2020-12-16 16:56

I have a jpeg file which has 2D bar code. Image resolution is 1593X1212. I am using xing library to decode this barcode from image. I got following code on net.



        
9条回答
  •  不知归路
    2020-12-16 17:30

    This solution works for me. I hope this help you. I replace reader.decode(...) with reader.decodeWithState(...)

            MultiFormatReader reader = new MultiFormatReader();// use this otherwise
    
            Result result = reader.decodeWithState(bitmap);
    

提交回复
热议问题