zxing github连接:https://github.com/zxing/zxing 以下为修改方法 Step 1: Add following lines to rotate data before buildLuminanceSource(..) in decode(byte[] data, int width, int height) DecodeHandler.java: byte[] rotatedData =newbyte[data.length];for(int y =0;…