@@ -3902,7 +3902,7 @@ struct FinderPatternInfo {
39023902if (angle > maxTriangleDeltaAngle) {
39033903return false ;
39043904 }
3905- return true ;
3905+ return true ;
39063906 }
39073907
39083908bool checkAngle (const FinderPatternInfo& other,const float maxRotateDiff) {
@@ -4019,7 +4019,7 @@ struct FinderPatternInfo {
40194019// The inner corner is the corner closest to the center of the QR code.
40204020int innerCornerId =0 ;
40214021
4022- float minQrAngle =0 .f;
4022+ float minQrAngle =0 .f;
40234023 TypePattern typePattern = NONE;
40244024
40254025 Point2f center;
@@ -4144,7 +4144,7 @@ struct QRCode {
41444144return std::numeric_limits<int >::max ();
41454145
41464146// TODO: add v1, v2 check, add "y" checks
4147- float numModules = (sqrt (normL2Sqr<float >((centerPattern.getQRCorner ().second - rightPattern.getQRCorner ().second )))*0 .5f +
4147+ float numModules = (sqrt (normL2Sqr<float >((centerPattern.getQRCorner ().second - rightPattern.getQRCorner ().second )))*0 .5f +
41484148sqrt (normL2Sqr<float >((centerPattern.getQRCorner ().second - bottomPattern.getQRCorner ().second ))*0 .5f )) / moduleSize;
41494149
41504150const int sizeDelta =abs (cvRound (numModules) - (14 + v1.z < v2.z ? v1.x : v2.x ));
@@ -4195,7 +4195,7 @@ vector<QRCode> analyzeFinderPatterns(const vector<vector<Point2f> > &corners, Ma
41954195 maxModuleSize =max (maxModuleSize, patterns.back ().moduleSize );
41964196 }
41974197 }
4198- const int threshold =cvRound (qrDetectorParameters.minModuleSizeInPyramid *12 .5f ) +
4198+ const int threshold =cvRound (qrDetectorParameters.minModuleSizeInPyramid *12 .5f ) +
41994199 (cvRound (qrDetectorParameters.minModuleSizeInPyramid *12 .5f ) %2 ?0 :1 );
42004200int maxLevelPyramid =0 ;
42014201while (maxModuleSize /2 .f > qrDetectorParameters.minModuleSizeInPyramid ) {