private boolean readVersionRegion1 ( QrCode qr ) { // set the coordinate system to the closest pp to reduce position errors gridReader . setSquare ( qr . ppDown , ( float ) qr . threshDown ) ; bits . resize ( 18 ) ; bits . zero ( ) ; for ( int i = 0 ; i < 18 ; i ++ ) { int row = i % 3 ; int col = i / 3 ; read ( i , row - 4 , col ) ; } // System.out.println(" decoder version region 1 = "+Integer.toBinaryString(bits.data[0])); return true ; }
Reads the version bits near the bottom position pattern