deanhaiwei

Results 3 comments of deanhaiwei

ZXingView 可更新下

rawResult = mMultiFormatReader.decodeWithState(new BinaryBitmap(new GlobalHistogramBinarizer(source))); if (rawResult == null) { rawResult = mMultiFormatReader.decodeWithState(new BinaryBitmap(new HybridBinarizer(source))); if (rawResult != null) { BGAQRCodeUtil.d("GlobalHistogramBinarizer 没识别到,HybridBinarizer 能识别到"); } } 改成 rawResult = mMultiFormatReader.decodeWithState(new BinaryBitmap(new...

识别的那段代码有问题!作者有空改下吧! private Result getRawResult(Binarizer binarizer){ Result rawResult; try { rawResult = mMultiFormatReader.decodeWithState(new BinaryBitmap(binarizer)); }catch (Exception e){ rawResult = null; } return rawResult; } rawResult = getRawResult(new GlobalHistogramBinarizer(source)); if (rawResult ==...