tab => spaces
authorVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Wed, 12 Feb 2014 16:28:55 +0000 (20:28 +0400)
committerVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Wed, 12 Feb 2014 16:28:55 +0000 (20:28 +0400)
modules/objdetect/src/cascadedetect.cpp

index c62dbfb..2289c73 100644 (file)
@@ -89,7 +89,7 @@ void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps
         rweights[cls]++;
     }
 
         rweights[cls]++;
     }
 
-       bool useDefaultWeights = false;
+    bool useDefaultWeights = false;
 
     if ( levelWeights && weights && !weights->empty() && !levelWeights->empty() )
     {
 
     if ( levelWeights && weights && !weights->empty() && !levelWeights->empty() )
     {
@@ -105,8 +105,8 @@ void groupRectangles(std::vector<Rect>& rectList, int groupThreshold, double eps
                 rejectWeights[cls] = (*levelWeights)[i];
         }
     }
                 rejectWeights[cls] = (*levelWeights)[i];
         }
     }
-       else
-               useDefaultWeights = true;
+    else
+        useDefaultWeights = true;
 
     for( i = 0; i < nclasses; i++ )
     {
 
     for( i = 0; i < nclasses; i++ )
     {